- Upstream update.

- Pass OPTIMIZE to make.
- Remove *.bs after install.
- Misc. minor spec fixes.
This commit is contained in:
corsepiu 2009-02-12 05:14:33 +00:00
parent c6df4377bd
commit 8da1179e4f
3 changed files with 24 additions and 18 deletions

View File

@ -1 +1 @@
Params-Util-0.35.tar.gz
Params-Util-0.37.tar.gz

View File

@ -1,24 +1,24 @@
Name: perl-Params-Util
Version: 0.35
Release: 1%{?dist}
Summary: Simple standalone param-checking functions
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Params-Util/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Name: perl-Params-Util
Version: 0.37
Release: 1%{?dist}
Summary: Simple standalone param-checking functions
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Params-Util/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(Scalar::Util) >= 1.14
BuildRequires: perl(Test::MinimumVersion) >= 0.007
BuildRequires: perl(Scalar::Util) >= 1.14
BuildRequires: perl(Test::MinimumVersion) >= 0.007
# Required by the tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::CPAN::Meta) >= 0.07
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::CPAN::Meta) >= 0.07
%description
Params::Util provides a basic set of importable functions that
@ -26,16 +26,16 @@ makes checking parameters a hell of a lot easier.
%prep
%setup -q -n Params-Util-%{version}
find -type f -exec chmod -x {} \;
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
@ -54,6 +54,12 @@ make test AUTOMATED_TESTING=1
%{_mandir}/man3/*
%changelog
* Thu Feb 12 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.37-1
- Upstream update.
- Pass OPTIMIZE to make.
- Remove *.bs after install.
- Misc. minor spec fixes.
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.35-1
- Upstream update.
- Remove BuildArch: noarch (package now is arch'ed).

View File

@ -1 +1 @@
54af1ee61d879c15ee2dd6fe6d879c71 Params-Util-0.35.tar.gz
0408b6ff9dd32e6dc0b5405c5e0f55e6 Params-Util-0.37.tar.gz