forked from pool/perl-File-Unpack
- 0.50 made testsuite survive on SLE11_SP1, put IO::Handle::tell()
inside eval to survive SLES11_SP1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Unpack?expand=0&rev=38
This commit is contained in:
committed by
Git OBS Bridge
parent
eb8d090ae2
commit
21bff8b8f7
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
Name: perl-File-Unpack
|
||||
Version: 0.49
|
||||
Version: 0.50
|
||||
Release: 0%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
@@ -192,6 +192,7 @@ echo file_unpack.1 >> MANIFEST
|
||||
|
||||
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
|
||||
install -m0755 -D contrib/stringsx.pl $RPM_BUILD_ROOT/%_bindir/stringsx
|
||||
|
||||
# FIXME: use ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
# maybe then we would not need to remove the .packlist files :-)
|
||||
@@ -203,6 +204,11 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
## seperate bin man from the main package
|
||||
mv %{name}.files /tmp/%{name}.files
|
||||
sed -ie '/\/man\?/d' /tmp/%{name}.files
|
||||
sed -ie '/\/bin\//d' /tmp/%{name}.files
|
||||
|
||||
%check
|
||||
export RELEASE_TESTING=1
|
||||
# echo >> MANIFEST.SKIP
|
||||
@@ -216,16 +222,16 @@ fi
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%files -f /tmp/%{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README Changes
|
||||
/usr/share/File-Unpack
|
||||
%dir /usr/share/File-Unpack
|
||||
/usr/share/File-Unpack/*
|
||||
%doc %_mandir/man3/*
|
||||
|
||||
%files -n file_unpack
|
||||
%defattr(-,root,root)
|
||||
/usr/bin/file_unpack
|
||||
/usr/bin/unpack_file
|
||||
/usr/bin/*
|
||||
%doc %_mandir/man1/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user