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