Subpackage Thread-Semaphore
This commit is contained in:
parent
4facf87fd6
commit
5cf5c84725
@ -1674,6 +1674,13 @@ Requires: perl(threads::shared) >= 1.21 \
|
|||||||
Requires: perl(warnings) \
|
Requires: perl(warnings) \
|
||||||
Provides: perl(Thread::Queue) = 3.13 \
|
Provides: perl(Thread::Queue) = 3.13 \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
%global gendep_perl_Thread_Semaphore \
|
||||||
|
Requires: perl(Scalar::Util) >= 1.10 \
|
||||||
|
Requires: perl(strict) \
|
||||||
|
Requires: perl(threads::shared) \
|
||||||
|
Requires: perl(warnings) \
|
||||||
|
Provides: perl(Thread::Semaphore) = 2.13 \
|
||||||
|
%{nil}
|
||||||
%global gendep_perl_Time_HiRes \
|
%global gendep_perl_Time_HiRes \
|
||||||
Requires: perl(Exporter) \
|
Requires: perl(Exporter) \
|
||||||
Requires: perl(XSLoader) \
|
Requires: perl(XSLoader) \
|
||||||
@ -1852,7 +1859,7 @@ Requires: perl(IO::File) \
|
|||||||
Requires: perl(IPC::Open3) \
|
Requires: perl(IPC::Open3) \
|
||||||
Requires: perl(Opcode) \
|
Requires: perl(Opcode) \
|
||||||
Requires: perl(POSIX) \
|
Requires: perl(POSIX) \
|
||||||
Requires: perl(Scalar::Util) >= 1.10 \
|
Requires: perl(Scalar::Util) \
|
||||||
Requires: perl(Symbol) \
|
Requires: perl(Symbol) \
|
||||||
Requires: perl(Text::Tabs) \
|
Requires: perl(Text::Tabs) \
|
||||||
Requires: perl(Tie::Handle) \
|
Requires: perl(Tie::Handle) \
|
||||||
@ -1944,7 +1951,6 @@ Provides: perl(SelectSaver) = 1.02 \
|
|||||||
Provides: perl(Symbol) = 1.08 \
|
Provides: perl(Symbol) = 1.08 \
|
||||||
Provides: perl(Sys::Hostname) = 1.22 \
|
Provides: perl(Sys::Hostname) = 1.22 \
|
||||||
Provides: perl(Thread) = 3.04 \
|
Provides: perl(Thread) = 3.04 \
|
||||||
Provides: perl(Thread::Semaphore) = 2.13 \
|
|
||||||
Provides: perl(Tie::Array) = 1.07 \
|
Provides: perl(Tie::Array) = 1.07 \
|
||||||
Provides: perl(Tie::ExtraHash) \
|
Provides: perl(Tie::ExtraHash) \
|
||||||
Provides: perl(Tie::File) = 1.02 \
|
Provides: perl(Tie::File) = 1.02 \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from Config import *
|
from Config import *
|
||||||
addFilter("spelling-error .* (autoloaded|awk|gmtime|groff|libnet|localtime|Memoizing|metapackage|Nestable|perlbug|perldoc|perlfunc|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sed|splain|truncations|usr|writemain)");
|
addFilter("spelling-error .* (autoloaded|awk|decrement|gmtime|groff|libnet|localtime|Memoizing|metapackage|Nestable|perlbug|perldoc|perlfunc|perllocale|perlmain|perlpod|perlsub|reachability|redispatch|rpmbuild|sed|splain|truncations|usr|writemain)");
|
||||||
addFilter("unexpanded-macro %description .* %INC");
|
addFilter("unexpanded-macro %description .* %INC");
|
||||||
# Applied with "git am"
|
# Applied with "git am"
|
||||||
addFilter("patch-not-applied Patch58: perl-5.30.0-PATCH-perl-134329-Use-after-free-in-regcomp.c.patch");
|
addFilter("patch-not-applied Patch58: perl-5.30.0-PATCH-perl-134329-Use-after-free-in-regcomp.c.patch");
|
||||||
|
38
perl.spec
38
perl.spec
@ -413,11 +413,13 @@ Requires: perl-Term-ANSIColor, perl-Term-Cap, perl-Term-Complete,
|
|||||||
Requires: perl-Term-ReadLine,
|
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, perl-Thread-Queue, perl-Tie-RefHash,
|
Requires: perl-Text-Tabs+Wrap,
|
||||||
|
Requires: perl-Thread-Queue, perl-Thread-Semaphore,
|
||||||
|
Requires: perl-threads, perl-threads-shared,
|
||||||
|
Requires: perl-Tie-RefHash,
|
||||||
Requires: perl-Time-HiRes, perl-Time-Local, perl-Time-Piece,
|
Requires: perl-Time-HiRes, perl-Time-Local, perl-Time-Piece,
|
||||||
Requires: perl-Unicode-Collate, perl-Unicode-Normalize,
|
Requires: perl-Unicode-Collate, perl-Unicode-Normalize,
|
||||||
Requires: perl-version,
|
Requires: perl-version,
|
||||||
Requires: perl-threads, perl-threads-shared,
|
|
||||||
|
|
||||||
# Full EVR is for compatibility with systems that swapped perl and perl-core
|
# Full EVR is for compatibility with systems that swapped perl and perl-core
|
||||||
# <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>,
|
# <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>,
|
||||||
@ -3060,6 +3062,28 @@ with implementations that return objects. It does so in a backwards compatible
|
|||||||
manner, so that using localtime or gmtime as documented in perlfunc still
|
manner, so that using localtime or gmtime as documented in perlfunc still
|
||||||
behave as expected.
|
behave as expected.
|
||||||
|
|
||||||
|
%package Thread-Semaphore
|
||||||
|
Summary: Thread-safe semaphores
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Epoch: 0
|
||||||
|
Version: 2.13
|
||||||
|
Requires: %perl_compat
|
||||||
|
Requires: perl(Carp)
|
||||||
|
%if %{defined perl_bootstrap}
|
||||||
|
%gendep_perl_Thread_Semaphore
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
Conflicts: perl-interpreter < 4:5.30.1-451
|
||||||
|
|
||||||
|
%description Thread-Semaphore
|
||||||
|
Semaphores provide a mechanism to regulate access to resources. Unlike locks,
|
||||||
|
semaphores aren't tied to particular scalars, and so may be used to control
|
||||||
|
access to anything you care to use them for. Semaphores don't limit their
|
||||||
|
values to zero and one, so they can be used to control access to some resource
|
||||||
|
that there may be more than one of (e.g., file handles). Increment and
|
||||||
|
decrement amounts aren't fixed at one either, so threads can reserve or return
|
||||||
|
multiple resources at once.
|
||||||
|
|
||||||
%if %{dual_life} || %{rebuild_from_scratch}
|
%if %{dual_life} || %{rebuild_from_scratch}
|
||||||
%package threads
|
%package threads
|
||||||
Summary: Perl interpreter-based threads
|
Summary: Perl interpreter-based threads
|
||||||
@ -4483,6 +4507,10 @@ popd
|
|||||||
%exclude %{privlib}/Thread/Queue.pm
|
%exclude %{privlib}/Thread/Queue.pm
|
||||||
%exclude %{_mandir}/man3/Thread::Queue.*
|
%exclude %{_mandir}/man3/Thread::Queue.*
|
||||||
|
|
||||||
|
# Thread-Semaphore
|
||||||
|
%exclude %{privlib}/Thread/Semaphore.pm
|
||||||
|
%exclude %{_mandir}/man3/Thread::Semaphore.*
|
||||||
|
|
||||||
# Tie-RefHash
|
# Tie-RefHash
|
||||||
%exclude %{privlib}/Tie/RefHash.pm
|
%exclude %{privlib}/Tie/RefHash.pm
|
||||||
%exclude %{_mandir}/man3/Tie::RefHash.*
|
%exclude %{_mandir}/man3/Tie::RefHash.*
|
||||||
@ -5636,6 +5664,11 @@ popd
|
|||||||
%{_mandir}/man3/Thread::Queue.*
|
%{_mandir}/man3/Thread::Queue.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files Thread-Semaphore
|
||||||
|
%dir %{privlib}/Thread
|
||||||
|
%{privlib}/Thread/Semaphore.pm
|
||||||
|
%{_mandir}/man3/Thread::Semaphore.*
|
||||||
|
|
||||||
%files Tie-RefHash
|
%files Tie-RefHash
|
||||||
%dir %{privlib}/Tie
|
%dir %{privlib}/Tie
|
||||||
%{privlib}/Tie/RefHash.pm
|
%{privlib}/Tie/RefHash.pm
|
||||||
@ -5734,6 +5767,7 @@ popd
|
|||||||
- Subpackage Term-Complete
|
- Subpackage Term-Complete
|
||||||
- Subpackage Term-ReadLine
|
- Subpackage Term-ReadLine
|
||||||
- Subpackage Text-Abbrev
|
- Subpackage Text-Abbrev
|
||||||
|
- Subpackage Thread-Semaphore
|
||||||
|
|
||||||
* 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
|
||||||
|
Loading…
Reference in New Issue
Block a user