[perl-Business-ISBN-Data] Update to 20120719:

Paul Howarth pghmcfc at fedoraproject.org
Tue Jul 24 10:47:38 UTC 2012


commit 836e536f610587d3d0ceec492c678a9a6f334126
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Jul 24 11:46:04 2012 +0100

    Update to 20120719:
    
    - New upstream release 20120719:
      - Support using data from RangeMessage.xml, so you can use the latest data
        from ISBN without updating this module
    - Fix shellbang and permissions of make_data.pl script to placate rpmlint
    - Filter dependency on perl(LWP::Simple), required only by make_data.pl script,
      not in normal operation
    - Don't need to remove empty directories from the buildroot
    - BR: perl(Carp), perl(File::Spec::Functions) and perl(Test::Manifest) ≥ 1.14
    - BR: at least version 1.00 of perl(Test::Pod)

 Business-ISBN-Data-20120719-shellbang.patch |    8 +++++++
 perl-Business-ISBN-Data.spec                |   31 ++++++++++++++++++++++----
 sources                                     |    2 +-
 3 files changed, 35 insertions(+), 6 deletions(-)
---
diff --git a/Business-ISBN-Data-20120719-shellbang.patch b/Business-ISBN-Data-20120719-shellbang.patch
new file mode 100644
index 0000000..128596c
--- /dev/null
+++ b/Business-ISBN-Data-20120719-shellbang.patch
@@ -0,0 +1,8 @@
+--- make_data.pl
++++ make_data.pl
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl5.10.0
++#!/usr/bin/perl
+ use 5.010;
+ 
+ use strict;
diff --git a/perl-Business-ISBN-Data.spec b/perl-Business-ISBN-Data.spec
index 3dc380a..f71f64d 100644
--- a/perl-Business-ISBN-Data.spec
+++ b/perl-Business-ISBN-Data.spec
@@ -1,15 +1,19 @@
 Name:           perl-Business-ISBN-Data
-Version:        20081208
-Release:        10%{?dist}
+Version:        20120719
+Release:        1%{?dist}
 Summary:        The data pack for Business::ISBN
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Business-ISBN-Data/
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-Data-%{version}.tar.gz
+Patch0:         Business-ISBN-Data-20120719-shellbang.patch
 BuildArch:      noarch
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(Test::Manifest) >= 1.14
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Test::Prereq)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -17,6 +21,9 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # Remove bogus provide of perl(Business::ISBN)
 %global __provides_exclude ^perl\\(Business::ISBN\\)$
 
+# LWP::Simple not needed in normal operation
+%global __requires_exclude ^perl\\(LWP::Simple\\)$
+
 %description
 This is a data pack for Business::ISBN.  You can update
 the ISBN data without changing the version of Business::ISBN.
@@ -25,6 +32,10 @@ Most of the interesting stuff is in Business::ISBN.
 %prep
 %setup -q -n Business-ISBN-Data-%{version}
 
+# Fix shellbang and script permissions for make_data.pl
+%patch0
+chmod -c +x make_data.pl
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -32,7 +43,6 @@ make %{?_smp_mflags}
 %install
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -44,6 +54,17 @@ make test
 %{_mandir}/man3/Business::ISBN::Data.3*
 
 %changelog
+* Tue Jul 24 2012 Paul Howarth <paul at city-fan.org> - 20120719-1
+- Update to 20120719:
+  - Support using data from RangeMessage.xml, so you can use the latest data
+    from ISBN without updating this module
+- Fix shellbang and permissions of make_data.pl script to placate rpmlint
+- Filter dependency on perl(LWP::Simple), required only by make_data.pl script,
+  not in normal operation
+- Don't need to remove empty directories from the buildroot
+- BR: perl(Carp), perl(File::Spec::Functions) and perl(Test::Manifest) ≥ 1.14
+- BR: at least version 1.00 of perl(Test::Pod)
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20081208-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
@@ -71,7 +92,7 @@ make test
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Wed Dec 15 2010 Marcela Maslanova <mmaslano at redhat.com> - 20081208-4
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Thu Apr 29 2010 Marcela Maslanova <mmaslano at redhat.com> - 20081208-3
 - Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 083b419..7f70c77 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e8edb53f04830344e20f61b02b6ed054  Business-ISBN-Data-20081208.tar.gz
+b481d62643b8d6d3a2b1bf7b5161f631  Business-ISBN-Data-20120719.tar.gz


More information about the scm-commits mailing list