[perl-Params-Util/el5] - Upstream update. - Pass OPTIMIZE to make. - Remove *.bs after install. - Misc. minor spec fixes.

Paul Howarth pghmcfc at fedoraproject.org
Sun Mar 18 13:45:36 UTC 2012


commit 3d4b4c433be10aef444fbe82d21b9199bd60b036
Author: corsepiu <corsepiu at fedoraproject.org>
Date:   Thu Feb 12 05:14:33 2009 +0000

    - Upstream update.
    - Pass OPTIMIZE to make.
    - Remove *.bs after install.
    - Misc. minor spec fixes.

 perl-Params-Util.spec |   40 +++++++++++++++++++++++-----------------
 sources               |    2 +-
 2 files changed, 24 insertions(+), 18 deletions(-)
---
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)
-
-Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+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))
 
 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 at 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 at fedoraproject.org> - 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


More information about the scm-commits mailing list