forked from pool/perl-Data-OptList
- 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:
committed by
Git OBS Bridge
parent
d0e3cfcf9e
commit
1356be48bd
@@ -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"
|
||||
|
Reference in New Issue
Block a user