|
|
@ -1,6 +1,6 @@
|
|
|
|
# Because encoding sub-package has an independent version, version macro gets
|
|
|
|
# Because encoding sub-package has an independent version, version macro gets
|
|
|
|
# redefined.
|
|
|
|
# redefined.
|
|
|
|
%global cpan_version 3.01
|
|
|
|
%global cpan_version 3.08
|
|
|
|
Name: perl-Encode
|
|
|
|
Name: perl-Encode
|
|
|
|
Epoch: 4
|
|
|
|
Epoch: 4
|
|
|
|
Version: %{cpan_version}
|
|
|
|
Version: %{cpan_version}
|
|
|
@ -8,7 +8,7 @@ Version: %{cpan_version}
|
|
|
|
# perl-encoding sub-package has independent version which does not change
|
|
|
|
# perl-encoding sub-package has independent version which does not change
|
|
|
|
# often and consecutive builds would clash on perl-encoding NEVRA. This is the
|
|
|
|
# often and consecutive builds would clash on perl-encoding NEVRA. This is the
|
|
|
|
# same case as in perl.spec.
|
|
|
|
# same case as in perl.spec.
|
|
|
|
Release: 439%{?dist}
|
|
|
|
Release: 462%{?dist}
|
|
|
|
Summary: Character encodings in Perl
|
|
|
|
Summary: Character encodings in Perl
|
|
|
|
# ucm: UCD
|
|
|
|
# ucm: UCD
|
|
|
|
# bin/encguess: Artistic 2.0
|
|
|
|
# bin/encguess: Artistic 2.0
|
|
|
@ -16,6 +16,8 @@ Summary: Character encodings in Perl
|
|
|
|
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
|
|
|
|
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
|
|
|
|
URL: https://metacpan.org/release/Encode
|
|
|
|
URL: https://metacpan.org/release/Encode
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz
|
|
|
|
|
|
|
|
# Encode.pm does not load code from outside expected @INC (rhbz#1984005, CVE-2021-36770)
|
|
|
|
|
|
|
|
Patch0: Encode-3.08-mitigate-INC-pollution-when-loading-ConfigLocal.patch
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
@ -52,6 +54,7 @@ BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
# Benchmark not used
|
|
|
|
# Benchmark not used
|
|
|
|
|
|
|
|
BuildRequires: perl(blib)
|
|
|
|
BuildRequires: perl(charnames)
|
|
|
|
BuildRequires: perl(charnames)
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
@ -82,7 +85,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.22
|
|
|
|
Version: 3.00
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
# Keeping this sub-package arch-specific because it installs files into
|
|
|
|
# Keeping this sub-package arch-specific because it installs files into
|
|
|
|
# arch-specific directories.
|
|
|
|
# arch-specific directories.
|
|
|
@ -126,6 +129,7 @@ your own encoding to perl. No knowledge of XS is necessary.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Encode-%{cpan_version}
|
|
|
|
%setup -q -n Encode-%{cpan_version}
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
@ -140,8 +144,8 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -delete
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
unset AUTHOR_TESTING ENC2XS_VERBOSE MAKEFLAGS PERL_CORE PERL_ENCODING \
|
|
|
|
unset AUTHOR_TESTING ENC2XS_NO_COMMENTS ENC2XS_VERBOSE MAKEFLAGS PERL_CORE \
|
|
|
|
PERL_ENCODE_DEBUG RELEASE_TESTING
|
|
|
|
PERL_ENCODING PERL_ENCODE_DEBUG
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -169,8 +173,46 @@ make test
|
|
|
|
%{perl_vendorarch}/Encode/encode.h
|
|
|
|
%{perl_vendorarch}/Encode/encode.h
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4:3.01-439
|
|
|
|
* Tue Aug 10 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4:3.08-462
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Resolves: rhbz#1984005, CVE-2021-36770 - mitigate @INC pollution when
|
|
|
|
|
|
|
|
loading ConfigLocal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4:3.08-461
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4:3.08-460
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:3.08-459
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 02 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:3.08-458
|
|
|
|
|
|
|
|
- 3.08 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Petr Pisar <ppisar@redhat.com> - 4:3.07-457
|
|
|
|
|
|
|
|
- 3.07 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:3.06-456
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 04 2020 Petr Pisar <ppisar@redhat.com> - 4:3.06-445
|
|
|
|
|
|
|
|
- 3.06 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 19 2020 Petr Pisar <ppisar@redhat.com> - 4:3.05-444
|
|
|
|
|
|
|
|
- 3.05 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 11 2020 Petr Pisar <ppisar@redhat.com> - 4:3.04-443
|
|
|
|
|
|
|
|
- 3.04 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 02 2020 Petr Pisar <ppisar@redhat.com> - 4:3.03-442
|
|
|
|
|
|
|
|
- 3.03 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:3.02-441
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 02 2020 Petr Pisar <ppisar@redhat.com> - 4:3.02-440
|
|
|
|
|
|
|
|
- 3.02 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:3.01-439
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:3.01-439
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|