[perl-POE/el4/master] Fixed .spec for .el4.

stevetraylen stevetraylen at fedoraproject.org
Tue Sep 28 21:58:21 UTC 2010


commit ed65e211deb5209909c7e50f23e044b8fb4bd2fb
Author: Steve Traylen <steve.traylen at cern.ch>
Date:   Tue Sep 28 23:57:58 2010 +0200

    Fixed .spec for .el4.

 perl-POE.spec |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/perl-POE.spec b/perl-POE.spec
index b2bcdc2..fb305f9 100644
--- a/perl-POE.spec
+++ b/perl-POE.spec
@@ -1,6 +1,6 @@
 Name:      perl-POE
 Version:   1.269
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   POE - portable multitasking and networking framework for Perl
 
 Group:     Development/Libraries
@@ -32,12 +32,13 @@ BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Storable) >= 2.16
+BuildRequires:  perl(Storable)
 BuildRequires:  perl(Errno) >= 1.09
-BuildRequires:  perl(IO::Handle) >= 1.27
+BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(Socket) >= 1.7
-BuildRequires:  perl(IO::Tty) >= 1.08
-BuildRequires:  perl(POE::Test::Loops) >= 1.022
+BuildRequires:  perl(IO::Tty)
+# Removed for bootstrap.
+#BuildRequires:  perl(POE::Test::Loops) >= 1.022
 BuildRequires:  perl(POSIX) >= 1.02
 BuildRequires:  perl(File::Spec) >= 0.87
 BuildRequires:  perl(Exporter)
@@ -52,9 +53,9 @@ Requires:       perl(Carp)
 Requires:       perl(Errno) >= 1.09
 Requires:       perl(Exporter)
 Requires:       perl(File::Spec) >= 0.87
-Requires:       perl(IO::Handle) >= 1.27
-Requires:       perl(IO::Tty) >= 1.08
-Requires:       perl(POE::Test::Loops) >= 1.022
+Requires:       perl(IO::Handle)
+Requires:       perl(IO::Tty)
+#Requires:       perl(POE::Test::Loops) >= 1.022
 Requires:       perl(POSIX) >= 1.02
 Requires:       perl(Socket) >= 1.7
 Requires:       perl(Storable) >= 2.16
@@ -80,8 +81,8 @@ possible to use POE at varying levels of abstraction.
 
 # make rpmlint happy...
 chmod -c -x examples/*
-find t/ -type f -exec chmod -c -x {} +
-find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} +
+find t/ -type f -exec chmod -c -x {} \;
+find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} \;
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor --default
@@ -96,7 +97,7 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 
 %{_fixperms} %{buildroot}/*
@@ -129,6 +130,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Sep 28 2010 Steve Traylen <cweyl at alumni.drew.edu> 1.269-2
+- Fix .spec file to work on .el4.
+
 * Sun Sep 27 2009 Chris Weyl <cweyl at alumni.drew.edu> 1.269-1
 - update filtering...
 - auto-update to 1.269 (by cpan-spec-update 0.01)


More information about the scm-commits mailing list