fix build, fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Validate?expand=0&rev=19
This commit is contained in:
parent
22afca5919
commit
023e4d2139
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 26 21:33:33 UTC 2011 - chris@computersalat.de
|
||||
|
||||
- remove Author from desc
|
||||
- fix deps
|
||||
* fix build for 1120 (perl -p -i -e 's|0.3601|0.280801|' Build.PL)
|
||||
- add bcond_with opt (Test::Taint, Readonly::XS)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 13 08:12:10 UTC 2011 - vcizek@novell.com
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with opt
|
||||
|
||||
Name: perl-Params-Validate
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
@ -29,19 +30,21 @@ AutoReqProv: on
|
||||
Url: http://search.cpan.org/dist/Params-Validate/
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build)
|
||||
#
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Pod::Man) >= 1.14
|
||||
BuildRequires: perl(Test::More) >= 0.34
|
||||
#BuildRequires: perl(Test::Taint) >= 0.02
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
%endif
|
||||
%if %{with opt}
|
||||
BuildRequires: perl(Test::Taint) >= 0.02
|
||||
BuildRequires: perl(Readonly::XS)
|
||||
%endif
|
||||
BuildRequires: perl(Attribute::Handlers) >= 0.79
|
||||
BuildRequires: perl(Scalar::Util) >= 1.10
|
||||
Requires: perl(Attribute::Handlers) >= 0.79
|
||||
Requires: perl(Test::More) >= 0.34
|
||||
Requires: perl(Scalar::Util) >= 1.10
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The Params::Validate module allows you to validate method or function
|
||||
@ -54,12 +57,11 @@ type, that it is an object of a certain class hierarchy, that it
|
||||
possesses certain methods, or applying validation callbacks to
|
||||
arguments.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Rolsky
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} <= 1120
|
||||
%{__perl} -p -i -e 's|0.3601|0.280801|' Build.PL
|
||||
%endif
|
||||
|
||||
%build
|
||||
perl Build.PL installdirs=vendor
|
||||
|
Loading…
x
Reference in New Issue
Block a user