]> git.sven.stormbind.net Git - sven/mpt-status.git/blobdiff - mpt-status.spec
Add _mandir to %files section.
[sven/mpt-status.git] / mpt-status.spec
index b9915077c6a2176a570fb120ddd65f9a1652b3b9..8df40e211cc83ceeed45343910cc68c51d406dfe 100644 (file)
@@ -32,7 +32,6 @@ you to monitor the health and status of your RAID setup.
 
 %install
 %{__rm} -rf %{buildroot}
-mkdir -p %{buildroot}%{_mandir}/man8
 %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
 %{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd
 %{__install} -D -m0644 man/mpt-status.8 %{buildroot}%{_mandir}/man8/mpt-status.8
@@ -45,6 +44,7 @@ mkdir -p %{buildroot}%{_mandir}/man8
 %doc doc/*
 %{_sbindir}/mpt-status
 %{_sysconfdir}/rc.d/init.d/mpt-statusd
+%{_mandir}/man8/mpt-status.*
 
 %post
 /sbin/chkconfig --add mpt-statusd
@@ -54,7 +54,7 @@ mkdir -p %{buildroot}%{_mandir}/man8
 /sbin/chkconfig --del mpt-statusd
 
 %changelog
-* Wed Aug 04 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-4
+* Mon Aug 04 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