summaryrefslogtreecommitdiffstats
path: root/perl-Module-Pluggable.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-Module-Pluggable.spec')
-rw-r--r--perl-Module-Pluggable.spec13
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@redhat.com> - 1:4.80-290
+- Increase release to favour standalone package
+
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-2
- Perl 5.18 rebuild