[perl-B-Utils] update to 0.13

Iain Arnell iarnell at fedoraproject.org
Fri Feb 4 16:03:39 UTC 2011


commit fcf05f0e172714cc90b14066507c27ebd63da617
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Feb 4 17:03:24 2011 +0100

    update to 0.13

 .gitignore        |    1 +
 perl-B-Utils.spec |   34 ++++++++++++++++++++--------------
 sources           |    2 +-
 3 files changed, 22 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3622b59..4330743 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 B-Utils-0.11.tar.gz
+/B-Utils-0.13.tar.gz
diff --git a/perl-B-Utils.spec b/perl-B-Utils.spec
index 662a928..2647f42 100644
--- a/perl-B-Utils.spec
+++ b/perl-B-Utils.spec
@@ -1,20 +1,26 @@
 Name:           perl-B-Utils
-Version:        0.11
-Release:        3%{?dist}
+Version:        0.13
+Release:        1%{?dist}
 Summary:        Helper functions for op tree manipulation
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/B-Utils/
 Source0:        http://www.cpan.org/authors/id/J/JJ/JJORE/B-Utils-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  perl(B)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::Depends) >= 0.302
+BuildRequires:  perl(ExtUtils::Depends) >= 0.301
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(List::Util)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(Task::Weaken)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(subs)
 BuildRequires:  perl(Test::More)
-#BuildRequires:  perl(Test::Pod)
-#BuildRequires:  perl(Test::Signature)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(vars)
+Requires:       perl(List::Util)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -30,9 +36,7 @@ Helper functions for op tree manipulation.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
@@ -43,17 +47,19 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes LICENSE README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/B*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Feb 04 2011 Iain Arnell <iarnell at gmail.com> 0.13-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- tweak buildrequires
+
 * Wed Dec 15 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.11-3
 - 661697 rebuild for fixing problems with vendorach/lib
 
diff --git a/sources b/sources
index 2798d0d..6ca5460 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ecfbba83b9b6c92b2ba0c832ccbc75f3  B-Utils-0.11.tar.gz
+08cc7ef0bbdaaf1b0b83a3e2aea719fd  B-Utils-0.13.tar.gz



More information about the perl-devel mailing list