Blame SPECS/perl-Thread-Queue.spec

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