8
0

- fix manpage to not contain ./ macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Unpack?expand=0&rev=18
This commit is contained in:
Juergen Weigert
2011-03-29 11:13:36 +00:00
committed by Git OBS Bridge
parent 134c9db8f0
commit e802ed800d
2 changed files with 9 additions and 2 deletions

View File

@@ -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

View File

@@ -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