forked from pool/perl-Data-Section-Simple
- fix build on sle11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Section-Simple?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
75b714caa0
commit
abb2a85b9c
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user