X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=mpt-status.spec;h=bf5a816283429166d013afebe30ea2097b85b0f9;hb=129fdd7efcfc711fa84a44a573660bae1854c4eb;hp=caece5b4de18b06b277ef272b13663200fbb1366;hpb=f205c8df8faec44c9dc26dab9807c9f0ece347ac;p=sven%2Fmpt-status.git diff --git a/mpt-status.spec b/mpt-status.spec index caece5b..bf5a816 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -10,7 +10,7 @@ Source10: mpt-status.init Patch1: mpt-status.header_path.patch Patch2: mpt-status.includes.patch BuildRequires: pciutils-devel -Requires: redhat-lsb, daemonize +Requires: daemonize Requires (preun): /sbin/chkconfig Requires (preun): /sbin/service Requires (post): /sbin/chkconfig @@ -33,7 +33,7 @@ you to monitor the health and status of your RAID setup. %install %{__rm} -rf %{buildroot} %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status -%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-status +%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd %clean %{__rm} -rf %{buildroot} @@ -42,19 +42,19 @@ you to monitor the health and status of your RAID setup. %defattr(-, root, root, 0755) %doc doc/* %{_sbindir}/mpt-status -%{_sysconfdir}/rc.d/init.d/mpt-status +%{_sysconfdir}/rc.d/init.d/mpt-statusd %post -/sbin/chkconfig --add mpt-status +/sbin/chkconfig --add mpt-statusd %preun -/sbin/service mpt-status stop > /dev/null 2>&1 -/sbin/chkconfig --del mpt-status +/sbin/service mpt-statusd stop > /dev/null 2>&1 +/sbin/chkconfig --del mpt-statusd %changelog * Sun Oct 16 2011 Sven Hoexter - 1.2.0-3 - Add mpt-status.init as Source10 and install it into the package. -- Require redhat-lsb, daemonize and chkconfig/service for post/preun. +- Require daemonize and chkconfig/service for post/preun. - post and preun snippets to add/remove mpt-status from the chkconfig service list.