[perl-POE-Component-SSLify] update to 1.008

Iain Arnell iarnell at fedoraproject.org
Sun Oct 9 08:03:13 UTC 2011


commit afe6d0b9577552d5d528c2e39213edd773851aba
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Oct 9 10:02:30 2011 +0200

    update to 1.008

 .gitignore                     |    1 +
 perl-POE-Component-SSLify.spec |   47 ++++++++++++++++++++++++++-------------
 sources                        |    2 +-
 3 files changed, 33 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index da11a2b..1b2a073 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 POE-Component-SSLify-0.15.tar.gz
+/POE-Component-SSLify-1.008.tar.gz
diff --git a/perl-POE-Component-SSLify.spec b/perl-POE-Component-SSLify.spec
index 60ee857..b7ca273 100644
--- a/perl-POE-Component-SSLify.spec
+++ b/perl-POE-Component-SSLify.spec
@@ -1,24 +1,41 @@
 Name:           perl-POE-Component-SSLify
-Version:        0.15
-Release:        7%{?dist}
+Version:        1.008
+Release:        1%{?dist}
 Summary:        Makes using SSL in the world of POE easy!
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/POE-Component-SSLify/
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AP/APOCAL/POE-Component-SSLify-%{version}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-# core
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-# cpan
-BuildRequires:  perl(Net::SSLeay) >= 1.30
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::Handle) >= 1.28
+BuildRequires:  perl(Module::Build) >= 0.3601
+BuildRequires:  perl(Net::SSLeay) >= 1.36
+BuildRequires:  perl(parent)
+BuildRequires:  perl(POE) >= 1.267
+BuildRequires:  perl(POE::Component::Client::TCP)
+BuildRequires:  perl(POE::Component::Server::TCP)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(Symbol)
+BuildRequires:  perl(Task::Weaken) >= 1.03
+BuildRequires:  perl(Test::More) >= 0.88
 
 # not automatically picked up
+Requires:       perl(Exporter)
+Requires:       perl(IO::Handle) >= 1.28
 Requires:       perl(POE)
+Requires:       perl(Scalar::Util)
+Requires:       perl(Symbol)
+Requires:       perl(Task::Weaken) >= 1.03
+
+%?perl_default_filter
 
 %description
 This component represents the standard way to do SSL in POE.
@@ -26,16 +43,14 @@ This component represents the standard way to do SSL in POE.
 %prep
 %setup -q -n POE-Component-SSLify-%{version}
 
-sed -i 's/\r//' t/*.t
+sed -i '1s~^#!.*perl~#!%{__perl}~' t/*.t
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -45,16 +60,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc README Changes t/
+%doc LICENSE README Changes t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Oct 09 2011 Iain Arnell <iarnell at gmail.com> 1.008-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 0.15-7
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 928ce14..f0d4ced 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d4bf013f253d36e17cf0233964654edb  POE-Component-SSLify-0.15.tar.gz
+a7b8d0276b7c171485cbca086b147c5d  POE-Component-SSLify-1.008.tar.gz



More information about the perl-devel mailing list