commit 55d78df9e499f1e7da7e579ac200d012a670829e Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Sun Oct 6 14:03:08 2013 +0100 Update to 0.61 - New upstream release 0.61 - Added patch fixing IPC::Shareable's dependence on the presence of a perl bug that is no longer present in perl ≥ 5.10 - Fixed bug where the FETCH operation on a tie()d string containing HASH, ARRAY, or SCALAR failed because it was using the stringification of the data to determine what kind of reference it was - Added missing dependency on IPC::Semaphore to Makefile.PL - Added a 'sleep 1' in a test that was hanging on certain systems due (possibly) to two alarm signals coming too quickly to the child process - This release by MSOUTH -> update source URL - Drop upstreamed patches - Specify all dependencies - Use %{_fixperms} macro rather than our own chmod incantation - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't need to remove empty directories from the buildroot - Don't use macros for commands - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit .gitignore | 2 +- perl-IPC-Shareable-fixtest38.patch | 11 ----- perl-IPC-Shareable-nostrictrefs.patch | 23 ----------- perl-IPC-Shareable.spec | 67 ++++++++++++++++++++++++-------- sources | 2 +- 5 files changed, 52 insertions(+), 53 deletions(-) --- diff --git a/.gitignore b/.gitignore index 004a25b..78f3caa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -IPC-Shareable-0.60.tar.gz +/IPC-Shareable-[0-9.]*.tar.gz diff --git a/perl-IPC-Shareable.spec b/perl-IPC-Shareable.spec index d6a6885..8a50f34 100644 --- a/perl-IPC-Shareable.spec +++ b/perl-IPC-Shareable.spec @@ -1,19 +1,35 @@ Name: perl-IPC-Shareable -Version: 0.60 -Release: 22%{?dist} +Version: 0.61 +Release: 1%{?dist} Summary: Share Perl variables between processes Group: Development/Libraries License: GPLv2+ URL: http://search.cpan.org/dist/IPC-Shareable/ -Source0: http://www.cpan.org/authors/id/B/BS/BSUGARS/IPC-Shareable-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: perl-IPC-Shareable-nostrictrefs.patch -Patch1: perl-IPC-Shareable-fixtest38.patch +Source0: http://www.cpan.org/authors/id/M/MS/MSOUTH/IPC-Shareable-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch -BuildRequires: perl(Storable), perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Module Build +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(IPC::Semaphore) +BuildRequires: perl(IPC::SysV) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Storable) >= 0.607 +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite +# (no additional requirements) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Data::Dumper) + %description IPC::Shareable allows you to tie a variable to shared memory making it @@ -25,22 +41,19 @@ arrays, hashes of hashes, etc. %prep %setup -q -n IPC-Shareable-%{version} -%patch0 -p1 -%patch1 -p1 find eg -type f | xargs chmod -c 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check @@ -52,13 +65,33 @@ rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) -%doc CHANGES COPYING CREDITS DISCLAIMER README TO_DO eg/ +%doc CHANGES COPYING CREDITS DISCLAIMER README README.md TO_DO eg/ %{perl_vendorlib}/IPC/ -%{_mandir}/man3/*.3pm* +%{_mandir}/man3/IPC::Shareable.3pm* +%{_mandir}/man3/IPC::Shareable::SharedMem.3pm* %changelog +* Sun Oct 6 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.61-1 +- Update to 0.61 + - Added patch fixing IPC::Shareable's dependence on the presence of a perl + bug that is no longer present in perl ≥ 5.10 + - Fixed bug where the FETCH operation on a tie()d string containing HASH, + ARRAY, or SCALAR failed because it was using the stringification of the + data to determine what kind of reference it was + - Added missing dependency on IPC::Semaphore to Makefile.PL + - Added a 'sleep 1' in a test that was hanging on certain systems due + (possibly) to two alarm signals coming too quickly to the child process +- This release by MSOUTH -> update source URL +- Drop upstreamed patches +- Specify all dependencies +- Use %%{_fixperms} macro rather than our own chmod incantation +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't need to remove empty directories from the buildroot +- Don't use macros for commands +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.60-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 4335332..f12b091 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -51462dabfb4eec81e0b3417a9f9add4e IPC-Shareable-0.60.tar.gz +8fb14d9e202651531ca5e5e5f1acd041 IPC-Shareable-0.61.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel