[perl-POE-Component-SimpleDBI] 1.30 bump

Petr Šabata psabata at fedoraproject.org
Tue Jan 17 10:30:27 UTC 2012


commit f66266c7d581859357edec87cf210e51673dce39
Author: Petr Šabata <contyk at redhat.com>
Date:   Tue Jan 17 11:27:18 2012 +0100

    1.30 bump

 .gitignore                        |    1 +
 perl-POE-Component-SimpleDBI.spec |   42 ++++++++++++++----------------------
 sources                           |    2 +-
 3 files changed, 18 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 324faa2..7666670 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 POE-Component-SimpleDBI-1.27.tar.gz
+/POE-Component-SimpleDBI-1.30.tar.gz
diff --git a/perl-POE-Component-SimpleDBI.spec b/perl-POE-Component-SimpleDBI.spec
index b034640..5a5db64 100644
--- a/perl-POE-Component-SimpleDBI.spec
+++ b/perl-POE-Component-SimpleDBI.spec
@@ -1,32 +1,24 @@
 Name:           perl-POE-Component-SimpleDBI
-Version:        1.27
-Release:        8%{?dist}
+Version:        1.30
+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
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-
-# core
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-# cpan
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
 BuildRequires:  perl(DBI) >= 1.30
 BuildRequires:  perl(Error) >= 0.15
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(POE) >= 0.20
-# test
-BuildRequires:  perl(Test::Pod)
-
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-### auto-added brs!
+BuildRequires:  perl(POE::Filter::Line)
 BuildRequires:  perl(POE::Filter::Reference)
-BuildRequires:  perl(POE::Wheel::Run)
 BuildRequires:  perl(POE::Session)
-BuildRequires:  perl(POE::Filter::Line)
+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))
 
 %description
 This module works its magic by creating a new session with POE, then
@@ -36,34 +28,32 @@ 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}
 
 %install
-rm -rf %{buildroot}
-
 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 \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc README examples/ t/
+%doc README examples/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan 17 2012 Petr Šabata <contyk at redhat.com> - 1.30-1
+- 1.30 bump
+- Spec cleanup
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.27-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 44705ec..647540e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-937fe5d2b7e3c9043d73ece3bed5779b  POE-Component-SimpleDBI-1.27.tar.gz
+cf305390634ae3f70ad331cdbb8e49d7  POE-Component-SimpleDBI-1.30.tar.gz



More information about the perl-devel mailing list