[perl-POE-Component-SimpleDBI] 1.31 bump

Petr Pisar ppisar at fedoraproject.org
Wed Nov 26 08:13:10 UTC 2014


commit 2bf0bc67d7ef00b6c72e915cc60d7a0c214d76d2
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Nov 26 09:12:30 2014 +0100

    1.31 bump

 .gitignore                        |    1 +
 perl-POE-Component-SimpleDBI.spec |   44 ++++++++++++++++++++++++------------
 sources                           |    2 +-
 3 files changed, 31 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7666670..a357d70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 POE-Component-SimpleDBI-1.27.tar.gz
 /POE-Component-SimpleDBI-1.30.tar.gz
+/POE-Component-SimpleDBI-1.31.tar.gz
diff --git a/perl-POE-Component-SimpleDBI.spec b/perl-POE-Component-SimpleDBI.spec
index a628294..72d55c0 100644
--- a/perl-POE-Component-SimpleDBI.spec
+++ b/perl-POE-Component-SimpleDBI.spec
@@ -1,24 +1,38 @@
 Name:           perl-POE-Component-SimpleDBI
-Version:        1.30
-Release:        8%{?dist}
+Version:        1.31
+Release:        1%{?dist}
 Summary:        Asynchronous non-blocking DBI calls in POE made simple
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/POE-Component-SimpleDBI/
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AP/APOCAL/POE-Component-SimpleDBI-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build::Tiny) >= 0.039
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+# Data::Dumper not used at tests
 BuildRequires:  perl(DBI) >= 1.30
 BuildRequires:  perl(Error) >= 0.15
-BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(POE) >= 0.20
+BuildRequires:  perl(POE)
 BuildRequires:  perl(POE::Filter::Line)
 BuildRequires:  perl(POE::Filter::Reference)
 BuildRequires:  perl(POE::Session)
 BuildRequires:  perl(POE::Wheel::Run)
-BuildRequires:  perl(Test::More) >= 0.88
-BuildRequires:  perl(Test::Pod)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Tests:
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IPC::Open3)
+BuildRequires:  perl(Test::More)
+# Optional tests:
+# CPAN::Meta not usefull
+# Test::Apocalypse 1.000 needed only for author tests.
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Data::Dumper)
+Requires:       perl(warnings)
 
 %description
 This module works its magic by creating a new session with POE, then
@@ -29,20 +43,17 @@ into a queue, and processed one at a time.
 %prep
 %setup -q -n POE-Component-SimpleDBI-%{version}
 chmod a-x examples/*
-sed -i 's/#!perl/#!\/usr\/bin\/perl/' t/00-compile.t
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+./Build install --destdir=%{buildroot} --create_packlist=0
 %{_fixperms} %{buildroot}/*
 
 %check
-make test
+./Build test
 
 %files
 %doc README examples/
@@ -50,6 +61,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 26 2014 Petr Pisar <ppisar at redhat.com> - 1.31-1
+- 1.31 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.30-8
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 647540e..cdf566e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cf305390634ae3f70ad331cdbb8e49d7  POE-Component-SimpleDBI-1.30.tar.gz
+e7193a3214ae35555dd9da3c9fd2b5f5  POE-Component-SimpleDBI-1.31.tar.gz


More information about the scm-commits mailing list