]> 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 95bda5a41ae84a7c2d64703ce3165afcd625f034..8df40e211cc83ceeed45343910cc68c51d406dfe 100644 (file)
@@ -32,10 +32,9 @@ 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
+%{__install} -D -m0644 man/mpt-status.8 %{buildroot}%{_mandir}/man8/mpt-status.8
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -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