From 8da1179e4f68c580ac3ad3dc894c2ea4a8458354 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Thu, 12 Feb 2009 05:14:33 +0000 Subject: [PATCH] - Upstream update. - Pass OPTIMIZE to make. - Remove *.bs after install. - Misc. minor spec fixes. --- .cvsignore | 2 +- perl-Params-Util.spec | 38 ++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.cvsignore b/.cvsignore index 914fc43..80a8030 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Params-Util-0.35.tar.gz +Params-Util-0.37.tar.gz diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec index 1c0260a..2c4c597 100644 --- a/perl-Params-Util.spec +++ b/perl-Params-Util.spec @@ -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 - 0.37-1 +- Upstream update. +- Pass OPTIMIZE to make. +- Remove *.bs after install. +- Misc. minor spec fixes. + * Sat Nov 29 2008 Ralf Corsépius - 0.35-1 - Upstream update. - Remove BuildArch: noarch (package now is arch'ed). diff --git a/sources b/sources index e56fe18..7b22735 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -54af1ee61d879c15ee2dd6fe6d879c71 Params-Util-0.35.tar.gz +0408b6ff9dd32e6dc0b5405c5e0f55e6 Params-Util-0.37.tar.gz