Increase release to favour standalone package

This commit is contained in:
Petr Písař 2013-07-15 13:34:35 +02:00
parent e5cff2b183
commit 2f272bc0e3

View File

@ -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