Blame SPECS/perl-Thread-Queue.spec

95f626
%{?scl:%scl_package perl-Thread-Queue}
95f626
95f626
Name:           %{?scl_prefix}perl-Thread-Queue
95f626
Version:        3.13
95f626
Release:        452%{?dist}
95f626
Summary:        Thread-safe queues
95f626
License:        GPL+ or Artistic
95f626
URL:            https://metacpan.org/release/Thread-Queue
95f626
Source0:        https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN/Thread-Queue-%{version}.tar.gz
95f626
BuildArch:      noarch
95f626
BuildRequires:  make
95f626
BuildRequires:  %{?scl_prefix}perl-generators
95f626
BuildRequires:  %{?scl_prefix}perl-interpreter
95f626
BuildRequires:  %{?scl_prefix}perl(Config)
95f626
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
95f626
BuildRequires:  %{?scl_prefix}perl(strict)
95f626
BuildRequires:  %{?scl_prefix}perl(warnings)
95f626
# Run-time:
95f626
BuildRequires:  %{?scl_prefix}perl(Carp)
95f626
BuildRequires:  %{?scl_prefix}perl(Scalar::Util) >= 1.10
95f626
BuildRequires:  %{?scl_prefix}perl(threads::shared) >= 1.21
95f626
# Tests:
95f626
BuildRequires:  %{?scl_prefix}perl(Exporter)
95f626
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.50
95f626
BuildRequires:  %{?scl_prefix}perl(Thread::Semaphore)
95f626
BuildRequires:  %{?scl_prefix}perl(threads)
95f626
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
95f626
Requires:       %{?scl_prefix}perl(Carp)
95f626
95f626
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{_datadir}/doc/
95f626
95f626
%description
95f626
This module provides thread-safe FIFO queues that can be accessed safely by
95f626
any number of threads.
95f626
95f626
%prep
95f626
%setup -q -n Thread-Queue-%{version}
95f626
# Correct shell bang
95f626
%{?scl:scl enable %{scl} '}perl -MConfig -i -pe %{?scl:'"}'%{?scl:"'}s{^#!/usr/bin/(?:env )?perl}{$Config{startperl}}%{?scl:'"}'%{?scl:"'} examples/*%{?scl:'}
95f626
95f626
%build
95f626
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
95f626
95f626
%install
95f626
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
95f626
%{_fixperms} $RPM_BUILD_ROOT/*
95f626
95f626
%check
95f626
%{?scl:scl enable %{scl} '}make test%{?scl:'}
95f626
95f626
%files
95f626
%doc Changes examples README
95f626
%{perl_vendorlib}/*
95f626
%{_mandir}/man3/*
95f626
95f626
%changelog
95f626
* Tue Mar 17 2020 Petr Pisar <ppisar@redhat.com> - 3.13-452
95f626
- Normalize a shellbang in examples/callback.pl (bug #1813348)
95f626
95f626
* Thu Jan 02 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.13-451
95f626
- SCL
95f626
95f626
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-439
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
95f626
95f626
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.13-438
95f626
- Increase release to favour standalone package
95f626
95f626
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-2
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
95f626
95f626
* Wed Jul 18 2018 Petr Pisar <ppisar@redhat.com> - 3.13-1
95f626
- 3.13 bump
95f626
95f626
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-417
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
95f626
95f626
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.12-416
95f626
- Increase release to favour standalone package
95f626
95f626
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-395
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
95f626
95f626
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-394
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
95f626
95f626
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.12-393
95f626
- Perl 5.26 rebuild
95f626
95f626
* Fri Feb 17 2017 Petr Pisar <ppisar@redhat.com> - 3.12-1
95f626
- 3.12 bump
95f626
95f626
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-2
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
95f626
95f626
* Mon May 23 2016 Petr Pisar <ppisar@redhat.com> - 3.11-1
95f626
- 3.11 bump
95f626
95f626
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.09-365
95f626
- Increase release to favour standalone package
95f626
95f626
* Mon May 02 2016 Petr Pisar <ppisar@redhat.com> - 3.09-1
95f626
- 3.09 bump
95f626
95f626
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.07-2
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
95f626
95f626
* Mon Oct 26 2015 Petr Pisar <ppisar@redhat.com> - 3.07-1
95f626
- 3.07 bump
95f626
95f626
* Wed Aug 26 2015 Petr Pisar <ppisar@redhat.com> - 3.06-1
95f626
- 3.06 bump
95f626
95f626
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.05-346
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
95f626
95f626
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-345
95f626
- Increase release to favour standalone package
95f626
95f626
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-311
95f626
- Perl 5.22 rebuild
95f626
95f626
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-310
95f626
- Increase release to favour standalone package
95f626
95f626
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-3
95f626
- Perl 5.20 rebuild
95f626
95f626
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.05-2
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
95f626
95f626
* Mon Mar 24 2014 Petr Pisar <ppisar@redhat.com> - 3.05-1
95f626
- 3.05 bump
95f626
95f626
* Fri Mar 14 2014 Petr Pisar <ppisar@redhat.com> - 3.04-1
95f626
- 3.04 bump
95f626
95f626
* Fri Mar 07 2014 Petr Pisar <ppisar@redhat.com> - 3.03-1
95f626
- 3.03 bump
95f626
95f626
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.02-291
95f626
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
95f626
95f626
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 3.02-290
95f626
- Increase release to favour standalone package
95f626
95f626
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.02-2
95f626
- Link minimal build-root packages against libperl.so explicitly
95f626
95f626
* Fri Mar 01 2013 Petr Pisar <ppisar@redhat.com> - 3.02-1
95f626
- 3.02 bump
95f626
95f626
* Thu Feb 14 2013 Petr Pisar <ppisar@redhat.com> 3.01-1
95f626
- Specfile autogenerated by cpanspec 1.78.