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