Compare commits
10 Commits
a0d2022401
...
75a7dfdc34
Author | SHA256 | Date | |
---|---|---|---|
75a7dfdc34 | |||
b190026c3d | |||
|
8b2779c74f | ||
|
1a1f2d5e05 | ||
|
076c9e256d | ||
|
edcc5607e6 | ||
|
144e1bb1cf | ||
|
706bdcdd82 | ||
|
e261fc1d24 | ||
|
e8cab0f1e3 |
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
description_paragraphs: 2
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,134 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 07:24:45 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 2.21
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.21 Mon Jan 22 20:09:07 EST 2018
|
||||
- Fix to CLANG macros
|
||||
- Can return subs from threads. See docs.
|
||||
- Sync from blead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 2 07:06:40 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 2.16
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.16 Sun May 7 22:32:59 2017
|
||||
- Fix Clang macro backward compatibility per patch by Andy Grundman
|
||||
- Sync from blead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 07:52:06 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 2.15
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.15 Sun Feb 26 22:45:33 2017
|
||||
- Sync from blead
|
||||
|
||||
2.14 Sun Feb 26 21:14:26 2017
|
||||
- Sync from blead
|
||||
|
||||
2.13 Sun Feb 26 17:59:01 2017
|
||||
- Added t/kill3.t to test that dir handles are thread-safe
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 1 07:33:51 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 2.12
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.12 Sat Dec 31 17:50:58 2016
|
||||
- Fix Clang macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 13:10:36 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.09
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.09 Fri May 20 18:58:20 2016
|
||||
- Document that detached threads suppress the global destruction phase
|
||||
|
||||
2.08 Mon May 16 17:40:57 2016
|
||||
- Make t/test.pl compatible with Perls < 5.10 (again)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 5 10:32:27 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.07
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.07 Sat Apr 30 21:31:39 2016
|
||||
- Sync from blead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 15 09:22:32 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.02
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.02 Thu Jun 11 03:02:21 2015
|
||||
- Make t/test.pl compatible with Perls < 5.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 20:51:54 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.01
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
2.01 Sun Mar 8 02:32:03 2015
|
||||
- Make t/test.pl compatible with Perls < 5.14
|
||||
|
||||
1.99 Fri Mar 6 14:21:52 2015
|
||||
- Fix for missing PERL_UNUSED_RESULT (for real)
|
||||
|
||||
1.98 Thu Mar 5 05:27:34 2015
|
||||
- Fix for missing PERL_UNUSED_RESULT
|
||||
|
||||
1.97 Tue Mar 3 23:30:07 2015
|
||||
- Sync from blead
|
||||
|
||||
1.96 Wed Aug 27 22:05:34 2014
|
||||
- Sync from blead
|
||||
|
||||
1.92 Tue Feb 4 23:35:31 2014
|
||||
- Version bump for blead
|
||||
|
||||
1.91 Tue Feb 4 21:37:39 2014
|
||||
- Sync from blead
|
||||
|
||||
1.89 Mon Sep 30 14:49:47 2013
|
||||
- POD updates for alarm() sample code and the specifics of _handle()
|
||||
|
||||
1.87 Tue May 28 15:11:30 2013
|
||||
- Ignore signals to finished threads (threads bug #85140)
|
||||
|
||||
1.86 Wed Dec 14 21:12:51 2011
|
||||
- Fix for mingw-w64 build due to setjmp difference
|
||||
|
||||
1.85 Sat Sep 3 15:02:29 2011
|
||||
- Version bump for blead
|
||||
|
||||
1.84 Sat Sep 3 02:54:19 2011
|
||||
- Sync from blead
|
||||
- Document signal catching by thread 0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 20:51:52 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.85
|
||||
see /usr/share/doc/packages/perl-threads/Changes
|
||||
|
||||
1.85 Sat Sep 3 15:02:29 2011
|
||||
- Version bump for blead
|
||||
|
||||
1.84 Sat Sep 3 02:54:19 2011
|
||||
- Sync from blead
|
||||
- Document signal catching by thread 0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 4 19:48:41 UTC 2011 - lars@linux-schulserver.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-threads (Version 1.83)
|
||||
# spec file for package perl-threads
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,38 +12,21 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: perl-threads
|
||||
Version: 1.83
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
|
||||
%define cpan_name threads
|
||||
Name: perl-threads
|
||||
Version: 2.21
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Perl interpreter-based threads
|
||||
Url: http://search.cpan.org/dist/threads/
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/J/JD/JDHEDDEN/threads-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
BuildRequires: procps
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XSLoader)
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Recommends: procps
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Config)
|
||||
Requires: perl(IO::File)
|
||||
Requires: perl(overload)
|
||||
Requires: perl(strict)
|
||||
Requires: perl(warnings)
|
||||
Requires: perl(XSLoader)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -56,42 +39,22 @@ shared between threads.
|
||||
API. This threading model has been deprecated, and was removed as of Perl
|
||||
5.10.0.)
|
||||
|
||||
As just mentioned, all variables are, by default, thread local. To use
|
||||
shared variables, you need to also load the threads::shared manpage:
|
||||
|
||||
use threads;
|
||||
use threads::shared;
|
||||
|
||||
When loading the threads::shared manpage, you must 'use threads' before you
|
||||
'use threads::shared'. ('threads' will emit a warning if you do it the
|
||||
other way around.)
|
||||
|
||||
It is strongly recommended that you enable threads via 'use threads' as
|
||||
early as possible in your script.
|
||||
|
||||
If needed, scripts can be written so as to run on both threaded and
|
||||
non-threaded Perls:
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes README examples hints
|
||||
%doc Changes examples README
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:35afd832f5a26c7f51538864e86fc90c2dd2c98749a21c7f0e4f067a0319cfc9
|
||||
size 100537
|
3
threads-2.21.tar.gz
Normal file
3
threads-2.21.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:28394c98a2bcae6f20ffb8a3d965a1c194b764c650169e2050ee38dbaa10f110
|
||||
size 113446
|
Reference in New Issue
Block a user