|
|
ddf263 |
Name: perl-threads
|
|
|
ddf263 |
Version: 1.87
|
|
|
ddf263 |
Release: 4%{?dist}
|
|
|
ddf263 |
Summary: Perl interpreter-based threads
|
|
|
ddf263 |
License: GPL+ or Artistic
|
|
|
ddf263 |
Group: Development/Libraries
|
|
|
ddf263 |
URL: http://search.cpan.org/dist/threads/
|
|
|
ddf263 |
Source0: http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/threads-%{version}.tar.gz
|
|
|
ddf263 |
BuildRequires: perl
|
|
|
ddf263 |
BuildRequires: perl(Config)
|
|
|
ddf263 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
ddf263 |
BuildRequires: perl(File::Spec)
|
|
|
ddf263 |
BuildRequires: perl(strict)
|
|
|
ddf263 |
BuildRequires: perl(warnings)
|
|
|
ddf263 |
# Run-time:
|
|
|
ddf263 |
BuildRequires: perl(Carp)
|
|
|
ddf263 |
BuildRequires: perl(overload)
|
|
|
ddf263 |
BuildRequires: perl(XSLoader)
|
|
|
ddf263 |
# Tests only:
|
|
|
ddf263 |
BuildRequires: perl(ExtUtils::testlib)
|
|
|
ddf263 |
BuildRequires: perl(IO::File)
|
|
|
ddf263 |
BuildRequires: perl(Hash::Util)
|
|
|
ddf263 |
BuildRequires: perl(POSIX)
|
|
|
ddf263 |
BuildRequires: perl(Test::More)
|
|
|
ddf263 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
ddf263 |
Requires: perl(Carp)
|
|
|
ddf263 |
|
|
|
ddf263 |
%{?perl_default_filter}
|
|
|
ddf263 |
|
|
|
ddf263 |
%description
|
|
|
ddf263 |
Since Perl 5.8, thread programming has been available using a model called
|
|
|
ddf263 |
interpreter threads which provides a new Perl interpreter for each thread,
|
|
|
ddf263 |
and, by default, results in no data or state information being shared
|
|
|
ddf263 |
between threads.
|
|
|
ddf263 |
|
|
|
ddf263 |
(Prior to Perl 5.8, 5005threads was available through the "Thread.pm" API.
|
|
|
ddf263 |
This threading model has been deprecated, and was removed as of Perl 5.10.0.)
|
|
|
ddf263 |
|
|
|
ddf263 |
%prep
|
|
|
ddf263 |
%setup -q -n threads-%{version}
|
|
|
ddf263 |
|
|
|
ddf263 |
%build
|
|
|
ddf263 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
ddf263 |
make %{?_smp_mflags}
|
|
|
ddf263 |
|
|
|
ddf263 |
%install
|
|
|
ddf263 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
ddf263 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
ddf263 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
ddf263 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
ddf263 |
|
|
|
ddf263 |
%check
|
|
|
ddf263 |
make test
|
|
|
ddf263 |
|
|
|
ddf263 |
%files
|
|
|
ddf263 |
%doc Changes README
|
|
|
ddf263 |
%{perl_vendorarch}/auto/*
|
|
|
ddf263 |
%{perl_vendorarch}/threads*
|
|
|
ddf263 |
%{_mandir}/man3/*
|
|
|
ddf263 |
|
|
|
ddf263 |
%changelog
|
|
|
ddf263 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.87-4
|
|
|
ddf263 |
- Mass rebuild 2014-01-24
|
|
|
ddf263 |
|
|
|
ddf263 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.87-3
|
|
|
ddf263 |
- Mass rebuild 2013-12-27
|
|
|
ddf263 |
|
|
|
ddf263 |
* Mon Jul 01 2013 Petr Pisar <ppisar@redhat.com> - 1.87-2
|
|
|
ddf263 |
- Specify all dependencies
|
|
|
ddf263 |
|
|
|
ddf263 |
* Thu May 30 2013 Petr Pisar <ppisar@redhat.com> - 1.87-1
|
|
|
ddf263 |
- 1.87 bump
|
|
|
ddf263 |
|
|
|
ddf263 |
* Tue Apr 30 2013 Petr Pisar <ppisar@redhat.com> - 1.86-243
|
|
|
ddf263 |
- Increase release number to supersede perl sub-package (bug #957931)
|
|
|
ddf263 |
|
|
|
ddf263 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-242
|
|
|
ddf263 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Thu Nov 01 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.86-241
|
|
|
ddf263 |
- Update dependencies.
|
|
|
ddf263 |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
ddf263 |
|
|
|
ddf263 |
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.86-240
|
|
|
ddf263 |
- bump release to override sub-package from perl.spec
|
|
|
ddf263 |
|
|
|
ddf263 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-4
|
|
|
ddf263 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.86-3
|
|
|
ddf263 |
- Perl 5.16 rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.86-2
|
|
|
ddf263 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Thu Dec 15 2011 Petr Pisar <ppisar@redhat.com> - 1.86-1
|
|
|
ddf263 |
- 1.86 bump
|
|
|
ddf263 |
|
|
|
ddf263 |
* Tue Sep 06 2011 Petr Pisar <ppisar@redhat.com> - 1.85-1
|
|
|
ddf263 |
- 1.85 bump
|
|
|
ddf263 |
|
|
|
ddf263 |
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.83-4
|
|
|
ddf263 |
- change path on vendor, so our debuginfo are not conflicting with
|
|
|
ddf263 |
perl core debuginfos
|
|
|
ddf263 |
|
|
|
ddf263 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.83-3
|
|
|
ddf263 |
- Perl mass rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.83-2
|
|
|
ddf263 |
- Perl 5.14 mass rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Tue Apr 26 2011 Petr Pisar <ppisar@redhat.com> - 1.83-1
|
|
|
ddf263 |
- 1.83 bump
|
|
|
ddf263 |
|
|
|
ddf263 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.82-2
|
|
|
ddf263 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
ddf263 |
|
|
|
ddf263 |
* Mon Jan 03 2011 Petr Pisar <ppisar@redhat.com> - 1.82-1
|
|
|
ddf263 |
- 1.82 bump
|
|
|
ddf263 |
|
|
|
ddf263 |
* Wed Oct 06 2010 Petr Pisar <ppisar@redhat.com> - 1.81-1
|
|
|
ddf263 |
- 1.81 bump
|
|
|
ddf263 |
|
|
|
ddf263 |
* Fri Oct 01 2010 Petr Pisar <ppisar@redhat.com> 1.79-1
|
|
|
ddf263 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
ddf263 |
- Remove BuildRoot stuff
|