diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec index 98be316..7f882b3 100644 --- a/perl-Exception-Class.spec +++ b/perl-Exception-Class.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Exception-Class # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -61,12 +61,14 @@ module. %prep %setup -q -n %{cpan_name}-%{version} +# MANUAL BEGIN # old Test::More on SLE-11: %if 0%{?suse_version} < 1130 sed -i "s|use Test::More;|use Test::More qw(no_plan);|g; \ s|use Test::More 0.88;|use Test::More qw(no_plan);|g; \ s|done_testing();|\#|g" t/*.t %endif +# MANUAL END %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"