drop useless perl(:MODULE_COMPAT) requirement
(cherry picked from commit e9cdf4f3c270c22dea2503428e424302e5776d0a)
This commit is contained in:
parent
215a4b0389
commit
8f1b8b57c4
@ -2,9 +2,9 @@
|
||||
Name: perl-Encode
|
||||
Epoch: 4
|
||||
Version: %{cpan_version}
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Character encodings in Perl
|
||||
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
|
||||
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) and Artistic-2.0
|
||||
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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(parent)
|
||||
Requires: 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+ or Artistic) and UCD
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
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,7 +62,6 @@ 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
|
||||
@ -93,6 +92,9 @@ 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user