[perl-Module-Build] 0.4001 bump

Petr Pisar ppisar at fedoraproject.org
Wed Jun 27 07:24:24 UTC 2012


commit 0d297feeb695edfb7250de9633b44807c8c4e25e
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Jun 27 09:23:31 2012 +0200

    0.4001 bump

 .gitignore             |    1 +
 perl-Module-Build.spec |   15 +++++++++++----
 sources                |    2 +-
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5f765d9..c6c2c85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ Module-Build-0.2808.tar.gz
 /Module-Build-0.3624.tar.gz
 /Module-Build-0.3800.tar.gz
 /Module-Build-0.40.tar.gz
+/Module-Build-0.4001.tar.gz
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index b7a2fc1..4d1cf6a 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -1,12 +1,16 @@
+%global cpan_version_major 0.40
+%global cpan_version_minor 01
+%global cpan_version %{cpan_version_major}%{?cpan_version_minor}
+
 Name:           perl-Module-Build
 Epoch:          2
-Version:        0.40
-Release:        3%{?dist}
+Version:        %{cpan_version_major}%{?cpan_version_minor:.%cpan_version_minor}
+Release:        1%{?dist}
 Summary:        Build and install Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Module-Build/
-Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{cpan_version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl-devel
 BuildRequires:  perl(Archive::Tar)
@@ -79,7 +83,7 @@ only prerequisites are modules that are included with perl 5.6.0, and it
 works fine on perl 5.005 if you can install a few additional modules.
 
 %prep
-%setup -q -n Module-Build-%{version}
+%setup -q -n Module-Build-%{cpan_version}
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -102,6 +106,9 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jun 27 2012 Petr Pisar <ppisar at redhat.com> - 2:0.40.01-1
+- 0.4001 bump
+
 * Wed Jun 06 2012 Petr Pisar <ppisar at redhat.com> - 2:0.40-3
 - Perl 5.16 rebuild
 
diff --git a/sources b/sources
index 6e0b0a1..9d36bf6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7ef4a7d968cbcd2ab7286b834f885142  Module-Build-0.40.tar.gz
+5021d2a6d536aa3c4af3e96afcdcc9ae  Module-Build-0.4001.tar.gz


More information about the scm-commits mailing list