|
|
ef9520 |
Name: rtctl
|
|
|
ef9520 |
Version: 1.13
|
|
|
ef9520 |
Release: 2%{?dist}
|
|
|
ef9520 |
Summary: Scripts for controlling scheduling priorities of system threads
|
|
|
ef9520 |
Group: Applications/System
|
|
|
ef9520 |
License: GPL
|
|
|
ef9520 |
BuildArch: noarch
|
|
|
ef9520 |
Source0: rtctl-%{version}.tar.bz2
|
|
|
ef9520 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ef9520 |
Obsoletes: set_kthread_prio <= 1.0.1
|
|
|
ef9520 |
Provides: set_kthread_prio
|
|
|
ef9520 |
|
|
|
ef9520 |
Patch001: 0001-adjusted-startup-script-messages.patch
|
|
|
ef9520 |
|
|
|
ef9520 |
%description
|
|
|
ef9520 |
rtctl is a set of scripts used to manipulate the scheduling priorities of
|
|
|
ef9520 |
groups of system threads.
|
|
|
ef9520 |
|
|
|
ef9520 |
%prep
|
|
|
ef9520 |
%setup
|
|
|
ef9520 |
%patch001 -p1
|
|
|
ef9520 |
|
|
|
ef9520 |
%build
|
|
|
ef9520 |
make
|
|
|
ef9520 |
|
|
|
ef9520 |
%install
|
|
|
ef9520 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ef9520 |
make DEST=$RPM_BUILD_ROOT install
|
|
|
ef9520 |
|
|
|
ef9520 |
%clean
|
|
|
ef9520 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ef9520 |
|
|
|
ef9520 |
%files
|
|
|
ef9520 |
%defattr(-,root,root,-)
|
|
|
ef9520 |
%attr(0755, root, root) /usr/sbin/rtctl
|
|
|
ef9520 |
%attr(0755, root, root) /usr/bin/rtctl_wrapper
|
|
|
ef9520 |
%config(noreplace) /etc/rtgroups
|
|
|
ef9520 |
%config(noreplace) /etc/sysconfig/rtctl
|
|
|
ef9520 |
/etc/systemd/system/rtctl.service
|
|
|
ef9520 |
/usr/share/man/man1/rtctl.1.gz
|
|
|
ef9520 |
/usr/share/man/man5/rtgroups.5.gz
|
|
|
ef9520 |
|
|
|
ef9520 |
%post
|
|
|
ef9520 |
systemctl enable rtctl
|
|
|
ef9520 |
|
|
|
ef9520 |
%preun
|
|
|
ef9520 |
if [ "$1" = "0" ] ; then # uninstall
|
|
|
ef9520 |
systemctl disable rtctl
|
|
|
ef9520 |
fi
|
|
|
ef9520 |
|
|
|
ef9520 |
%changelog
|
|
|
ef9520 |
* Mon Dec 29 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.13-2
|
|
|
ef9520 |
- adjusted startup script messages (1162768)
|
|
|
ef9520 |
|
|
|
ef9520 |
* Tue Dec 23 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.13-1
|
|
|
ef9520 |
- make startup logic compatible with systemd (1162768)
|
|
|
ef9520 |
- product name cleanup (1173311)
|
|
|
ef9520 |
|
|
|
ef9520 |
* Fri Sep 12 2014 Luis Claudio R. Goncalves <lgoncalv@redhat.com> - 1.12-4
|
|
|
ef9520 |
- rtctl for RHEL-RT
|
|
|
ef9520 |
|