Fixed .spec for .el4.
This commit is contained in:
parent
5d8b8ca5f7
commit
ed65e211de
@ -1,6 +1,6 @@
|
|||||||
Name: perl-POE
|
Name: perl-POE
|
||||||
Version: 1.269
|
Version: 1.269
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: POE - portable multitasking and networking framework for Perl
|
Summary: POE - portable multitasking and networking framework for Perl
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -32,12 +32,13 @@ BuildRequires: perl(Test::Pod)
|
|||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Storable) >= 2.16
|
BuildRequires: perl(Storable)
|
||||||
BuildRequires: perl(Errno) >= 1.09
|
BuildRequires: perl(Errno) >= 1.09
|
||||||
BuildRequires: perl(IO::Handle) >= 1.27
|
BuildRequires: perl(IO::Handle)
|
||||||
BuildRequires: perl(Socket) >= 1.7
|
BuildRequires: perl(Socket) >= 1.7
|
||||||
BuildRequires: perl(IO::Tty) >= 1.08
|
BuildRequires: perl(IO::Tty)
|
||||||
BuildRequires: perl(POE::Test::Loops) >= 1.022
|
# Removed for bootstrap.
|
||||||
|
#BuildRequires: perl(POE::Test::Loops) >= 1.022
|
||||||
BuildRequires: perl(POSIX) >= 1.02
|
BuildRequires: perl(POSIX) >= 1.02
|
||||||
BuildRequires: perl(File::Spec) >= 0.87
|
BuildRequires: perl(File::Spec) >= 0.87
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
@ -52,9 +53,9 @@ Requires: perl(Carp)
|
|||||||
Requires: perl(Errno) >= 1.09
|
Requires: perl(Errno) >= 1.09
|
||||||
Requires: perl(Exporter)
|
Requires: perl(Exporter)
|
||||||
Requires: perl(File::Spec) >= 0.87
|
Requires: perl(File::Spec) >= 0.87
|
||||||
Requires: perl(IO::Handle) >= 1.27
|
Requires: perl(IO::Handle)
|
||||||
Requires: perl(IO::Tty) >= 1.08
|
Requires: perl(IO::Tty)
|
||||||
Requires: perl(POE::Test::Loops) >= 1.022
|
#Requires: perl(POE::Test::Loops) >= 1.022
|
||||||
Requires: perl(POSIX) >= 1.02
|
Requires: perl(POSIX) >= 1.02
|
||||||
Requires: perl(Socket) >= 1.7
|
Requires: perl(Socket) >= 1.7
|
||||||
Requires: perl(Storable) >= 2.16
|
Requires: perl(Storable) >= 2.16
|
||||||
@ -80,8 +81,8 @@ possible to use POE at varying levels of abstraction.
|
|||||||
|
|
||||||
# make rpmlint happy...
|
# make rpmlint happy...
|
||||||
chmod -c -x examples/*
|
chmod -c -x examples/*
|
||||||
find t/ -type f -exec chmod -c -x {} +
|
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 -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
|
||||||
@ -96,7 +97,7 @@ make %{?_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make pure_install PERL_INSTALL_ROOT=%{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 ';'
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
|
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
@ -129,6 +130,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.269-1
|
||||||
- update filtering...
|
- update filtering...
|
||||||
- auto-update to 1.269 (by cpan-spec-update 0.01)
|
- auto-update to 1.269 (by cpan-spec-update 0.01)
|
||||||
|
Loading…
Reference in New Issue
Block a user