Compare commits

..

No commits in common. "93e35757f76efae09f65f3a5a36dd415502d265b" and "a801f6c2b3e9cda783177694b4f8bbe17d8a125f" have entirely different histories.

3 changed files with 6 additions and 17 deletions

BIN
Encode-3.16.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
%global cpan_version 3.21
%global cpan_version 3.16
Name: perl-Encode
Epoch: 4
Version: %{cpan_version}
Release: 2
Summary: Character encodings in Perl
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) and Artistic-2.0
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
URL: https://metacpan.org/release/Encode
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/Encode-%{cpan_version}.tar.gz
BuildRequires: findutils gcc make perl-devel perl-generators perl-interpreter perl(Config) perl(ExtUtils::MakeMaker) perl(File::Spec) perl(File::Spec::Functions) perl(strict) perl(warnings)
@ -13,7 +13,7 @@ BuildRequires: perl(MIME::Base64) perl(overload) perl(parent) perl(re) perl(Sto
BuildRequires: perl(charnames) perl(File::Compare) perl(File::Copy) perl(FileHandle) perl(FindBin) perl(IO::Select) perl(IPC::Open3)
BuildRequires: perl(lib) perl(open) perl(Scalar::Util) perl(Symbol) perl(Test::More) perl(Tie::Scalar)
Requires: perl(parent)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(parent)
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Encode::ConfigLocal|MY)\\)
@ -26,7 +26,7 @@ of the system. Perl strings are sequences of characters.
%package devel
Summary: Perl Encode Module Generator
Version: %{cpan_version}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
License: (GPL+ or Artistic) and UCD
Requires: %{name}%{?_isa} = %{epoch}:%{cpan_version}-%{release} perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Recommends: perl-devel%{?_isa}
Requires: perl(Encode) perl(Carp) perl(Filter::Util::Call)
@ -62,6 +62,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
@ -92,18 +93,6 @@ make test
%{_mandir}/man3/Encode::*
%changelog
* Fri Jan 17 2025 Funda Wang <fundawang@yeah.net> - 4:3.21-2
- drop useless perl(:MODULE_COMPAT) requirement
* Mon Mar 11 2024 GuoCe <guoce@kylinos.cn> - 4:3.21-1
- upgrade to version 3.21
* Fri Jan 26 2024 zhangyao <zhangyao108@huawei.com> - 4:3.20-1
- upgrade to version 3.20
* Tue Jul 18 2023 leeffo <liweiganga@uniontech.com> - 4:3.19-1
- upgrade to version 3.19
* Tue Apr 26 2022 renhognxun <renhongxun@h-partners.com> - 4:3.16-2
- upgrade epoch to 4
@ -113,7 +102,7 @@ make test
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 1:3.08-1
- upgrade version to 3.08
* Thu Jul 23 2020 xinghe <xinghe1@huawei.com> - 1:3.06-1
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 1:3.06-1
- Type:enhancement
- ID:NA
- SUG:NA