[perl-Business-ISBN] 2.06 bump

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

 



commit 4776847b3ffcdf8ec560f3ab08ee585b62ac1741
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Jun 3 16:09:50 2013 +0200

    2.06 bump

 .gitignore              |    1 +
 perl-Business-ISBN.spec |   55 ++++++++++++++++++++++------------------------
 sources                 |    2 +-
 3 files changed, 28 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 42596fa..ec731b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Business-ISBN-2.05.tar.gz
 /Business-ISBN-2.05_03.tar.gz
+/Business-ISBN-2.06.tar.gz
diff --git a/perl-Business-ISBN.spec b/perl-Business-ISBN.spec
index 98f1d1e..41c466d 100644
--- a/perl-Business-ISBN.spec
+++ b/perl-Business-ISBN.spec
@@ -1,72 +1,69 @@
 Name:           perl-Business-ISBN
-Version:        2.05.03
-%define module_version 2.05_03
-Release:        3%{?dist}
+%global cpan_version 2.06
+Version:        %(echo '%{cpan_version}' | tr '_' '.'})
+Release:        1%{?dist}
 Summary:        Perl module to work with International Standard Book Numbers
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Business-ISBN/
-Source0:        http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-%{module_version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source0:        http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-%{cpan_version}.tar.gz
 BuildArch:      noarch
-
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Test::Manifest 1.21 is optional
+# Run-time:
 BuildRequires:  perl(base)
-BuildRequires:  perl(Business::ISBN::Data)
+BuildRequires:  perl(Business::ISBN::Data) >= 20120719.001
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(subs)
+BuildRequires:  perl(vars)
+# Optinonal run-time
 BuildRequires:  perl(GD::Barcode::EAN13)
-BuildRequires:  perl(IO::Socket)
 # Break build dependency cycle involving LWP::Simple and URI
 %if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(LWP::Simple)
 %endif
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.00
+# Tests:
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(Test::More) >= 0.95
 BuildRequires:  perl(Test::Pod::Coverage)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+BuildRequires:  perl(warnings)
+# Optional tests:
+BuildRequires:  perl(Test::Pod) >= 1.00
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This modules handles International Standard Book Numbers, including
 ISBN-10 and ISBN-13.
 
-
 %prep
-%setup -q -n Business-ISBN-%{module_version}
+%setup -q -n Business-ISBN-%{cpan_version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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 -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-
 %check
 make test
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README LICENSE examples/
+%doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Mon Jun 03 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.06-1
+- 2.06 bump
+
 * Wed Feb 27 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 2.05.03-3
 - Don't BR: perl(LWP::Simple) for optional tests when bootstrapping; this is a
   cleaner fix than nobbling perl-URI's runtime dependencies
diff --git a/sources b/sources
index 5bb24f5..3c94565 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c1a2d0ae95b6fc371a98f821620dc4e0  Business-ISBN-2.05_03.tar.gz
+7348e6da7cb0f87702bd5c4be89baf2f  Business-ISBN-2.06.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