Name: perl-threads Version: 1.83 Release: 4%{?dist} Summary: Perl interpreter-based threads License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/threads/ Source0: http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/threads-%{version}.tar.gz BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::testlib) BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) # Tests only: BuildRequires: perl(ExtUtils::testlib) BuildRequires: perl(IO::File) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Since Perl 5.8, thread programming has been available using a model called interpreter threads which provides a new Perl interpreter for each thread, and, by default, results in no data or state information being shared between threads. (Prior to Perl 5.8, 5005threads was available through the "Thread.pm" API. This threading model has been deprecated, and was removed as of Perl 5.10.0.) %prep %setup -q -n threads-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/threads* %{_mandir}/man3/* %changelog * Tue Aug 16 2011 Marcela Mašláňová - 1.83-4 - change path on vendor, so our debuginfo are not conflicting with perl core debuginfos * Fri Jun 17 2011 Marcela Mašláňová - 1.83-3 - Perl mass rebuild * Thu Jun 09 2011 Marcela Mašláňová - 1.83-2 - Perl 5.14 mass rebuild * Tue Apr 26 2011 Petr Pisar - 1.83-1 - 1.83 bump * Wed Feb 09 2011 Fedora Release Engineering - 1.82-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 03 2011 Petr Pisar - 1.82-1 - 1.82 bump * Wed Oct 06 2010 Petr Pisar - 1.81-1 - 1.81 bump * Fri Oct 01 2010 Petr Pisar 1.79-1 - Specfile autogenerated by cpanspec 1.78. - Remove BuildRoot stuff