05d586
Name:           perl-threads-shared
05d586
Version:        1.58
05d586
Release:        2%{?dist}
05d586
Summary:        Perl extension for sharing data structures between threads
05d586
License:        GPL+ or Artistic
05d586
URL:            http://search.cpan.org/dist/threads-shared/
05d586
Source0:        http://www.cpan.org/authors/id/J/JD/JDHEDDEN/threads-shared-%{version}.tar.gz
05d586
BuildRequires:  findutils
05d586
BuildRequires:  gcc
05d586
BuildRequires:  make
05d586
BuildRequires:  perl-devel
05d586
BuildRequires:  perl-generators
05d586
BuildRequires:  perl-interpreter
05d586
BuildRequires:  perl(Config)
05d586
# Config_m not needed
05d586
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
05d586
BuildRequires:  perl(File::Spec)
05d586
BuildRequires:  perl(strict)
05d586
BuildRequires:  perl(warnings)
05d586
# Run-time:
05d586
BuildRequires:  perl(Carp)
05d586
BuildRequires:  perl(Scalar::Util)
05d586
BuildRequires:  perl(threads) >= 1.73
05d586
BuildRequires:  perl(XSLoader)
05d586
# Tests:
05d586
BuildRequires:  perl(ExtUtils::testlib)
05d586
BuildRequires:  perl(File::Path)
05d586
BuildRequires:  perl(Test::More)
05d586
# Optional tests:
05d586
BuildRequires:  perl(POSIX)
05d586
BuildRequires:  perl(Time::HiRes)
05d586
# Win32 not needed
05d586
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
05d586
Requires:       perl(Carp)
05d586
Requires:       perl(threads) >= 1.73
05d586
Requires:       perl(XSLoader)
05d586
05d586
%{?perl_default_filter}
05d586
05d586
%description
05d586
By default, variables are private to each thread, and each newly created
05d586
thread gets a private copy of each existing variable. This module allows
05d586
you to share variables across different threads (and pseudo-forks on
05d586
Win32). It is used together with the threads module.
05d586
05d586
%prep
05d586
%setup -q -n threads-shared-%{version}
05d586
05d586
%build
05d586
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
05d586
make %{?_smp_mflags}
05d586
05d586
%install
05d586
make pure_install DESTDIR=$RPM_BUILD_ROOT
05d586
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
05d586
%{_fixperms} $RPM_BUILD_ROOT/*
05d586
05d586
%check
05d586
make test
05d586
05d586
%files
05d586
%doc Changes examples README
05d586
%{perl_vendorarch}/auto/*
05d586
%{perl_vendorarch}/threads*
05d586
%{_mandir}/man3/*
05d586
05d586
%changelog
05d586
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.58-2
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
05d586
05d586
* Wed Jan 24 2018 Petr Pisar <ppisar@redhat.com> - 1.58-1
05d586
- 1.58 bump
05d586
05d586
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-4
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
05d586
05d586
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-3
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
05d586
05d586
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.57-2
05d586
- Perl 5.26 re-rebuild of bootstrapped packages
05d586
05d586
* Mon Jun 05 2017 Petr Pisar <ppisar@redhat.com> - 1.57-1
05d586
- 1.57 bump
05d586
05d586
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.56-393
05d586
- Perl 5.26 rebuild
05d586
05d586
* Thu May 11 2017 Petr Pisar <ppisar@redhat.com> - 1.56-1
05d586
- Upgrade to 1.56 as provided in perl-5.25.12
05d586
05d586
* Fri Apr 21 2017 Petr Pisar <ppisar@redhat.com> - 1.55-2
05d586
- Fix arenas allocation (RT#131124)
05d586
05d586
* Mon Feb 27 2017 Petr Pisar <ppisar@redhat.com> - 1.55-1
05d586
- 1.55 bump
05d586
05d586
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-2
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
05d586
05d586
* Mon Jan 02 2017 Petr Pisar <ppisar@redhat.com> - 1.54-1
05d586
- 1.54 bump
05d586
05d586
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.52-3
05d586
- Perl 5.24 rebuild
05d586
05d586
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.52-2
05d586
- Perl 5.24 rebuild
05d586
05d586
* Tue May 17 2016 Petr Pisar <ppisar@redhat.com> - 1.52-1
05d586
- 1.52 bump
05d586
05d586
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.51-365
05d586
- Increase release to favour standalone package
05d586
05d586
* Mon May 02 2016 Petr Pisar <ppisar@redhat.com> - 1.51-1
05d586
- 1.51 bump
05d586
05d586
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.48-347
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
05d586
05d586
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.48-346
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
05d586
05d586
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.48-345
05d586
- Increase release to favour standalone package
05d586
05d586
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.48-341
05d586
- Perl 5.22 rebuild
05d586
05d586
* Tue May 05 2015 Petr Pisar <ppisar@redhat.com> - 1.48-340
05d586
- 1.48 bump in order to dual-live with perl 5.22
05d586
05d586
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-310
05d586
- Increase release to favour standalone package
05d586
05d586
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-5
05d586
- Perl 5.20 rebuild
05d586
05d586
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-4
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
05d586
05d586
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-3
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
05d586
05d586
* Wed Feb 19 2014 Petr Pisar <ppisar@redhat.com> - 1.46-2
05d586
- Declare optional tests
05d586
05d586
* Wed Feb 05 2014 Petr Pisar <ppisar@redhat.com> - 1.46-1
05d586
- 1.46 bump
05d586
05d586
* Thu Nov 14 2013 Petr Pisar <ppisar@redhat.com> - 1.45-1
05d586
- 1.45 bump
05d586
05d586
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.43-291
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
05d586
05d586
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.43-290
05d586
- Increase release to favour standalone package
05d586
05d586
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.43-5
05d586
- Link minimal build-root packages against libperl.so explicitly
05d586
05d586
* Tue Jul 02 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.43-4
05d586
- Remove BR perl(Test)
05d586
05d586
* Tue Jul 02 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.43-3
05d586
- Specify all dependencies
05d586
05d586
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.43-2
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
05d586
05d586
* Tue Jan 15 2013 Petr Pisar <ppisar@redhat.com> - 1.43-1
05d586
- 1.43 bump
05d586
05d586
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-2
05d586
- Add BR perl(File::Spec)
05d586
- Replace PERL_INSTALL_ROOT with DESTDIR
05d586
- Remove deleting empty directories
05d586
- Remove defattr
05d586
05d586
* Wed Oct 03 2012 Petr Pisar <ppisar@redhat.com> - 1.42-1
05d586
- 1.42 bump
05d586
05d586
* Mon Sep 10 2012 Petr Pisar <ppisar@redhat.com> - 1.41-1
05d586
- 1.41 bump
05d586
05d586
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.40-240
05d586
- bump release to override sub-package from perl.spec 
05d586
05d586
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.40-4
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
05d586
05d586
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.40-3
05d586
- Perl 5.16 rebuild
05d586
05d586
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.40-2
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
05d586
05d586
* Mon Sep 12 2011 Petr Pisar <ppisar@redhat.com> - 1.40-1
05d586
- 1.40 bump
05d586
05d586
* Tue Sep 06 2011 Petr Pisar <ppisar@redhat.com> - 1.39-1
05d586
- 1.39 bump
05d586
05d586
* Wed Aug 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-3
05d586
- change path on vendor, so our debuginfo are not conflicting with
05d586
 perl core debuginfos
05d586
05d586
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-2
05d586
- Perl mass rebuild
05d586
05d586
* Tue Apr 26 2011 Petr Pisar <ppisar@redhat.com> - 1.37-1
05d586
- 1.37 bump
05d586
05d586
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36-2
05d586
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
05d586
05d586
* Mon Jan 03 2011 Petr Pisar <ppisar@redhat.com> - 1.36-1
05d586
- 1.36 bump
05d586
05d586
* Mon Oct 11 2010 Petr Pisar <ppisar@redhat.com> - 1.34-1
05d586
- 1.34 bump
05d586
05d586
* Thu Sep 23 2010 Petr Pisar <ppisar@redhat.com> 1.33-1
05d586
- Specfile autogenerated by cpanspec 1.78.
05d586
- Fix dependencies
05d586
- Requires perl(Scalar::Util) is autodetected
05d586
- Do not provide private library
05d586
- Remove pre-F12 BuildRoot stuff