Compare commits

..

No commits in common. "6653a37c8252249987b93fc28ba959aef83cfbd8" and "bdc52bbd8a7949e4e1f232eedfddc4b7b31df753" have entirely different histories.

3 changed files with 24 additions and 36 deletions

BIN
Encode-3.06.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,8 @@
%global cpan_version 3.16
%global cpan_version 3.06
Name: perl-Encode
Epoch: 4
Epoch: 1
Version: %{cpan_version}
Release: 3
Release: 1
Summary: Character encodings in Perl
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
URL: https://metacpan.org/release/Encode
@ -13,12 +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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(parent) perl(Carp) perl(Filter::Util::Call)
Suggests: perl(PerlIO::encoding)
Requires: perl(utf8)
Conflicts: perl-Encode < 1:2.64-2
Provides: perl-encoding
Obsoletes: perl-encoding
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)\\)
@ -28,6 +23,24 @@ Obsoletes: perl-encoding
The Encode module provides the interface between Perl strings and the rest
of the system. Perl strings are sequences of characters.
%package devel
Summary: Perl Encode Module Generator
Version: %{cpan_version}
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)
Suggests: perl(PerlIO::encoding)
Requires: perl(utf8)
Conflicts: perl-Encode < 1:2.64-2
Provides: perl-encoding
Obsoletes: perl-encoding
%description devel
enc2xs builds a Perl extension for use by Encode from either Unicode Character
Mapping files (.ucm) or Tcl Encoding Files (.enc). You can use enc2xs to add
your own encoding to perl. No knowledge of XS is necessary.
With the encoding pragma, you can write your Perl script in any encoding you
like (so long as the Encode module supports it) and still enjoy Unicode
support.
@ -38,19 +51,6 @@ be removed in a future version.
The easiest and the best alternative is to write your script in UTF-8.
%package devel
Summary: Perl Encode Module Generator
Version: %{cpan_version}
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)
%description devel
enc2xs builds a Perl extension for use by Encode from either Unicode Character
Mapping files (.ucm) or Tcl Encoding Files (.enc). You can use enc2xs to add
your own encoding to perl. No knowledge of XS is necessary.
%package_help
%prep
@ -77,12 +77,12 @@ make test
%{perl_vendorarch}/Encode*
%exclude %{perl_vendorarch}/Encode/*.e2x
%exclude %{perl_vendorarch}/Encode/encode.h
%{perl_vendorarch}/encoding.pm
%files devel
%{_bindir}/enc2xs
%{perl_vendorarch}/Encode/*.e2x
%{perl_vendorarch}/Encode/encode.h
%{perl_vendorarch}/encoding.pm
%files help
%{_mandir}/man1/enc2xs.*
@ -93,19 +93,7 @@ make test
%{_mandir}/man3/Encode::*
%changelog
* Thu Jun 02 2022 tianwei <tianwei12@h-partners.com> - 4:3.16-3
- Move perl-encoding from perl-Encode-devel to perl-Encode,to minimize extra dependency
* Tue Apr 26 2022 renhongxun <renhongxun@h-partners.com> - 4:3.16-2
- upgrade epoch to 4
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 1:3.16-1
- upgrade version to 3.16
* 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