From 37aebd8484b7cffa813dbcaec511de0de59f1314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 9 Jan 2020 13:56:36 +0100 Subject: [PATCH] Move UNIVERSAL to perl-libs This module name space with methods is implemented in libperl.so. The module file only supplies a dummy import() method. The module file exists for a backward compatiblity. Technically we could separate the module file from perl-libs, but it carry a documentation. The documentation is similar to one that can be found in perlobj POD, bud the UNIVERSAL POD is easier to discover. --- gendep.macros | 2 +- perl.spec | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gendep.macros b/gendep.macros index accc518..78a64b2 100644 --- a/gendep.macros +++ b/gendep.macros @@ -2204,7 +2204,6 @@ Provides: perl(DB) = 1.08 \ Provides: perl(DynaLoader) = 1.45 \ Provides: perl(EVERY::LAST) \ Provides: perl(Pod::Functions) = 1.13 \ -Provides: perl(UNIVERSAL) = 1.13 \ Provides: perl(dumpvar.pl) \ Provides: perl(feature) = 1.54 \ Provides: perl(filetest) = 1.03 \ @@ -2302,6 +2301,7 @@ Provides: perl(Tie::ExtraHash) \ Provides: perl(Tie::Hash) = 1.05 \ Provides: perl(Tie::Hash::NamedCapture) = 0.10 \ Provides: perl(Tie::StdHash) \ +Provides: perl(UNIVERSAL) = 1.13 \ Provides: perl(XSLoader) = 0.30 \ Provides: perl(attributes) = 0.33 \ Provides: perl(bytes) = 1.07 \ diff --git a/perl.spec b/perl.spec index 0e46d6b..c6811df 100644 --- a/perl.spec +++ b/perl.spec @@ -4511,6 +4511,7 @@ popd %exclude %{privlib}/PerlIO.pm %exclude %{privlib}/strict.pm %exclude %{privlib}/unicore +%exclude %{privlib}/UNIVERSAL.pm %exclude %{privlib}/utf8.pm %exclude %{privlib}/utf8_heavy.pl %exclude %{privlib}/warnings @@ -4538,6 +4539,7 @@ popd %exclude %{_mandir}/man3/utf8.* %exclude %{_mandir}/man3/warnings.* %exclude %{_mandir}/man3/warnings::* +%exclude %{_mandir}/man3/UNIVERSAL.* %exclude %{_mandir}/man3/XSLoader.* # devel @@ -5747,6 +5749,7 @@ popd %{privlib}/PerlIO.pm %{privlib}/strict.pm %{privlib}/unicore +%{privlib}/UNIVERSAL.pm %{privlib}/utf8.pm %{privlib}/utf8_heavy.pl %{privlib}/warnings @@ -5775,6 +5778,7 @@ popd %{_mandir}/man3/utf8.* %{_mandir}/man3/warnings.* %{_mandir}/man3/warnings::* +%{_mandir}/man3/UNIVERSAL.* %{_mandir}/man3/XSLoader.* %files devel @@ -7257,6 +7261,7 @@ popd - Subpackage DirHandle - Subpackage Symbol - Subpackage SelectSaver +- Move UNIVERSAL to perl-libs * Wed Jan 29 2020 Fedora Release Engineering - 4:5.30.1-450 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild