Perl 5.22 rebuild; Increase Epoch to favour standalone package
This commit is contained in:
parent
d6375de3b5
commit
10af77d67d
@ -1,14 +1,15 @@
|
||||
%global cpan_version 2.73
|
||||
Name: perl-Encode
|
||||
Epoch: 2
|
||||
Version: 2.73
|
||||
Release: 1%{?dist}
|
||||
Epoch: 3
|
||||
Version: %{cpan_version}
|
||||
Release: 2%{?dist}
|
||||
Summary: Character encodings in Perl
|
||||
# ucm: UCD
|
||||
# other files: GPL+ or Artistic
|
||||
License: (GPL+ or Artistic) and UCD
|
||||
Group: Development/Libraries
|
||||
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(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec)
|
||||
@ -69,6 +70,7 @@ of the system. Perl strings are sequences of characters.
|
||||
|
||||
%package -n perl-encoding
|
||||
Summary: Write your Perl script in non-ASCII or non-UTF-8
|
||||
Version: 2.15
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
# 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
|
||||
%package devel
|
||||
Summary: Perl Encode Module Generator
|
||||
Version: %{cpan_version}
|
||||
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-devel
|
||||
Requires: perl(Encode)
|
||||
@ -111,7 +114,7 @@ your own encoding to perl. No knowledge of XS is necessary.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Encode-%{version}
|
||||
%setup -q -n Encode-%{cpan_version}
|
||||
|
||||
%build
|
||||
# Additional scripts can be installed by appending MORE_SCRIPTS, UCM files by
|
||||
@ -153,6 +156,10 @@ make test
|
||||
%{perl_vendorarch}/Encode/encode.h
|
||||
|
||||
%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
|
||||
- 2.73 bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user