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