1
0
Lars Vogdt 2014-01-17 20:48:40 +00:00 committed by Git OBS Bridge
parent ddf1894122
commit 22b90af2a4

View File

@ -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"