diff --git a/perl-Data-Section-Simple.changes b/perl-Data-Section-Simple.changes index 0c7561e..a40a5fc 100644 --- a/perl-Data-Section-Simple.changes +++ b/perl-Data-Section-Simple.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 2 01:42:33 CET 2012 - ro@suse.de + +- fix build on sle11 + ------------------------------------------------------------------- Mon Dec 19 12:31:26 UTC 2011 - coolo@suse.de diff --git a/perl-Data-Section-Simple.spec b/perl-Data-Section-Simple.spec index 5f8849e..69b5241 100644 --- a/perl-Data-Section-Simple.spec +++ b/perl-Data-Section-Simple.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Data-Section-Simple # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Data-Section-Simple Version: 0.03 Release: 0 @@ -48,6 +49,11 @@ section of the file. %prep %setup -q -n %{cpan_name}-%{version} +%if 0%{?suse_version} <= 1110 +for i in `find t -type f` ; do + sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i +done +%endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor