diff --git a/servicelog.spec b/servicelog.spec index 9a85537..6a99d21 100644 --- a/servicelog.spec +++ b/servicelog.spec @@ -1,6 +1,6 @@ Name: servicelog Version: 1.1.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Servicelog Tools Group: System Environment/Base @@ -12,7 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #Requires(pre): shadow-utils BuildRequires: libservicelog-devel >= 1.1.9-2 -BuildRequires: autoconf libtool librtas-devel +BuildRequires: autoconf libtool librtas-devel help2man # because of librtas-devel in libservicelog ExclusiveArch: ppc ppc64 @@ -35,6 +35,7 @@ autoreconf -fiv %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT +help2man -s 8 -N $RPM_BUILD_ROOT/%{_sbindir}/slog_common_event > $RPM_BUILD_ROOT/%{_mandir}/man8/slog_common_event.8 %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -52,6 +53,9 @@ autoreconf -fiv %{_mandir}/man[18]/*.[18]* %changelog +* Wed Jun 16 2010 Roman Rakus - 1.1.7-2 +- Generate missing man page from help (help2man) + * Tue May 18 2010 Roman Rakus - 1.1.7-1 - Initial packaging