befb7a
%global base_version 3.13
befb7a
Name:           perl-Thread-Queue
befb7a
Version:        3.14
befb7a
Release:        460%{?dist}
befb7a
Summary:        Thread-safe queues
befb7a
License:        GPL+ or Artistic
befb7a
URL:            https://metacpan.org/release/Thread-Queue
befb7a
Source0:        https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN/Thread-Queue-%{base_version}.tar.gz
befb7a
# Unbundled from perl 5.32.0
befb7a
Patch0:         Thread-Queue-3.13-Upgrade-to-3.14.patch
befb7a
BuildArch:      noarch
befb7a
BuildRequires:  make
befb7a
BuildRequires:  perl-generators
befb7a
BuildRequires:  perl-interpreter
befb7a
BuildRequires:  perl(Config)
befb7a
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
befb7a
BuildRequires:  perl(strict)
befb7a
BuildRequires:  perl(warnings)
befb7a
BuildRequires:  sed
befb7a
# Run-time:
befb7a
BuildRequires:  perl(Carp)
befb7a
BuildRequires:  perl(Scalar::Util) >= 1.10
befb7a
BuildRequires:  perl(threads::shared) >= 1.21
befb7a
# Tests:
befb7a
BuildRequires:  perl(Exporter)
befb7a
BuildRequires:  perl(Test::More) >= 0.50
befb7a
BuildRequires:  perl(Thread::Semaphore)
befb7a
BuildRequires:  perl(threads)
befb7a
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
befb7a
Requires:       perl(Carp)
befb7a
befb7a
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{_datadir}/doc/
befb7a
befb7a
%description
befb7a
This module provides thread-safe FIFO queues that can be accessed safely by
befb7a
any number of threads.
befb7a
befb7a
%prep
befb7a
%setup -q -n Thread-Queue-%{base_version}
befb7a
%patch0 -p1
befb7a
# Correct shell bang
befb7a
sed -i -e '1 s|^#!/usr/bin/env perl|%(perl -MConfig -e 'print $Config{startperl}')|' examples/queue.pl
befb7a
befb7a
%build
befb7a
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
befb7a
make %{?_smp_mflags}
befb7a
befb7a
%install
befb7a
make pure_install DESTDIR=$RPM_BUILD_ROOT
befb7a
%{_fixperms} $RPM_BUILD_ROOT/*
befb7a
befb7a
%check
befb7a
make test
befb7a
befb7a
%files
befb7a
%doc Changes examples README
befb7a
%{perl_vendorlib}/*
befb7a
%{_mandir}/man3/*
befb7a
befb7a
%changelog
befb7a
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.14-460
befb7a
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
befb7a
  Related: rhbz#1991688
befb7a
befb7a
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.14-459
befb7a
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
befb7a
befb7a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-458
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
befb7a
befb7a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-457
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
befb7a
befb7a
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.14-456
befb7a
- Upgrade to 3.14 as provided in perl-5.32.0
befb7a
befb7a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-440
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
befb7a
befb7a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-439
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
befb7a
befb7a
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.13-438
befb7a
- Increase release to favour standalone package
befb7a
befb7a
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.13-2
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
befb7a
befb7a
* Wed Jul 18 2018 Petr Pisar <ppisar@redhat.com> - 3.13-1
befb7a
- 3.13 bump
befb7a
befb7a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-417
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
befb7a
befb7a
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.12-416
befb7a
- Increase release to favour standalone package
befb7a
befb7a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-395
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
befb7a
befb7a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-394
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
befb7a
befb7a
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.12-393
befb7a
- Perl 5.26 rebuild
befb7a
befb7a
* Fri Feb 17 2017 Petr Pisar <ppisar@redhat.com> - 3.12-1
befb7a
- 3.12 bump
befb7a
befb7a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-2
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
befb7a
befb7a
* Mon May 23 2016 Petr Pisar <ppisar@redhat.com> - 3.11-1
befb7a
- 3.11 bump
befb7a
befb7a
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.09-365
befb7a
- Increase release to favour standalone package
befb7a
befb7a
* Mon May 02 2016 Petr Pisar <ppisar@redhat.com> - 3.09-1
befb7a
- 3.09 bump
befb7a
befb7a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.07-2
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
befb7a
befb7a
* Mon Oct 26 2015 Petr Pisar <ppisar@redhat.com> - 3.07-1
befb7a
- 3.07 bump
befb7a
befb7a
* Wed Aug 26 2015 Petr Pisar <ppisar@redhat.com> - 3.06-1
befb7a
- 3.06 bump
befb7a
befb7a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.05-346
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
befb7a
befb7a
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-345
befb7a
- Increase release to favour standalone package
befb7a
befb7a
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-311
befb7a
- Perl 5.22 rebuild
befb7a
befb7a
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-310
befb7a
- Increase release to favour standalone package
befb7a
befb7a
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.05-3
befb7a
- Perl 5.20 rebuild
befb7a
befb7a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.05-2
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
befb7a
befb7a
* Mon Mar 24 2014 Petr Pisar <ppisar@redhat.com> - 3.05-1
befb7a
- 3.05 bump
befb7a
befb7a
* Fri Mar 14 2014 Petr Pisar <ppisar@redhat.com> - 3.04-1
befb7a
- 3.04 bump
befb7a
befb7a
* Fri Mar 07 2014 Petr Pisar <ppisar@redhat.com> - 3.03-1
befb7a
- 3.03 bump
befb7a
befb7a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.02-291
befb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
befb7a
befb7a
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 3.02-290
befb7a
- Increase release to favour standalone package
befb7a
befb7a
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.02-2
befb7a
- Link minimal build-root packages against libperl.so explicitly
befb7a
befb7a
* Fri Mar 01 2013 Petr Pisar <ppisar@redhat.com> - 3.02-1
befb7a
- 3.02 bump
befb7a
befb7a
* Thu Feb 14 2013 Petr Pisar <ppisar@redhat.com> 3.01-1
befb7a
- Specfile autogenerated by cpanspec 1.78.