Fixed .spec for .el4.
This commit is contained in:
parent
5d8b8ca5f7
commit
ed65e211de
|
@ -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@alumni.drew.edu> 1.269-2
|
||||
- Fix .spec file to work on .el4.
|
||||
|
||||
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.269-1
|
||||
- update filtering...
|
||||
- auto-update to 1.269 (by cpan-spec-update 0.01)
|
||||
|
|
Loading…
Reference in New Issue