diff --git a/perl-File-Unpack.changes b/perl-File-Unpack.changes index 53c7c26..923cdee 100644 --- a/perl-File-Unpack.changes +++ b/perl-File-Unpack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 29 11:12:45 UTC 2011 - jw@novell.com + +- fix manpage to not contain ./ macros. + ------------------------------------------------------------------- Mon Mar 28 22:16:50 UTC 2011 - jw@novell.com diff --git a/perl-File-Unpack.spec b/perl-File-Unpack.spec index 48dd1d3..96985f7 100644 --- a/perl-File-Unpack.spec +++ b/perl-File-Unpack.spec @@ -98,6 +98,7 @@ Requires: xz sharutils Recommends: unrar Requires: p7zip cabextract upx genisoimage %{perl_requires} +Requires: file_unpack == %version %description @@ -159,8 +160,9 @@ install helper/* $RPM_BUILD_ROOT/usr/share/File-Unpack/helper/ ln -s /usr/bin/file_unpack $RPM_BUILD_ROOT/usr/bin/unpack_file +## CAUTION: a line beginning with . is a macro-expanded by nroff. echo .nf > file_unpack.1 -perl -Iblib/lib ./file_unpack.pl --help >> file_unpack.1 && true +perl -Iblib/lib file_unpack.pl --help >> file_unpack.1 && true install -m0644 -D file_unpack.1 $RPM_BUILD_ROOT/%_mandir/man1/file_unpack.1 ln -s %_mandir/man1/file_unpack.1 $RPM_BUILD_ROOT/%_mandir/man1/unpack_file.1 rm -rf file_unpack.1 @@ -179,7 +181,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %check export RELEASE_TESTING=1 # echo >> MANIFEST.SKIP -# echo >> MANIFEST.SKIP ^%{name}\.files\$ +# echo >> MANIFEST.SKIP ^PERCENT{name}\.files\$ if [ -f Build.PL ]; then ./Build test else