From c30802a8b1a548f75168d7438b3c865e08c199ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 6 Dec 2019 12:52:10 +0100 Subject: [PATCH] Move attributes module into perl-libs "attributes" module is loaded automatically from op.c when an unknown attribute is used, e.g.: sub foo : Foo; --- gendep.macros | 3 ++- perl.spec | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gendep.macros b/gendep.macros index ee7dd6c..601093b 100644 --- a/gendep.macros +++ b/gendep.macros @@ -1980,7 +1980,6 @@ Provides: perl(Unicode::UCD) = 0.72 \ Provides: perl(User::grent) = 1.03 \ Provides: perl(User::pwent) = 1.01 \ Provides: perl(_charnames) = 1.45 \ -Provides: perl(attributes) = 0.33 \ Provides: perl(blib) = 1.07 \ Provides: perl(bytes) = 1.07 \ Provides: perl(bytes_heavy.pl) \ @@ -2059,6 +2058,7 @@ Requires: perl(strict) \ Requires: perl(vars) \ %{nil} %global gendep_perl_libs \ +Requires: perl(XSLoader) \ Requires: perl(integer) \ Requires: perl(strict) \ Requires: perl(warnings) \ @@ -2070,6 +2070,7 @@ Provides: perl(:WITH_LARGEFILES) \ Provides: perl(:WITH_PERLIO) \ Provides: perl(:WITH_THREADS) \ Provides: perl(XSLoader) = 0.30 \ +Provides: perl(attributes) = 0.33 \ Provides: perl(integer) = 1.01 \ Provides: perl(re) = 0.37 \ Provides: perl(strict) = 1.11 \ diff --git a/perl.spec b/perl.spec index 0e42bcf..373f6b0 100644 --- a/perl.spec +++ b/perl.spec @@ -532,7 +532,6 @@ Provides: perl(utf8_heavy.pl) Requires: perl(Carp) Requires: perl(Exporter) # Term::Cap is optional -Requires: perl(XSLoader) %if %{defined perl_bootstrap} %gendep_perl_libs %endif @@ -3652,7 +3651,10 @@ popd # libs %exclude %dir %{archlib} +%exclude %{archlib}/attributes.pm %exclude %dir %{archlib}/auto +%exclude %dir %{archlib}/auto/attributes +%exclude %{archlib}/auto/attributes/attributes.so %exclude %{archlib}/auto/re %exclude %dir %{archlib}/CORE %exclude %{archlib}/CORE/libperl.so @@ -3669,6 +3671,7 @@ popd %exclude %{privlib}/warnings.pm %exclude %{privlib}/XSLoader.pm %exclude %dir %{perl_vendorlib} +%exclude %{_mandir}/man3/attributes.* %exclude %{_mandir}/man3/integer.* %exclude %{_mandir}/man3/re.* %exclude %{_mandir}/man3/strict.* @@ -4603,7 +4606,10 @@ popd %license Artistic Copying %doc AUTHORS README Changes %dir %{archlib} +%{archlib}/attributes.pm %dir %{archlib}/auto +%dir %{archlib}/auto/attributes +%{archlib}/auto/attributes/attributes.so %{archlib}/auto/re %dir %{archlib}/CORE %{archlib}/CORE/libperl.so @@ -4620,6 +4626,7 @@ popd %{privlib}/warnings.pm %{privlib}/XSLoader.pm %dir %{perl_vendorlib} +%{_mandir}/man3/attributes.* %{_mandir}/man3/integer.* %{_mandir}/man3/re.* %{_mandir}/man3/strict.* @@ -5798,6 +5805,7 @@ popd - Subpackage Text-Abbrev - Subpackage Thread-Semaphore - Subpackage Tie-File +- Move attributes module into perl-libs * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild