Perl 5.22 rebuild; Increase Epoch to favour standalone package

This commit is contained in:
Jitka Plesnikova 2015-06-03 13:39:41 +02:00
parent d6375de3b5
commit 10af77d67d

View File

@ -1,14 +1,15 @@
%global cpan_version 2.73
Name: perl-Encode Name: perl-Encode
Epoch: 2 Epoch: 3
Version: 2.73 Version: %{cpan_version}
Release: 1%{?dist} Release: 2%{?dist}
Summary: Character encodings in Perl Summary: Character encodings in Perl
# ucm: UCD # ucm: UCD
# other files: GPL+ or Artistic # other files: GPL+ or Artistic
License: (GPL+ or Artistic) and UCD License: (GPL+ or Artistic) and UCD
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Encode/ URL: http://search.cpan.org/dist/Encode/
Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
@ -69,6 +70,7 @@ of the system. Perl strings are sequences of characters.
%package -n perl-encoding %package -n perl-encoding
Summary: Write your Perl script in non-ASCII or non-UTF-8 Summary: Write your Perl script in non-ASCII or non-UTF-8
Version: 2.15
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
# Keeping this sub-package arch-specific because it installs files into # Keeping this sub-package arch-specific because it installs files into
@ -98,8 +100,9 @@ The easiest and the best alternative is to write your script in UTF-8.
# Keep architecture specific because files go into vendorarch # Keep architecture specific because files go into vendorarch
%package devel %package devel
Summary: Perl Encode Module Generator Summary: Perl Encode Module Generator
Version: %{cpan_version}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}%{?_isa} = %{epoch}:%{cpan_version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl-devel Requires: perl-devel
Requires: perl(Encode) Requires: perl(Encode)
@ -111,7 +114,7 @@ your own encoding to perl. No knowledge of XS is necessary.
%prep %prep
%setup -q -n Encode-%{version} %setup -q -n Encode-%{cpan_version}
%build %build
# Additional scripts can be installed by appending MORE_SCRIPTS, UCM files by # Additional scripts can be installed by appending MORE_SCRIPTS, UCM files by
@ -153,6 +156,10 @@ make test
%{perl_vendorarch}/Encode/encode.h %{perl_vendorarch}/Encode/encode.h
%changelog %changelog
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:2.73-2
- Perl 5.22 rebuild
- Increase Epoch to favour standalone package
* Mon Apr 20 2015 Petr Pisar <ppisar@redhat.com> - 2:2.73-1 * Mon Apr 20 2015 Petr Pisar <ppisar@redhat.com> - 2:2.73-1
- 2.73 bump - 2.73 bump