From 1f4c09c5c21d8d0f2d8006d72351742d4ad2eaa8 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 4 Aug 2014 14:50:35 +0200 Subject: [PATCH] Fix fsf address, try to add the manpage, recommended by rpmlint. --- mpt-status.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mpt-status.spec b/mpt-status.spec index 7f9e0e8..95bda5a 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -8,6 +8,7 @@ Source: %{name}-%{version}.tar.gz Source10: mpt-status.init Patch1: mpt-status.header_path.patch Patch2: mpt-status.includes.patch +Patch3: mpt-status.fsf_address.patch BuildRequires: pciutils-devel Requires (preun): /sbin/chkconfig Requires (preun): /sbin/service @@ -24,14 +25,17 @@ you to monitor the health and status of your RAID setup. %setup -q -n %{name}-%{version} %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %{__make} %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 %clean %{__rm} -rf %{buildroot} @@ -50,7 +54,7 @@ you to monitor the health and status of your RAID setup. /sbin/chkconfig --del mpt-statusd %changelog -* Wed Jul 30 2014 Sven Hoexter - 1.2.0-4 +* Wed Aug 04 2014 Sven Hoexter - 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 @@ -58,6 +62,9 @@ you to monitor the health and status of your RAID setup. daemonize by yourself. - Remove URL and shorten Source - original author website is no longer online. +- Add mpt-status.fsf_address.patch to update the FSF address. +- Install the mpt-status manpage. + * Sun Oct 16 2011 Sven Hoexter - 1.2.0-3 - Add mpt-status.init as Source10 and install it into the package. - Require daemonize and chkconfig/service for post/preun. -- 2.39.2