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