From c431bf40a0a958f9c9f330166f3ab5f69c28fa4d Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jul 01 2013 15:15:49 +0000 Subject: import perl-threads-1.87-2.el7.src.rpm --- diff --git a/.perl-threads.metadata b/.perl-threads.metadata new file mode 100644 index 0000000..7217267 --- /dev/null +++ b/.perl-threads.metadata @@ -0,0 +1 @@ +3810a65eab1209c2c81fee21fd378f8baa97662a SOURCES/threads-1.87.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-threads.spec b/SPECS/perl-threads.spec new file mode 100644 index 0000000..b1c2105 --- /dev/null +++ b/SPECS/perl-threads.spec @@ -0,0 +1,120 @@ +Name: perl-threads +Version: 1.87 +Release: 2%{?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 +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(overload) +BuildRequires: perl(XSLoader) +# Tests only: +BuildRequires: perl(ExtUtils::testlib) +BuildRequires: perl(IO::File) +BuildRequires: perl(Hash::Util) +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) + +%{?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 DESTDIR=$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 {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/threads* +%{_mandir}/man3/* + +%changelog +* Mon Jul 01 2013 Petr Pisar - 1.87-2 +- Specify all dependencies + +* Thu May 30 2013 Petr Pisar - 1.87-1 +- 1.87 bump + +* Tue Apr 30 2013 Petr Pisar - 1.86-243 +- Increase release number to supersede perl sub-package (bug #957931) + +* Thu Feb 14 2013 Fedora Release Engineering - 1.86-242 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 01 2012 Jitka Plesnikova - 1.86-241 +- Update dependencies. +- Use DESTDIR rather than PERL_INSTALL_ROOT + +* Mon Aug 13 2012 Marcela Mašláňová - 1.86-240 +- bump release to override sub-package from perl.spec + +* Fri Jul 20 2012 Fedora Release Engineering - 1.86-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 06 2012 Petr Pisar - 1.86-3 +- Perl 5.16 rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.86-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Dec 15 2011 Petr Pisar - 1.86-1 +- 1.86 bump + +* Tue Sep 06 2011 Petr Pisar - 1.85-1 +- 1.85 bump + +* 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