- Upstream update.
- Remove BuildArch: noarch (package now is arch'ed). - Remove testsuite hack to accept perl(Test::CPAN::Meta) != 0.07.
This commit is contained in:
parent
66c9ed3695
commit
c6df4377bd
@ -1 +1 @@
|
||||
Params-Util-0.33.tar.gz
|
||||
Params-Util-0.35.tar.gz
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: perl-Params-Util
|
||||
Version: 0.33
|
||||
Release: 2%{?dist}
|
||||
Version: 0.35
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple standalone param-checking functions
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -9,7 +9,6 @@ Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{versio
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
@ -29,11 +28,6 @@ makes checking parameters a hell of a lot easier.
|
||||
%setup -q -n Params-Util-%{version}
|
||||
find -type f -exec chmod -x {} \;
|
||||
|
||||
%if "%{version}" == "0.33"
|
||||
# Hack around 0.33 failing to find Test::CPAN::Meta
|
||||
sed -i -e "s,\'Test::CPAN::Meta 0.07\',\'Test::CPAN::Meta\'," t/97_meta.t
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
@ -54,10 +48,17 @@ make test AUTOMATED_TESTING=1
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE
|
||||
%{perl_vendorlib}/Params
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/Params
|
||||
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.35-1
|
||||
- Upstream update.
|
||||
- Remove BuildArch: noarch (package now is arch'ed).
|
||||
- Remove testsuite hack to accept perl(Test::CPAN::Meta) != 0.07.
|
||||
|
||||
* Tue Jul 08 2008 Ralf Corsépius <rc040203@freenet.de> - 0.33-2
|
||||
- Unconditionally BR: perl(Test::CPAN::Meta).
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user