8
0

- 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:
Juergen Weigert
2012-01-24 19:13:16 +00:00
committed by Git OBS Bridge
parent eb8d090ae2
commit 21bff8b8f7
4 changed files with 20 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e55192cb35d36c6593de51edbf11372ce0f864ba14b43dd8ab9ca48d7bd0dfdf
size 76816

3
File-Unpack-0.50.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8da4a31c248d5d58a558d89d8b3c9ee7ae5d19c1868562d80cfc31928e4a00ee
size 78611

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 24 17:45:32 UTC 2012 - jw@suse.com
- 0.50 made testsuite survive on SLE11_SP1, put IO::Handle::tell()
inside eval to survive SLES11_SP1
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 23 18:15:18 UTC 2012 - jw@suse.com Mon Jan 23 18:15:18 UTC 2012 - jw@suse.com

View File

@@ -19,7 +19,7 @@
Name: perl-File-Unpack Name: perl-File-Unpack
Version: 0.49 Version: 0.50
Release: 0%{?dist} Release: 0%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries/Perl 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 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
install -m0755 -D contrib/stringsx.pl $RPM_BUILD_ROOT/%_bindir/stringsx
# FIXME: use ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 # FIXME: use ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
# maybe then we would not need to remove the .packlist files :-) # 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_process_packlist
%perl_gen_filelist %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 %check
export RELEASE_TESTING=1 export RELEASE_TESTING=1
# echo >> MANIFEST.SKIP # echo >> MANIFEST.SKIP
@@ -216,16 +222,16 @@ fi
%clean %clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f /tmp/%{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README Changes %doc README Changes
/usr/share/File-Unpack %dir /usr/share/File-Unpack
/usr/share/File-Unpack/* /usr/share/File-Unpack/*
%doc %_mandir/man3/*
%files -n file_unpack %files -n file_unpack
%defattr(-,root,root) %defattr(-,root,root)
/usr/bin/file_unpack /usr/bin/*
/usr/bin/unpack_file
%doc %_mandir/man1/* %doc %_mandir/man1/*
%changelog %changelog