Generate missing man page from help (help2man)

This commit is contained in:
Roman Rakus 2010-06-16 17:31:17 +00:00
parent d6f3129f9b
commit 1ccfbfe280

View File

@ -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 <rrakus@redhat.com> - 1.1.7-2
- Generate missing man page from help (help2man)
* Tue May 18 2010 Roman Rakus <rrakus@redhat.com> - 1.1.7-1
- Initial packaging