From 3ea7a8ee863cc5040e06a911b97a66e44c4f6f4a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 9 Dec 2014 16:59:12 +0000 Subject: [PATCH] Add %files for compressed manual pages. Uncomment rule to remove .packlist file. Remove unnecessary comment. --- libindexdata-utils-perl.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libindexdata-utils-perl.spec b/libindexdata-utils-perl.spec index 2ad9dbf..0caabc4 100644 --- a/libindexdata-utils-perl.spec +++ b/libindexdata-utils-perl.spec @@ -31,12 +31,9 @@ counter used by both IRSpy and MKHome. %install %{__rm} -rf %{buildroot} %{__make} pure_install DESTDIR=%{buildroot} -#find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' #find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' #find %{buildroot} -type f -name CPU.bs -exec rm -f {} ';' -# Perl's make install seems to create both uncompressed AND compressed -# versions of the manual pages, which confuses /usr/lib/rpm/brp-compress -#find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \; # Install documentation DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/libindexdata-utils-perl @@ -49,7 +46,8 @@ cp -p README $DOCDIR/ %files %defattr(-,root,root) %doc %{_datadir}/doc/libindexdata-utils-perl -#%doc %{_datadir}/man/man3/Masterkey::Admin::*.3pm.gz +%doc %{_datadir}/man/man3/IndexData::Utils.3pm.gz +%doc %{_datadir}/man/man3/IndexData::Utils::PersistentCounter.3pm.gz %{perl_vendorlib} %changelog -- 1.7.10.4