forked from pool/perl-File-Unpack
- 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:
committed by
Git OBS Bridge
parent
134c9db8f0
commit
e802ed800d
@@ -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
|
Mon Mar 28 22:16:50 UTC 2011 - jw@novell.com
|
||||||
|
|
||||||
|
@@ -98,6 +98,7 @@ Requires: xz sharutils
|
|||||||
Recommends: unrar
|
Recommends: unrar
|
||||||
Requires: p7zip cabextract upx genisoimage
|
Requires: p7zip cabextract upx genisoimage
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
Requires: file_unpack == %version
|
||||||
|
|
||||||
|
|
||||||
%description
|
%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
|
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
|
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
|
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
|
ln -s %_mandir/man1/file_unpack.1 $RPM_BUILD_ROOT/%_mandir/man1/unpack_file.1
|
||||||
rm -rf file_unpack.1
|
rm -rf file_unpack.1
|
||||||
@@ -179,7 +181,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|||||||
%check
|
%check
|
||||||
export RELEASE_TESTING=1
|
export RELEASE_TESTING=1
|
||||||
# echo >> MANIFEST.SKIP
|
# echo >> MANIFEST.SKIP
|
||||||
# echo >> MANIFEST.SKIP ^%{name}\.files\$
|
# echo >> MANIFEST.SKIP ^PERCENT{name}\.files\$
|
||||||
if [ -f Build.PL ]; then
|
if [ -f Build.PL ]; then
|
||||||
./Build test
|
./Build test
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user