Subpackage ODBM_File

This commit is contained in:
Petr Písař 2019-12-06 14:41:52 +01:00
parent 205234ed1b
commit e2a759790d
3 changed files with 45 additions and 2 deletions

View File

@ -1075,6 +1075,13 @@ Requires: perl(constant) \
Requires: perl(strict) \
Provides: perl(Net::Ping) = 2.71 \
%{nil}
%global gendep_perl_ODBM_File \
Requires: perl(strict) \
Requires: perl(Tie::Hash) \
Requires: perl(warnings) \
Requires: perl(XSLoader) \
Provides: perl(ODBM_File) = 1.16 \
%{nil}
%global gendep_perl_NEXT \
Provides: perl(NEXT) = 0.67 \
Provides: perl(NEXT::ACTUAL) \
@ -1956,7 +1963,6 @@ Provides: perl(Net::netent) = 1.01 \
Provides: perl(Net::protoent) = 1.01 \
Provides: perl(Net::servent) = 1.02 \
Provides: perl(O) = 1.03 \
Provides: perl(ODBM_File) = 1.16 \
Provides: perl(Opcode) = 1.43 \
Provides: perl(POSIX) = 1.88 \
Provides: perl(POSIX::SigAction) \

View File

@ -1,5 +1,5 @@
from Config import *
addFilter("spelling-error .* (autoloaded|awk|decrement|gdbm|gmtime|groff|libnet|localtime|Memoizing|metapackage|ndbm|Nestable|perlbug|perldoc|perlfunc|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sed|splain|truncations|usr|writemain)");
addFilter("spelling-error .* (autoloaded|awk|decrement|gdbm|gmtime|groff|libnet|localtime|Memoizing|metapackage|ndbm|Nestable|odbm|perlbug|perldoc|perlfunc|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sed|splain|truncations|usr|writemain)");
addFilter("unexpanded-macro %description .* %INC");
# Applied with "git am"
addFilter("patch-not-applied Patch58: perl-5.30.0-PATCH-perl-134329-Use-after-free-in-regcomp.c.patch");

View File

@ -407,6 +407,9 @@ Requires: perl-Module-Loaded, perl-Module-Metadata,
Requires: perl-NDBM_File,
%endif
Requires: perl-Net-Ping, perl-NEXT,
%if %{with gdbm}
Requires: perl-ODBM_File,
%endif
Requires: perl-open,
Requires: perl-parent, perl-PathTools, perl-Params-Check, perl-perlfaq,
Requires: perl-PerlIO-via-QuotedPrint, perl-Perl-OSType,
@ -2362,6 +2365,25 @@ The NEXT module adds a pseudo-class named "NEXT" to any program that uses it.
If a method "m" calls "$self->NEXT::m()", the call to "m" is redispatched as
if the calling method had not originally been found.
%if %{with gdbm}
%package ODBM_File
Summary: Tied access to odbm files
License: GPL+ or Artistic
Epoch: 0
Version: 1.16
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_ODBM_File
%endif
Conflicts: perl-interpreter < 4:5.30.1-451
%description ODBM_File
ODBM_File establishes a connection between a Perl hash variable and a file in
odbm format. You can manipulate the data in the file just as if it were in
a Perl hash, but when your program exits, the data will remain in the file, to
be used the next time your program runs.
%endif
%package open
Summary: Perl pragma to set default PerlIO layers for input and output
License: GPL+ or Artistic
@ -4378,6 +4400,13 @@ popd
%exclude %{privlib}/NEXT.pm
%exclude %{_mandir}/man3/NEXT.*
%if %{with gdbm}
# ODBM_File
%exclude %{archlib}/ODBM_File.pm
%exclude %{archlib}/auto/ODBM_File
%exclude %{_mandir}/man3/ODBM_File.3*
%endif
# PathTools
%exclude %{archlib}/Cwd.pm
%exclude %{archlib}/File/Spec*
@ -5481,6 +5510,13 @@ popd
%{privlib}/NEXT.pm
%{_mandir}/man3/NEXT.*
%if %{with gdbm}
%files ODBM_File
%{archlib}/ODBM_File.pm
%{archlib}/auto/ODBM_File
%{_mandir}/man3/ODBM_File.3*
%endif
%if %{dual_life} || %{rebuild_from_scratch}
%files PathTools
%{archlib}/Cwd.pm
@ -5878,6 +5914,7 @@ popd
- Move attributes module into perl-libs
- Subpackage GDBM_File
- Subpackage NDBM_File
- Subpackage ODBM_File
* 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