[perl-POE-API-Peek] update to 2.19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 56f906357dd64175a887a9b6ce01f31ce36b5778
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Oct 9 08:30:22 2011 +0200

    update to 2.19
    
    clean up spec for modern rpmbuild
    use perl_default_filter and DESTDIR
    no need to mess with our $VERSION

 .gitignore             |    1 +
 perl-POE-API-Peek.spec |   39 ++++++++++++++-------------------------
 sources                |    2 +-
 3 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b66ef1b..0a1f1d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 POE-API-Peek-1.34.tar.gz
+/POE-API-Peek-2.19.tar.gz
diff --git a/perl-POE-API-Peek.spec b/perl-POE-API-Peek.spec
index e0e64e0..af8227e 100644
--- a/perl-POE-API-Peek.spec
+++ b/perl-POE-API-Peek.spec
@@ -1,29 +1,23 @@
 Name:           perl-POE-API-Peek
 Epoch:          1
-Version:        1.34
-Release:        6%{?dist}
+Version:        2.19
+Release:        1%{?dist}
 Summary:        Peek into the internals of a running POE environment
 License:        BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/POE-API-Peek/
-Source0:        http://search.cpan.org/CPAN/authors/id/S/SU/SUNGO/POE-API-Peek-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/POE-API-Peek-%{version}.tar.gz
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
 BuildRequires:  perl(Devel::Size)
-BuildRequires:  perl(POE) >= 1.0001
+BuildRequires:  perl(POE) >= 1.311
 BuildRequires:  perl(Test::More)
 
-### auto-added reqs!
-Requires:       perl(Devel::Size)
-Requires:       perl(POE) >= 1.0001
+Requires:       perl(POE) >= 1.311
 
-### auto-added brs!
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires:  perl(Test::Distribution)
-BuildRequires:  perl(Test::NoWarnings)
-BuildRequires:  perl(Test::Pod::Coverage)
+%?perl_default_filter
 
 %description
 POE::API::Peek extends the POE::Kernel interface to provide clean access to
@@ -33,19 +27,12 @@ data is also available.
 %prep
 %setup -q -n POE-API-Peek-%{version}
 
-# beat $VERSION into submission, for proper auto-provides
-cd lib/POE/API
-MODVER=$(echo `grep 'our $VERSION' Peek.pm` '; print $VERSION;' | perl)
-sed -i -e "s/our \$VERSION = .*/our \$VERSION = $MODVER;/" Peek.pm
-
 %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 \;
@@ -55,16 +42,18 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Oct 09 2011 Iain Arnell <iarnell@xxxxxxxxx> 1:2.19-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter and DESTDIR
+- no need to mess with our $VERSION
+
 * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1:1.34-6
 - Perl mass rebuild
 
diff --git a/sources b/sources
index b7a2d71..b9e153d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4c483bd98f7e0b45787dc8085f5c73ba  POE-API-Peek-1.34.tar.gz
+45a5174cdc2a0ac84b5cc615b535c86a  POE-API-Peek-2.19.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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux