Subpackage lib

This commit is contained in:
Petr Písař 2019-12-04 15:29:27 +01:00
parent a155f75ed8
commit 095511f54a
2 changed files with 30 additions and 2 deletions

View File

@ -1955,7 +1955,6 @@ Provides: perl(dumpvar.pl) \
Provides: perl(feature) = 1.54 \
Provides: perl(filetest) = 1.03 \
Provides: perl(less) = 0.03 \
Provides: perl(lib) = 0.65 \
Provides: perl(locale) = 1.09 \
Provides: perl(mro) = 1.22 \
Provides: perl(ops) = 1.02 \
@ -1972,6 +1971,11 @@ Provides: perl(warnings::register) = 1.04 \
%{nil}
%global gendep_perl_interpreter_debuginfo \
%{nil}
%global gendep_perl_lib \
Requires: perl(Config) \
Requires: perl(strict) \
Provides: perl(lib) = 0.65 \
%{nil}
%global gendep_perl_libnet \
Requires: perl(:VERSION) >= 5.8.1 \
Requires: perl(Carp) \

View File

@ -393,7 +393,7 @@ Requires: perl-if, perl-IO, perl-IO-Compress, perl-IO-Socket-IP,
Requires: perl-I18N-Collate, perl-I18N-LangTags,
Requires: perl-IO-Zlib, perl-IPC-Cmd, perl-IPC-SysV,
Requires: perl-JSON-PP,
Requires: perl-libnet, perl-libnetcfg,
Requires: perl-lib, perl-libnet, perl-libnetcfg,
Requires: perl-Locale-Maketext, perl-Locale-Maketext-Simple,
Requires: perl-Math-BigInt, perl-Math-BigInt-FastCalc, perl-Math-BigRat,
Requires: perl-Math-Complex, perl-Memoize, perl-MIME-Base64,
@ -1959,6 +1959,21 @@ Marc Lehmann in C, so must be compiled and installed in the used environment.
JSON::PP is a pure-Perl module and is compatible with JSON::XS.
%endif
%package lib
Summary: Manipulate @INC at compile time
License: GPL+ or Artistic
Epoch: 0
Version: 0.65
Requires: %perl_compat
Requires: perl(Carp)
%if %{defined perl_bootstrap}
%gendep_perl_lib
%endif
Conflicts: perl-interpreter < 4:5.30.1-451
%description lib
This module simplifies the manipulation of @INC at compile time.
%if %{dual_life} || %{rebuild_from_scratch}
%package libnet
Summary: Perl clients for various network protocols
@ -4048,6 +4063,10 @@ popd
%exclude %{_mandir}/man3/JSON::PP.3*
%exclude %{_mandir}/man3/JSON::PP::Boolean.3pm*
# lib
%exclude %{archlib}/lib.pm
%exclude %{_mandir}/man3/lib.*
# libnet
%exclude %{privlib}/Net/Cmd.pm
%exclude %{privlib}/Net/Config.pm
@ -5079,6 +5098,10 @@ popd
%{_mandir}/man3/JSON::PP::Boolean.3pm*
%endif
%files lib
%{archlib}/lib.pm
%{_mandir}/man3/lib.*
%if %{dual_life} || %{rebuild_from_scratch}
%files libnet
%dir %{privlib}/Net
@ -5576,6 +5599,7 @@ popd
- Subpackage if
- Subpackage I18N-Collate
- Subpackage I18N-LangTags
- Subpackage lib
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild