Accepting request 81902 from devel:languages:perl
- 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) OBS-URL: https://build.opensuse.org/request/show/81902 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Params-Validate?expand=0&rev=21
This commit is contained in:
commit
d643ff03e0
@ -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
|
Mon Jun 13 08:12:10 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
%bcond_with opt
|
||||||
|
|
||||||
Name: perl-Params-Validate
|
Name: perl-Params-Validate
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
@ -29,19 +30,21 @@ AutoReqProv: on
|
|||||||
Url: http://search.cpan.org/dist/Params-Validate/
|
Url: http://search.cpan.org/dist/Params-Validate/
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
#
|
%if 0%{?suse_version} >= 1120
|
||||||
BuildRequires: perl(ExtUtils::CBuilder)
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Pod::Man) >= 1.14
|
%endif
|
||||||
BuildRequires: perl(Test::More) >= 0.34
|
%if %{with opt}
|
||||||
#BuildRequires: perl(Test::Taint) >= 0.02
|
BuildRequires: perl(Test::Taint) >= 0.02
|
||||||
BuildRequires: perl(Readonly::XS)
|
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(Attribute::Handlers) >= 0.79
|
||||||
Requires: perl(Test::More) >= 0.34
|
|
||||||
Requires: perl(Scalar::Util) >= 1.10
|
Requires: perl(Scalar::Util) >= 1.10
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Params::Validate module allows you to validate method or function
|
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
|
possesses certain methods, or applying validation callbacks to
|
||||||
arguments.
|
arguments.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dave Rolsky
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%if 0%{?suse_version} <= 1120
|
||||||
|
%{__perl} -p -i -e 's|0.3601|0.280801|' Build.PL
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
perl Build.PL installdirs=vendor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user