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