1.350 bump
This commit is contained in:
parent
72565ab7b4
commit
54b01047ad
|
@ -1,2 +1,3 @@
|
|||
POE-1.289.tar.gz
|
||||
/POE-1.312.tar.gz
|
||||
/POE-1.350.tar.gz
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Name: perl-POE
|
||||
Version: 1.312
|
||||
Version: 1.350
|
||||
Release: 1%{?dist}
|
||||
Summary: POE - portable multitasking and networking framework for Perl
|
||||
|
||||
|
@ -7,7 +7,6 @@ Group: Development/Libraries
|
|||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/POE/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
|
@ -28,7 +27,7 @@ BuildRequires: perl(HTTP::Date)
|
|||
BuildRequires: perl(HTTP::Request)
|
||||
BuildRequires: perl(HTTP::Response)
|
||||
BuildRequires: perl(HTTP::Status)
|
||||
BuildRequires: perl(POE::Test::Loops) >= 1.311
|
||||
BuildRequires: perl(POE::Test::Loops) >= 1.350
|
||||
BuildRequires: perl(Socket) >= 1.7
|
||||
BuildRequires: perl(Socket6) >= 0.14
|
||||
BuildRequires: perl(Storable) >= 2.16
|
||||
|
@ -73,7 +72,6 @@ possible to use POE at varying levels of abstraction.
|
|||
|
||||
%prep
|
||||
%setup -q -n POE-%{version}
|
||||
|
||||
# make rpmlint happy...
|
||||
chmod -c -x examples/*
|
||||
find t/ -type f -exec chmod -c -x {} +
|
||||
|
@ -81,46 +79,36 @@ find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} +
|
|||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
|
||||
|
||||
# yah. don't do the network tests
|
||||
%{?!_with_network_tests: rm run_network_tests }
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
|
||||
%check
|
||||
# enable POD tests
|
||||
#export POE_TEST_POD=1
|
||||
|
||||
# note that there are currently a number of tests that throw errors, but do
|
||||
# not fail nor cause the build/suite to fail. For now just please be aware
|
||||
# that there will be some noisy output as the tests are run.
|
||||
# Reported upstream at http://rt.cpan.org/Public/Bug/Display.html?id=19878
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES HISTORY README examples/ TODO t/
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 21 2011 Petr Šabata <contyk@redhat.com> - 1.350-1
|
||||
- 1.350 bump
|
||||
- Remove Buildroot and defattr
|
||||
|
||||
* Mon Aug 01 2011 Petr Sabata <contyk@redhat.com> - 1.312-1
|
||||
- 1.312 bump
|
||||
- Deps updated
|
||||
|
|
Loading…
Reference in New Issue