!25 [sync] PR-17: Move perl-encoding from perl-Encode-devel to perl-Encode
From: @openeuler-sync-bot Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
6653a37c82
@ -2,7 +2,7 @@
|
|||||||
Name: perl-Encode
|
Name: perl-Encode
|
||||||
Epoch: 4
|
Epoch: 4
|
||||||
Version: %{cpan_version}
|
Version: %{cpan_version}
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Character encodings in Perl
|
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
|
||||||
@ -13,7 +13,12 @@ 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(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)
|
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)
|
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
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Encode::ConfigLocal|MY)\\)
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Encode::ConfigLocal|MY)\\)
|
||||||
@ -23,24 +28,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|||||||
The Encode module provides the interface between Perl strings and the rest
|
The Encode module provides the interface between Perl strings and the rest
|
||||||
of the system. Perl strings are sequences of characters.
|
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
|
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
|
like (so long as the Encode module supports it) and still enjoy Unicode
|
||||||
support.
|
support.
|
||||||
@ -51,6 +38,19 @@ be removed in a future version.
|
|||||||
|
|
||||||
The easiest and the best alternative is to write your script in UTF-8.
|
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
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -77,12 +77,12 @@ make test
|
|||||||
%{perl_vendorarch}/Encode*
|
%{perl_vendorarch}/Encode*
|
||||||
%exclude %{perl_vendorarch}/Encode/*.e2x
|
%exclude %{perl_vendorarch}/Encode/*.e2x
|
||||||
%exclude %{perl_vendorarch}/Encode/encode.h
|
%exclude %{perl_vendorarch}/Encode/encode.h
|
||||||
|
%{perl_vendorarch}/encoding.pm
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/enc2xs
|
%{_bindir}/enc2xs
|
||||||
%{perl_vendorarch}/Encode/*.e2x
|
%{perl_vendorarch}/Encode/*.e2x
|
||||||
%{perl_vendorarch}/Encode/encode.h
|
%{perl_vendorarch}/Encode/encode.h
|
||||||
%{perl_vendorarch}/encoding.pm
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man1/enc2xs.*
|
%{_mandir}/man1/enc2xs.*
|
||||||
@ -93,6 +93,9 @@ make test
|
|||||||
%{_mandir}/man3/Encode::*
|
%{_mandir}/man3/Encode::*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Apr 26 2022 renhongxun <renhongxun@h-partners.com> - 4:3.16-2
|
||||||
- upgrade epoch to 4
|
- upgrade epoch to 4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user