commit perl-Perl-OSType for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Perl-OSType for openSUSE:Factory checked in at 2012-03-09 21:26:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Perl-OSType (Old) and /work/SRC/openSUSE:Factory/.perl-Perl-OSType.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Perl-OSType", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Perl-OSType/perl-Perl-OSType.changes 2012-03-08 19:44:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Perl-OSType.new/perl-Perl-OSType.changes 2012-03-09 21:26:21.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Feb 29 16:12:43 CET 2012 - ro@suse.de + +- add old_test_more patch to be able to build against sle11 + +------------------------------------------------------------------- New: ---- old_test_more.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Perl-OSType.spec ++++++ --- /var/tmp/diff_new_pack.CTRLbB/_old 2012-03-09 21:26:23.000000000 +0100 +++ /var/tmp/diff_new_pack.CTRLbB/_new 2012-03-09 21:26:23.000000000 +0100 @@ -25,6 +25,9 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Perl-OSType/ Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +%if 0%{?suse_version} < 1120 +Patch0: old_test_more.patch +%endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -46,6 +49,10 @@ %prep %setup -q -n %{cpan_name}-%{version} +%if 0%{?suse_version} < 1120 +%patch0 +rm -f t/00-compile.t +%endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor ++++++ old_test_more.patch ++++++ --- Makefile.PL +++ Makefile.PL @@ -14,7 +14,7 @@ 'BUILD_REQUIRES' => { 'File::Find' => '0', 'File::Temp' => '0', - 'Test::More' => '0.88', + 'Test::More' => '0.01', 'constant' => '0' }, 'CONFIGURE_REQUIRES' => { --- t/OSType.t +++ t/OSType.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More 0.88; +use Test::More qw(no_plan); use constant NON_EXISTENT_OS => 'titanix'; #the system they said could not go down... @@ -67,5 +67,5 @@ ok( ! is_os_type(), "$fcn: false if no type provided" ); } -done_testing; +#done_testing; -- 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