Blame SPECS/perl-threads.spec

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