[perl-Sub-Name] Update to 0.09

Paul Howarth pghmcfc at fedoraproject.org
Mon Aug 18 17:33:44 UTC 2014


commit 22c788140a957f85699b35acb5e4c2a728a643ff
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Aug 15 16:20:52 2014 +0100

    Update to 0.09
    
    - New upstream release 0.09
      - Copy the contents of the %DB::sub entry if it exists; fixes
        Devel::NYTProf's anon sub handling (CPAN RT#50524)
    - Drop upstreamed debugger patch
    - Drop EL-5 compatibility since we need Devel::CheckBin, which can't be
      built for EPEL-5 or EPEL-6

 Sub-Name-0.08-cpan50524.patch |   92 -----------------------------------------
 perl-Sub-Name.spec            |   30 +++++--------
 sources                       |    2 +-
 3 files changed, 12 insertions(+), 112 deletions(-)
---
diff --git a/perl-Sub-Name.spec b/perl-Sub-Name.spec
index 572e56a..892fa4c 100644
--- a/perl-Sub-Name.spec
+++ b/perl-Sub-Name.spec
@@ -1,20 +1,15 @@
 # TODO: BR: perl(B::C) when available
 
-# Only need manual requires for "use base XXX;" prior to rpm 4.9
-%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
-
 Name:		perl-Sub-Name
-Version:	0.08
-Release:	2%{?dist}
+Version:	0.09
+Release:	1%{?dist}
 Summary:	Name - or rename - a sub
 License:	GPL+ or Artistic
-Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Sub-Name/
 Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Sub-Name-%{version}.tar.gz
-Patch0:		Sub-Name-0.08-cpan50524.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildRequires:	perl
 BuildRequires:	perl(base)
+BuildRequires:	perl(Devel::CheckBin)
 BuildRequires:	perl(DynaLoader)
 BuildRequires:	perl(Exporter)
 BuildRequires:	perl(ExtUtils::MakeMaker)
@@ -22,10 +17,6 @@ BuildRequires:	perl(strict)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(warnings)
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-%if ! %{rpm49}
-Requires:	perl(DynaLoader)
-Requires:	perl(Exporter)
-%endif
 
 # Don't "provide" private perl objects
 %{?perl_default_filter}
@@ -40,15 +31,11 @@ by the new name (without some deep magic).
 %prep
 %setup -q -n Sub-Name-%{version}
 
-# Copy the contents of the %%DB::sub entry if it exists (CPAN RT#50524)
-%patch0 -p1
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor optimize="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
@@ -57,9 +44,6 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %doc Changes README
 %{perl_vendorarch}/auto/Sub/
@@ -67,6 +51,14 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Sub::Name.3pm*
 
 %changelog
+* Mon Aug 18 2014 Paul Howarth <paul at city-fan.org> - 0.09-1
+- Update to 0.09
+  - Copy the contents of the %%DB::sub entry if it exists; fixes
+    Devel::NYTProf's anon sub handling (CPAN RT#50524)
+- Drop upstreamed debugger patch
+- Drop EL-5 compatibility since we need Devel::CheckBin, which can't be
+  built for EPEL-5 or EPEL-6
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 022d960..7cf43db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-45beca98589be182a87aa7fdd15045ef  Sub-Name-0.08.tar.gz
+24f2fadd4e4c42907cfcd7c03ee8f4c8  Sub-Name-0.09.tar.gz


More information about the scm-commits mailing list