Subpackage Thread

This commit is contained in:
Petr Písař 2020-01-03 14:02:07 +01:00
parent 8c307663c2
commit de9374270a
3 changed files with 46 additions and 5 deletions

View File

@ -1917,6 +1917,15 @@ Requires: perl(vars) \
Provides: perl(Tie::RefHash) = 1.39 \ Provides: perl(Tie::RefHash) = 1.39 \
Provides: perl(Tie::RefHash::Nestable) \ Provides: perl(Tie::RefHash::Nestable) \
%{nil} %{nil}
%global gendep_perl_Thread \
Requires: perl(Config) \
Requires: perl(Exporter) \
Requires: perl(strict) \
Requires: perl(threads) \
Requires: perl(threads::shared) \
Requires: perl(warnings) \
Provides: perl(Thread) = 3.04 \
%{nil}
%global gendep_perl_Thread_Queue \ %global gendep_perl_Thread_Queue \
Requires: perl(Scalar::Util) >= 1.10 \ Requires: perl(Scalar::Util) >= 1.10 \
Requires: perl(strict) \ Requires: perl(strict) \
@ -2125,8 +2134,6 @@ Requires: perl(feature) \
Requires: perl(if) \ Requires: perl(if) \
Requires: perl(integer) \ Requires: perl(integer) \
Requires: perl(strict) \ Requires: perl(strict) \
Requires: perl(threads) \
Requires: perl(threads::shared) \
Requires: perl(warnings) \ Requires: perl(warnings) \
Requires: perl(warnings::register) \ Requires: perl(warnings::register) \
Provides: perl(Config::Extensions) = 0.03 \ Provides: perl(Config::Extensions) = 0.03 \
@ -2143,7 +2150,6 @@ Provides: perl(Getopt::Std) = 1.12 \
Provides: perl(Pod::Functions) = 1.13 \ Provides: perl(Pod::Functions) = 1.13 \
Provides: perl(SelectSaver) = 1.02 \ Provides: perl(SelectSaver) = 1.02 \
Provides: perl(Symbol) = 1.08 \ Provides: perl(Symbol) = 1.08 \
Provides: perl(Thread) = 3.04 \
Provides: perl(UNIVERSAL) = 1.13 \ Provides: perl(UNIVERSAL) = 1.13 \
Provides: perl(Unicode::UCD) = 0.72 \ Provides: perl(Unicode::UCD) = 0.72 \
Provides: perl(deprecate) = 0.04 \ Provides: perl(deprecate) = 0.04 \

View File

@ -1,5 +1,5 @@
from Config import * from Config import *
addFilter("spelling-error .* (autoloaded|awk|cacheout|decrement|exe|gdbm|getgr|gethost|getnet|getproto|getpw|getserv|globbing|gmtime|groff|libnet|localtime|lstat|Memoizing|metapackage|ndbm|Nestable|odbm|opcodes|perlbug|perldoc|perlfunc|perlglob|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)"); addFilter("spelling-error .* (autoloaded|awk|cacheout|decrement|exe|gdbm|getgr|gethost|getnet|getproto|getpw|getserv|globbing|gmtime|groff|ithreads|libnet|localtime|lstat|Memoizing|metapackage|ndbm|Nestable|odbm|opcodes|perlbug|perldoc|perlfunc|perlglob|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sdbm|sed|splain|truncations|usr|writemain)");
addFilter("unexpanded-macro %description .* %INC"); addFilter("unexpanded-macro %description .* %INC");
# POSIX module provides wrappers for libc functions # POSIX module provides wrappers for libc functions
addFilter("missing-call-to-setgroups-before-setuid .*/auto/POSIX/POSIX.so"); addFilter("missing-call-to-setgroups-before-setuid .*/auto/POSIX/POSIX.so");

View File

