[perl-Module-Pluggable] Increase release to favour standalone package

Petr Pisar ppisar at fedoraproject.org
Mon Jul 15 11:35:25 UTC 2013


commit 2f272bc0e35b98f4cfedc5abc73549fb7c9b0d56
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Jul 15 13:34:35 2013 +0200

    Increase release to favour standalone package

 perl-Module-Pluggable.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/perl-Module-Pluggable.spec b/perl-Module-Pluggable.spec
index 60e54ce..8e0690f 100644
--- a/perl-Module-Pluggable.spec
+++ b/perl-Module-Pluggable.spec
@@ -1,13 +1,15 @@
+%global cpan_version 4.8
 Name:           perl-Module-Pluggable
 # Epoch to compete with perl.spec
 Epoch:          1
-Version:        4.8
-Release:        2%{?dist}
+# Keep two digit decimal part
+Version:        %{cpan_version}0
+Release:        290%{?dist}
 Summary:        Automatically give your module the ability to have plugins
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Module-Pluggable/
-Source0:        http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{cpan_version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl(FindBin)
@@ -46,7 +48,7 @@ your name space that looks through a search path for .pm files and turn those
 into class names. Optionally it instantiates those classes for you.
 
 %prep
-%setup -q -n Module-Pluggable-%{version}
+%setup -q -n Module-Pluggable-%{cpan_version}
 find -type f -exec chmod -x {} +
 
 %build
@@ -66,6 +68,9 @@ perl Build.PL installdirs=vendor
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 15 2013 Petr Pisar <ppisar at redhat.com> - 1:4.80-290
+- Increase release to favour standalone package
+
 * Fri Jul 12 2013 Petr Pisar <ppisar at redhat.com> - 1:4.8-2
 - Perl 5.18 rebuild
 



More information about the perl-devel mailing list