]> git.sven.stormbind.net Git - sven/mpt-status.git/blobdiff - mpt-status.spec
Remove Default-Start LSB init header, recommended by rpmlint.
[sven/mpt-status.git] / mpt-status.spec
index caece5b4de18b06b277ef272b13663200fbb1366..2d20836471681ed9c2393cae1d856eccc11f707a 100644 (file)
@@ -1,7 +1,7 @@
 Summary: Get RAID status out of mpt (and other) HW RAID controllers
 Name: mpt-status
 Version: 1.2.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.drugphish.ch/~ratz/mpt-status/
@@ -10,7 +10,6 @@ Source10: mpt-status.init
 Patch1: mpt-status.header_path.patch
 Patch2: mpt-status.includes.patch
 BuildRequires: pciutils-devel
-Requires: redhat-lsb, daemonize
 Requires (preun): /sbin/chkconfig
 Requires (preun): /sbin/service 
 Requires (post): /sbin/chkconfig
@@ -33,7 +32,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 +41,25 @@ 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
+* Wed Jul 30 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-4
+- Changed chkconfig and LSB header to not activate the init script
+  by default.
+- Removed depedency on daemonize, if you would like to use
+  the init script monitoring facility you have to aquire a
+  daemonize by yourself.
 * Sun Oct 16 2011 Sven Hoexter <sven@timegate.de> - 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.