commit 41185e494a907a8e44f4e2886bb852bc295c8856 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Nov 25 16:23:32 2014 +0100 1.012 bump .gitignore | 1 + perl-POE-Component-SSLify.spec | 75 ++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 43 insertions(+), 35 deletions(-) --- diff --git a/.gitignore b/.gitignore index 1b2a073..1da226f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ POE-Component-SSLify-0.15.tar.gz /POE-Component-SSLify-1.008.tar.gz +/POE-Component-SSLify-1.012.tar.gz diff --git a/perl-POE-Component-SSLify.spec b/perl-POE-Component-SSLify.spec index 071c688..2b67e35 100644 --- a/perl-POE-Component-SSLify.spec +++ b/perl-POE-Component-SSLify.spec @@ -1,41 +1,47 @@ Name: perl-POE-Component-SSLify -Version: 1.008 -Release: 10%{?dist} +Version: 1.012 +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 - BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - +BuildRequires: perl +BuildRequires: perl(Module::Build::Tiny) >= 0.039 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Handle) >= 1.28 -BuildRequires: perl(Module::Build) >= 0.37 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 +# Tests: +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(POE::Component::Client::TCP) +BuildRequires: perl(POE::Component::Server::TCP) +BuildRequires: perl(POE::Filter::Stream) +BuildRequires: perl(Socket) +BuildRequires: perl(Test::FailWarnings) +BuildRequires: perl(Test::More) >= 1.001002 +# Optional tests: +# CPAN::Meta not usefull +BuildRequires: perl(IO::Prompt::Tiny) +BuildRequires: perl(Test::Apocalypse) >= 1.000 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(POE) >= 1.267 +Requires: perl(warnings) + +%{?perl_default_filter} +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(POE\\)$ %description This component represents the standard way to do SSL in POE. @@ -43,29 +49,30 @@ This component represents the standard way to do SSL in POE. %prep %setup -q -n POE-Component-SSLify-%{version} -sed -i '1s~^#!.*perl~#!%{__perl}~' t/*.t - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} + -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} %{buildroot} - +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} %{buildroot}/* %check -make test +# Clean debuginfo generator pollution breaking MANIFEST test +rm -f *.list +# AUTOMATED_TESTING triggers author tests (t/simple_parallel_superbig.t) which +# fails. Upstream says: "thus is marked as TODO." CPAN RT#100549. +AUTOMATED_TESTING=0 ./Build test %files -%doc LICENSE README Changes t/ +%doc LICENSE README Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Nov 25 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.012-1 +- 1.012 bump + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.008-10 - Perl 5.20 rebuild diff --git a/sources b/sources index f0d4ced..5eb03bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a7b8d0276b7c171485cbca086b147c5d POE-Component-SSLify-1.008.tar.gz +fc90d5016fb1427090eb865d72f60aba POE-Component-SSLify-1.012.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel