[perl-Params-Util/el4/master: 8/9] Revert to perl-Params-Util-0.25-1 as per EPEL-5
Paul Howarth
pghmcfc at fedoraproject.org
Tue Jan 11 19:34:32 UTC 2011
commit b251f669e6808756b2a55a8d99807f7229a6d9f7
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Jan 11 19:31:04 2011 +0000
Revert to perl-Params-Util-0.25-1 as per EPEL-5
.gitignore | 3 +-
perl-Params-Util.spec | 124 +++++++++----------------------------------------
sources | 2 +-
3 files changed, 24 insertions(+), 105 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 165a74c..3d9e3c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Params-Util-1.01.tar.gz
-/Params-Util-1.03.tar.gz
+/Params-Util-0.25.tar.gz
diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec
index 9a947a8..e4fa593 100644
--- a/perl-Params-Util.spec
+++ b/perl-Params-Util.spec
@@ -1,19 +1,23 @@
-Name: perl-Params-Util
-Version: 1.03
-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) >= 6.52
+Name: perl-Params-Util
+Version: 0.25
+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))
+BuildArch: noarch
+
+BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(File::Spec) >= 0.82
-BuildRequires: perl(Scalar::Util) >= 1.18
+BuildRequires: perl(Scalar::Util) >= 1.14
+
+# Required by the tests
+BuildRequires: perl(Test::Pod) >= 1.00
%description
Params::Util provides a basic set of importable functions that
@@ -21,16 +25,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 OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$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/*
@@ -43,94 +47,10 @@ make test AUTOMATED_TESTING=1
%files
%defattr(-,root,root,-)
%doc Changes LICENSE
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/Params
-
+%{perl_vendorlib}/Params
%{_mandir}/man3/*
%changelog
-* Mon Dec 06 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.03-1
-- Upstream update.
-
-* Wed Jun 23 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.01-2
-- Rebuild for perl-5.12.x.
-
-* Fri May 07 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.01-1
-- Upstream update.
-- Revert Marcela's 2010-05-04 changes.
-- Remove BR's on perl(Test::MinimumVersion), perl(Test::Pod),
- perl(Test::CPAN::Meta).
- (Reflect upstream having disabled tests depending on them).
-
-* Tue May 04 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.00-4
-- Mass rebuild with perl-5.12.0
-
-* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 1.00-3
-- rebuild against perl 5.10.1
-
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.00-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Wed Jun 17 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.00-1
-- Upstream update.
-
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.38-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Thu Feb 19 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.38-1
-- Upstream update.
-
-* 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).
-- Remove testsuite hack to accept perl(Test::CPAN::Meta) != 0.07.
-
-* Tue Jul 08 2008 Ralf Corsépius <rc040203 at freenet.de> - 0.33-2
-- Unconditionally BR: perl(Test::CPAN::Meta).
-
-* Mon Jun 02 2008 Ralf Corsépius <rc040203 at freenet.de> - 0.33-1
-- Upstream update.
-- Conditionally BR: perl(Test::CPAN::Meta).
-- Hack testsuite to accept Test::CPAN::Meta != 0.07.
-
-* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-6
-- Rebuild normally, second pass
-
-* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-5
-- Rebuild for perl 5.10 (again), first pass
-
-* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-4
-- rebuild normally, second pass
-
-* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-3.1
-- disable Test::MinimumVersion, tests for first pass
-
-* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-3
-- rebuild for new perl
-
-* Sun Nov 25 2007 Ralf Corsépius <rc040203 at freenet.de> - 0.31-2
-- Add BR: perl(Test::MinimumVersion).
-
-* Mon Nov 19 2007 Ralf Corsépius <rc040203 at freenet.de> - 0.31-1
-- Upstream update.
-
-* Tue Oct 30 2007 Ralf Corsépius <rc040203 at freenet.de> - 0.30-1
-- Upstream update.
-
-* Thu Sep 06 2007 Ralf Corsépius <rc040203 at freenet.de> - 0.29-1
-- Upstream update.
-- Update licence tag.
-- Conditionally disable AUTOMATED_TESTING.
-
-* Sat Jul 28 2007 Ralf Corsépius <rc040203 at freenet.de> - 0.26-1
-- Upstream update.
-
* Wed May 30 2007 Ralf Corsépius <rc040203 at freenet.de> - 0.25-1
- Upstream update.
diff --git a/sources b/sources
index d870f5b..16a4dec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9e5ae2987472f15fddf8ab806f4de867 Params-Util-1.03.tar.gz
+d3a95845d71e1a014ae7bbb02bee240c Params-Util-0.25.tar.gz
More information about the perl-devel
mailing list