5ae7776
Name:           perl-threads
66cec7d
Epoch:          1
7cc01c3
Version:        2.21
96ef6a4
Release:        2%{?dist}
5ae7776
Summary:        Perl interpreter-based threads
5ae7776
License:        GPL+ or Artistic
5ae7776
URL:            http://search.cpan.org/dist/threads/
5ae7776
Source0:        http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/threads-%{version}.tar.gz
faadfcd
BuildRequires:  coreutils
faadfcd
BuildRequires:  findutils
d56f9e5
BuildRequires:  gcc
faadfcd
BuildRequires:  make
b922e74
BuildRequires:  perl-devel
b922e74
BuildRequires:  perl-generators
7cc01c3
BuildRequires:  perl-interpreter
5ae7776
BuildRequires:  perl(Config)
d69470a
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
eda7326
BuildRequires:  perl(File::Spec)
abe42c8
BuildRequires:  perl(strict)
abe42c8
BuildRequires:  perl(warnings)
abe42c8
# Run-time:
abe42c8
BuildRequires:  perl(Carp)
abe42c8
BuildRequires:  perl(overload)
5ae7776
BuildRequires:  perl(XSLoader)
5ae7776
# Tests only:
175d22f
BuildRequires:  perl(Cwd)
abe42c8
BuildRequires:  perl(ExtUtils::testlib)
a91daa5
BuildRequires:  perl(File::Path)
6fc59ca
BuildRequires:  perl(Hash::Util)
a91daa5
BuildRequires:  perl(IO::File)
6fc59ca
BuildRequires:  perl(POSIX)
5ae7776
BuildRequires:  perl(Test::More)
175d22f
# Optional tests:
a91daa5
BuildRequires:  perl(Thread::Queue)
a91daa5
BuildRequires:  perl(Thread::Semaphore)
a91daa5
BuildRequires:  perl(threads::shared)
abe42c8
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
eda7326
Requires:       perl(Carp)
5ae7776
5ae7776
%{?perl_default_filter}
5ae7776
5ae7776
%description
5ae7776
Since Perl 5.8, thread programming has been available using a model called
5ae7776
interpreter threads which provides a new Perl interpreter for each thread,
5ae7776
and, by default, results in no data or state information being shared
5ae7776
between threads.
5ae7776
5ae7776
(Prior to Perl 5.8, 5005threads was available through the "Thread.pm" API.
5ae7776
This threading model has been deprecated, and was removed as of Perl 5.10.0.)
5ae7776
5ae7776
%prep
5ae7776
%setup -q -n threads-%{version}
09c29da
chmod -x examples/*
5ae7776
5ae7776
%build
d69470a
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
5ae7776
make %{?_smp_mflags}
5ae7776
5ae7776
%install
eda7326
make pure_install DESTDIR=$RPM_BUILD_ROOT
b922e74
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
5ae7776
%{_fixperms} $RPM_BUILD_ROOT/*
5ae7776
5ae7776
%check
5ae7776
make test
5ae7776
5ae7776
%files
09c29da
%doc Changes examples README
459e377
%{perl_vendorarch}/auto/*
459e377
%{perl_vendorarch}/threads*
5ae7776
%{_mandir}/man3/*
5ae7776
5ae7776
%changelog
96ef6a4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.21-2
96ef6a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
96ef6a4
7cc01c3
* Wed Jan 24 2018 Petr Pisar <ppisar@redhat.com> - 1:2.21-1
7cc01c3
- 2.21 bump
7cc01c3
481908f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.16-4
481908f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
481908f
151782d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.16-3
151782d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
151782d
f1e9c32
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.16-2
f1e9c32
- Perl 5.26 re-rebuild of bootstrapped packages
f1e9c32
d69470a
* Mon Jun 05 2017 Petr Pisar <ppisar@redhat.com> - 1:2.16-1
d69470a
- 2.16 bump
d69470a
3f82816
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.15-393
3f82816
- Perl 5.26 rebuild
3f82816
175d22f
* Mon Feb 27 2017 Petr Pisar <ppisar@redhat.com> - 1:2.15-1
175d22f
- 2.15 bump
175d22f
51e590b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.12-2
51e590b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
51e590b
d56f9e5
* Mon Jan 02 2017 Petr Pisar <ppisar@redhat.com> - 1:2.12-1
d56f9e5
- 2.12 bump
d56f9e5
57e488d
* Mon May 23 2016 Petr Pisar <ppisar@redhat.com> - 1:2.09-1
57e488d
- 2.09 bump
57e488d
a0e9c63
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.08-3
a0e9c63
- Perl 5.24 rebuild
a0e9c63
3916e73
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.08-2
3916e73
- Perl 5.24 rebuild
3916e73
6e8948d
* Tue May 17 2016 Petr Pisar <ppisar@redhat.com> - 1:2.08-1
3916e73
- 2.08 bump
6e8948d
263294e
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.07-365
263294e
- Increase release to favour standalone package
263294e
b922e74
* Mon May 02 2016 Petr Pisar <ppisar@redhat.com> - 1:2.07-1
b922e74
- 2.07 bump
b922e74
09decef
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.02-3
09decef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
09decef
3311870
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.02-2
3311870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3311870
faadfcd
* Mon Jun 15 2015 Petr Pisar <ppisar@redhat.com> - 1:2.02-1
faadfcd
- 2.02 bump
faadfcd
7341597
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.01-345
7341597
- Increase release to favour standalone package
7341597
42d4e16
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.01-2
42d4e16
- Perl 5.22 rebuild
42d4e16
c65316a
* Fri Mar 13 2015 Petr Pisar <ppisar@redhat.com> - 1:2.01-1
c65316a
- 2.01 bump
c65316a
e17f71e
* Mon Mar 09 2015 Petr Pisar <ppisar@redhat.com> - 1:1.99-1
e17f71e
- 1.99 bump
e17f71e
6d5d468
* Fri Mar 06 2015 Petr Pisar <ppisar@redhat.com> - 1:1.98-1
6d5d468
- 1.98 bump
6d5d468
5cdcc59
* Thu Mar 05 2015 Petr Pisar <ppisar@redhat.com> - 1:1.97-1
5cdcc59
- 1.97 bump
5cdcc59
09c29da
* Wed Sep 10 2014 Petr Pisar <ppisar@redhat.com> - 1:1.96-1
09c29da
- 1.96 bump
09c29da
4f7a528
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.92-4
4f7a528
- Perl 5.20 rebuild
4f7a528
b2554c4
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.92-3
b2554c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b2554c4
61bdf00
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.92-2
61bdf00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
61bdf00
ae4d9da
* Wed Feb 05 2014 Petr Pisar <ppisar@redhat.com> - 1:1.92-1
ae4d9da
- 1.92 bump
ae4d9da
dd6b750
* Wed Oct 02 2013 Petr Pisar <ppisar@redhat.com> - 1:1.89-1
dd6b750
- 1.89 bump
dd6b750
a91daa5
* Tue Sep 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.87-6
a91daa5
- Update dependencies
a91daa5
2bcd14a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.87-5
2bcd14a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2bcd14a
5abda8a
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.87-4
5abda8a
- Link minimal build-root packages against libperl.so explicitly
5abda8a
fb21ab7
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.87-3
fb21ab7
- Perl 5.18 rebuild
fb21ab7
9d0a410
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.87-2
9d0a410
- Perl 5.18 rebuild
9d0a410
66cec7d
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.87-1
66cec7d
- Increase epoch to compete with perl.spec
66cec7d
6fc59ca
* Mon Jul 01 2013 Petr Pisar <ppisar@redhat.com> - 1.87-2
6fc59ca
- Specify all dependencies
6fc59ca
1b0cdee
* Thu May 30 2013 Petr Pisar <ppisar@redhat.com> - 1.87-1
1b0cdee
- 1.87 bump
1b0cdee
abe42c8
* Tue Apr 30 2013 Petr Pisar <ppisar@redhat.com> - 1.86-243
abe42c8
- Increase release number to supersede perl sub-package (bug #957931)
abe42c8
42871ef
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-242
42871ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
42871ef
eda7326
* Thu Nov 01 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.86-241
eda7326
- Update dependencies.
eda7326
- Use DESTDIR rather than PERL_INSTALL_ROOT
eda7326
41a747e
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.86-240
41a747e
- bump release to override sub-package from perl.spec
41a747e
b634b6a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-4
b634b6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b634b6a
3ff71c9
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.86-3
3ff71c9
- Perl 5.16 rebuild
3ff71c9
34794f4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-2
34794f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
34794f4
8545574
* Thu Dec 15 2011 Petr Pisar <ppisar@redhat.com> - 1.86-1
8545574
- 1.86 bump
8545574
2a382e1
* Tue Sep 06 2011 Petr Pisar <ppisar@redhat.com> - 1.85-1
2a382e1
- 1.85 bump
2a382e1
459e377
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.83-4
459e377
- change path on vendor, so our debuginfo are not conflicting with
459e377
  perl core debuginfos
459e377
9ca6b4e
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.83-3
9ca6b4e
- Perl mass rebuild
9ca6b4e
e94e16a
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.83-2
e94e16a
- Perl 5.14 mass rebuild
e94e16a
982ec1a
* Tue Apr 26 2011 Petr Pisar <ppisar@redhat.com> - 1.83-1
982ec1a
- 1.83 bump
982ec1a
e302329
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.82-2
e302329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e302329
686bf75
* Mon Jan 03 2011 Petr Pisar <ppisar@redhat.com> - 1.82-1
686bf75
- 1.82 bump
686bf75
0afd3e7
* Wed Oct 06 2010 Petr Pisar <ppisar@redhat.com> - 1.81-1
0afd3e7
- 1.81 bump
0afd3e7
5ae7776
* Fri Oct 01 2010 Petr Pisar <ppisar@redhat.com> 1.79-1
5ae7776
- Specfile autogenerated by cpanspec 1.78.
5ae7776
- Remove BuildRoot stuff