add # MANUAL BEGIN
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=24
This commit is contained in:
parent
ddf1894122
commit
22b90af2a4
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Exception-Class
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -61,12 +61,14 @@ module.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
# MANUAL BEGIN
|
||||||
# old Test::More on SLE-11:
|
# old Test::More on SLE-11:
|
||||||
%if 0%{?suse_version} < 1130
|
%if 0%{?suse_version} < 1130
|
||||||
sed -i "s|use Test::More;|use Test::More qw(no_plan);|g; \
|
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|use Test::More 0.88;|use Test::More qw(no_plan);|g; \
|
||||||
s|done_testing();|\#|g" t/*.t
|
s|done_testing();|\#|g" t/*.t
|
||||||
%endif
|
%endif
|
||||||
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user