[perl-File-Find-Rule-Perl/el5] Revert to 1.09-1 to bootstrap the package in EPEL-5

Paul Howarth pghmcfc at fedoraproject.org
Wed Mar 14 14:45:03 UTC 2012


commit 214f6bcbf5b4041e0587371c074f7c4f62620d4e
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Mar 14 14:42:54 2012 +0000

    Revert to 1.09-1 to bootstrap the package in EPEL-5
    
    I intend to sync the package with the 1.09-2 package from EL-6
    once Test::MinimumVersion is available (see #729601)

 .gitignore                    |    2 +-
 perl-File-Find-Rule-Perl.spec |   53 +++++++++-------------------------------
 sources                       |    2 +-
 3 files changed, 14 insertions(+), 43 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f439b26..2c2e210 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/File-Find-Rule-Perl-1.12.tar.gz
+/File-Find-Rule-Perl-[0-9.]*.tar.gz
diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec
index a7df782..d312f0a 100644
--- a/perl-File-Find-Rule-Perl.spec
+++ b/perl-File-Find-Rule-Perl.spec
@@ -1,11 +1,12 @@
 Name:		perl-File-Find-Rule-Perl
-Version:	1.12
-Release:	2%{?dist}
+Version:	1.09
+Release:	1%{?dist}
 Summary:	Common rules for searching for Perl things
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/File-Find-Rule-Perl/
 Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:	noarch
@@ -17,12 +18,10 @@ BuildRequires:  perl(Params::Util) >= 0.38
 BuildRequires:  perl(Parse::CPAN::Meta) >= 0.04
 
 # For improved tests
-%if !%{defined perl_bootstrap}
-BuildRequires:  perl(Perl::MinimumVersion) >= 1.27
-BuildRequires:  perl(Test::MinimumVersion) >= 0.101080
-BuildRequires:  perl(Test::Pod) >= 1.44
-BuildRequires:  perl(Test::CPAN::Meta) >= 0.17
-%endif
+#BuildRequires:  perl(Perl::MinimumVersion) >= 1.20
+#BuildRequires:  perl(Test::MinimumVersion) >= 0.008
+BuildRequires:  perl(Test::Pod) >= 1.26
+BuildRequires:  perl(Test::CPAN::Meta) >= 0.12
 
 %description
 Common rules for searching for Perl things.
@@ -38,6 +37,7 @@ make %{?_smp_mflags}
 cd ..
 
 %install
+rm -rf $RPM_BUILD_ROOT
 cd File-Find-Rule-Perl-%{version}
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 cd ..
@@ -45,12 +45,13 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %check
-%if !%{defined perl_bootstrap}
 cd File-Find-Rule-Perl-%{version}
 make test AUTOMATED_TESTING=1
 cd ..
-%endif
 
 %files
 %defattr(-,root,root,-)
@@ -59,36 +60,6 @@ cd ..
 %{_mandir}/man3/*
 
 %changelog
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.12-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Fri Nov 25 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.12-1
-- Upstream update.
-- Update BRs.
-- Spec file cleanup.
-
-* Tue Jun 28 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.10-3
-- rebuild with Perl 5.14.1
-- add perl_bootstrap macro for test BR
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Wed Nov 03 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.10-1
-- Upstream update.
-
-* Sun May 09 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.09-5
-- Re-enable pmv-test.
-
-* Sat May 01 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.09-4
-- Mass rebuild with perl-5.12.0
-
-* Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.09-3
-- Mass rebuild with perl-5.12.0
-
-* Mon Dec  7 2009 Stepan Kasal <skasal at redhat.com> - 1.09-2
-- rebuild against perl 5.10.1
-
 * Fri Aug 07 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.09-1
 - Upstream update.
 
@@ -99,7 +70,7 @@ cd ..
 - Upstream update.
 
 * Wed Jun 17 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.06-1
-- Upstream update.
+- Upsteam update.
 - Build in subdir to work-around rpm disturbing testsuite.
 - Rework BRs.
 
diff --git a/sources b/sources
index facecd5..f1fc20d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-91ce1937411b5fe60b9861b0bd7cf45a  File-Find-Rule-Perl-1.12.tar.gz
+c2f62c50f781abf8d7af6f17d4a47db2  File-Find-Rule-Perl-1.09.tar.gz



More information about the perl-devel mailing list