commit perl-File-Remove for openSUSE:Factory
Hello community, here is the log from the commit of package perl-File-Remove for openSUSE:Factory checked in at 2012-03-19 09:50:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-File-Remove (Old) and /work/SRC/openSUSE:Factory/.perl-File-Remove.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-File-Remove", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-File-Remove/perl-File-Remove.changes 2011-11-21 12:39:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-File-Remove.new/perl-File-Remove.changes 2012-03-19 09:52:12.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Mar 6 17:49:07 CET 2012 - ro@suse.de + +- fix build on sle11 + +------------------------------------------------------------------- Old: ---- perl-File-Remove-old_File-Spec.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-File-Remove.spec ++++++ --- /var/tmp/diff_new_pack.pYFVGE/_old 2012-03-19 09:52:14.000000000 +0100 +++ /var/tmp/diff_new_pack.pYFVGE/_new 2012-03-19 09:52:14.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-File-Remove # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,15 @@ # - Name: perl-File-Remove Version: 1.51 -Release: 5 -License: GPL-1.0+ or Artistic-1.0 +Release: 0 %define cpan_name File-Remove Summary: Remove files and directories -Url: http://search.cpan.org/dist/File-Remove/ +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/File-Remove/ Source: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-%{version}.tar.gz -Patch1: perl-File-Remove-old_File-Spec.patch BuildRequires: perl(Cwd) >= 3.27.01 BuildRequires: perl(File::Spec) >= 3.27.01 %if 0%{?suse_version} <= 1110 @@ -53,8 +51,10 @@ %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} <= 1110 -%patch1 -p1 -sed -i "s|__vendorperl__|%{perl_vendorlib}|g" lib/File/Remove.pm t/*.t +for i in `find lib t -type f` ; do + sed -i -e "s@^\s*use\s\s*File::Spec@use lib '%{perl_vendorlib}';\nuse File::Spec@" $i + sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i +done %endif %build -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de