Hello community, here is the log from the commit of package perl-YAML-LibYAML for openSUSE:Factory checked in at 2015-03-27 09:38:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-YAML-LibYAML (Old) and /work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-YAML-LibYAML" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-YAML-LibYAML/perl-YAML-LibYAML.changes 2015-02-16 21:21:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new/perl-YAML-LibYAML.changes 2015-03-27 09:38:17.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Mar 23 16:30:00 UTC 2015 - bj...@cam.ac.uk + +- Added perl-YAML-LibYAML-no-plan.patch, which lets the package build + on SLES 11. + +------------------------------------------------------------------- New: ---- perl-YAML-LibYAML-no-plan.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-YAML-LibYAML.spec ++++++ --- /var/tmp/diff_new_pack.JLWJLU/_old 2015-03-27 09:38:18.000000000 +0100 +++ /var/tmp/diff_new_pack.JLWJLU/_new 2015-03-27 09:38:18.000000000 +0100 @@ -28,6 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +Patch0: %{name}-no-plan.patch %{perl_requires} %description @@ -37,6 +38,11 @@ %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 +# This patch is only necessary for systems without Test::More >= 0.87_01 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%patch0 -p1 +%endif + %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} ++++++ perl-YAML-LibYAML-no-plan.patch ++++++ From: Ben Harris <bj...@cam.ac.uk> Date: Wed, 18 Mar 2015 10:54:16 +0000 Subject: Don't depend on Test::More 0.87_01 done_testing was introduced in Test::More 0.87_01, but SLES 11 shipped with Test::More 0.72. This patch removes the use of done_testing so that the package is buildable on SLES 11. diff -ur YAML-LibYAML-0.59.orig/t/000-require-modules.t YAML-LibYAML-0.59/t/000-require-modules.t --- YAML-LibYAML-0.59.orig/t/000-require-modules.t 2015-01-26 23:04:24.000000000 +0000 +++ YAML-LibYAML-0.59/t/000-require-modules.t 2015-03-17 19:39:15.000000000 +0000 @@ -1,5 +1,5 @@ # This test does a basic `use` check on all the code. -use Test::More; +use Test::More qw(no_plan); use File::Find; @@ -13,5 +13,3 @@ wanted => \&test, no_chdir => 1, }, 'lib'; - -done_testing; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org