Blame SPECS/perl-threads.spec

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