@ -430,7 +430,7 @@ Requires: perl-Term-ReadLine,
Requires: perl-Test, perl-Test-Harness, perl-Test-Simple, Requires: perl-Test, perl-Test-Harness, perl-Test-Simple,
Requires: perl-Text-Abbrev, perl-Text-Balanced, perl-Text-ParseWords, Requires: perl-Text-Abbrev, perl-Text-Balanced, perl-Text-ParseWords,
Requires: perl-Text-Tabs+Wrap, Requires: perl-Text-Tabs+Wrap,
Requires: perl-Thread-Queue, perl-Thread-Semaphore, Requires: perl-Thread, perl-Thread-Queue, perl-Thread-Semaphore,
Requires: perl-threads, perl-threads-shared, Requires: perl-threads, perl-threads-shared,
Requires: perl-Tie, perl-Tie-File, perl-Tie-Memoize, perl-Tie-RefHash, Requires: perl-Tie, perl-Tie-File, perl-Tie-Memoize, perl-Tie-RefHash,
Requires: perl-Time, perl-Time-HiRes, perl-Time-Local, perl-Time-Piece, Requires: perl-Time, perl-Time-HiRes, perl-Time-Local, perl-Time-Piece,
@ -3432,6 +3432,31 @@ Text::Wrap::wrap() will reformat lines into paragraphs. All it does is break
up long lines, it will not join short lines together. up long lines, it will not join short lines together.
%endif %endif
%package Thread
Summary: Manipulate threads in Perl (for old code only)
License: GPL+ or Artistic
Epoch: 0
Version: 3.04
BuildArch: noarch
Requires: %perl_compat
%if %{defined perl_bootstrap}
%gendep_perl_Thread
%endif
Conflicts: perl < 4:5.30.1-451
%description Thread
This Thread module served as the front end to the old-style thread model,
called 5005threads, that has been removed in version 5.10.
For old code and interim backwards compatibility, the Thread module has been
reworked to function as a front end for the new interpreter threads (ithreads)
model. However, some previous functionality is not available. Further, the
data sharing models between the two thread models are completely different,
and anything to do with data sharing has to be thought differently.
You are strongly encouraged to migrate any existing threaded code to the new
model (i.e., use the threads and threads::shared modules) as soon as possible.
%if %{dual_life} || %{rebuild_from_scratch} %if %{dual_life} || %{rebuild_from_scratch}
%package Thread-Queue %package Thread-Queue
Summary: Thread-safe queues Summary: Thread-safe queues
@ -5239,11 +5264,16 @@ popd
%exclude %{_mandir}/man3/Text::Tabs.* %exclude %{_mandir}/man3/Text::Tabs.*
%exclude %{_mandir}/man3/Text::Wrap.* %exclude %{_mandir}/man3/Text::Wrap.*
# Thread
%exclude %{privlib}/Thread.pm
%exclude %{_mandir}/man3/Thread.*
# Thread-Queue # Thread-Queue
%exclude %{privlib}/Thread/Queue.pm %exclude %{privlib}/Thread/Queue.pm
%exclude %{_mandir}/man3/Thread::Queue.* %exclude %{_mandir}/man3/Thread::Queue.*
# Thread-Semaphore # Thread-Semaphore
%exclude %dir %{privlib}/Thread
%exclude %{privlib}/Thread/Semaphore.pm %exclude %{privlib}/Thread/Semaphore.pm
%exclude %{_mandir}/man3/Thread::Semaphore.* %exclude %{_mandir}/man3/Thread::Semaphore.*
@ -6620,6 +6650,10 @@ popd
%{_mandir}/man3/Text::Wrap.* %{_mandir}/man3/Text::Wrap.*
%endif %endif
%files Thread
%{privlib}/Thread.pm
%{_mandir}/man3/Thread.*
%if %{dual_life} || %{rebuild_from_scratch} %if %{dual_life} || %{rebuild_from_scratch}
%files Thread-Queue %files Thread-Queue
%dir %{privlib}/Thread %dir %{privlib}/Thread
@ -6806,6 +6840,7 @@ popd
- Move warnings::register to perl-libs - Move warnings::register to perl-libs
- Subpackage DBM_Filter modules - Subpackage DBM_Filter modules
- Subpackage FileHandle - Subpackage FileHandle
- Subpackage Thread
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:5.30.1-450 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild