Hello community,
here is the log from the commit of package perl-Class-Load-XS for
openSUSE:Factory checked in at 2012-03-19 09:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-Load-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-Class-Load-XS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-Load-XS", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Class-Load-XS/perl-Class-Load-XS.changes
2012-02-16 16:21:37.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Class-Load-XS.new/perl-Class-Load-XS.changes
2012-03-19 09:52:14.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Mar 6 17:44:41 CET 2012 - [email protected]
+
+- fix build on code11
+
+-------------------------------------------------------------------
New:
----
perl-old_module_build.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Class-Load-XS.spec ++++++
--- /var/tmp/diff_new_pack.B5XVOh/_old 2012-03-19 09:52:17.000000000 +0100
+++ /var/tmp/diff_new_pack.B5XVOh/_new 2012-03-19 09:52:17.000000000 +0100
@@ -25,6 +25,7 @@
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-Load-XS/
Source:
http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
+Patch0: perl-old_module_build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -48,6 +49,13 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%if 0%{?suse_version} <= 1110
+for i in `find lib t -type f` ; do
+ sed -i -e "s@^\s*use\s\s*Module::Build@use lib '%{perl_vendorlib}';\nuse
Module::Build@" $i
+ sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse
Test::More@" $i
+done
+%patch0
+%endif
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
++++++ perl-old_module_build.patch ++++++
--- Build.PL
+++ Build.PL
@@ -2,13 +2,13 @@
use strict;
use warnings;
-use Module::Build 0.3601;
+use Module::Build;
my %module_build_args = (
"build_requires" => {
"Class::Load" => 0,
- "Module::Build" => "0.3601",
+ "Module::Build" => "0.280801",
"Module::Implementation" => "0.04",
"Test::Fatal" => 0,
"Test::More" => "0.88",
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]