- add old_test_more patch to build with sle11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-OptList?expand=0&rev=19
This commit is contained in:
parent
d0e3cfcf9e
commit
1356be48bd
28
old_test_more.patch
Normal file
28
old_test_more.patch
Normal file
@ -0,0 +1,28 @@
|
||||
--- Makefile.PL
|
||||
+++ Makefile.PL
|
||||
@@ -12,7 +12,7 @@
|
||||
'ABSTRACT' => 'parse and validate simple name/value option pairs',
|
||||
'AUTHOR' => 'Ricardo Signes <rjbs@cpan.org>',
|
||||
'BUILD_REQUIRES' => {
|
||||
- 'Test::More' => '0.96'
|
||||
+ 'Test::More' => '0.01'
|
||||
},
|
||||
'CONFIGURE_REQUIRES' => {
|
||||
'ExtUtils::MakeMaker' => '6.30'
|
||||
--- t/mkopt.t
|
||||
+++ t/mkopt.t
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
use Data::OptList;
|
||||
use Sub::Install;
|
||||
-use Test::More 0.88;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
|
||||
# let's get a convenient copy to use:
|
||||
@@ -180,4 +180,4 @@
|
||||
],
|
||||
);
|
||||
|
||||
-done_testing;
|
||||
+#done_testing;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 29 17:09:20 CET 2012 - ro@suse.de
|
||||
|
||||
- add old_test_more patch to build with sle11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 19 16:09:00 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-OptList
|
||||
#
|
||||
# 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,18 +15,19 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Data-OptList
|
||||
%define cpan_name Data-OptList
|
||||
Summary: Parse and validate simple name/value option pairs
|
||||
Version: 0.107
|
||||
Release: 4
|
||||
License: Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Version: 0.107
|
||||
Release: 0
|
||||
Url: http://search.cpan.org/dist/Data-OptList
|
||||
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz
|
||||
%if 0%{?suse_version} < 1120
|
||||
Patch0: old_test_more.patch
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
@ -34,13 +35,13 @@ BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(List::Util) >= 0.00
|
||||
# other not perl || perl-base
|
||||
BuildRequires: perl(Sub::Install) >= 0.921
|
||||
BuildRequires: perl(Params::Util) >= 0.14
|
||||
BuildRequires: perl(Sub::Install) >= 0.921
|
||||
#
|
||||
Requires: perl(List::Util) >= 0.00
|
||||
# other not perl || perl-base
|
||||
Requires: perl(Sub::Install) >= 0.921
|
||||
Requires: perl(Params::Util) >= 0.14
|
||||
Requires: perl(Sub::Install) >= 0.921
|
||||
|
||||
%description
|
||||
Hashes are great for storing named data, but if you want more than one
|
||||
@ -79,6 +80,9 @@ Requires: perl(Params::Util) >= 0.14
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} < 1120
|
||||
%patch0
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
|
Loading…
x
Reference in New Issue
Block a user