]> git.sven.stormbind.net Git - sven/mpt-status.git/blobdiff - mpt-status.spec
Remove dependency on redhat-lsb.
[sven/mpt-status.git] / mpt-status.spec
index 325d9433387c3d2a22a4afeb7857455914b27196..96ef26c2d5127ddba6b4dc1604e59397cf230d32 100644 (file)
@@ -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,13 +42,14 @@ 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-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 <sven@timegate.de> - 1.2.0-3