8
0
Ruediger Oertel
2012-03-02 00:42:54 +00:00
committed by Git OBS Bridge
parent 75b714caa0
commit abb2a85b9c
2 changed files with 12 additions and 1 deletions

View File

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

View File

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