commit 7c5b6d7c436c7ee4966f0b8c12617fa369e356bd Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Thu Dec 11 16:01:23 2014 +0000 Update to 1.25 - New upstream release 1.25 - Add tests for really big data structures (but not yet working) - Check for taint-mode less insanely - Don't delay loading File::Find::Rule (CPAN RT#87554) - Bump the required JSON.pm version for tests - something's a bit broken around about v2.53 - Add tests and patch to use refaddr and reftype to 'do the right thing' when comparing objects that overload numification and stringification - Classify buildreqs by usage - Use DESTDIR rather than PERL_INSTALL_ROOT - Use %{_fixperms} macro rather than our own chmod incantation - Use %license where possible - Make %files list more explicit .gitignore | 3 +- perl-Data-Compare.spec | 70 +++++++++++++++++++++++++++++++++++++----------- sources | 2 +- 3 files changed, 56 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index a2175ab..802f4a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -Data-Compare-1.21.tar.gz -/Data-Compare-1.22.tar.gz +/Data-Compare-[0-9.]*.tar.gz diff --git a/perl-Data-Compare.spec b/perl-Data-Compare.spec index 502b4d3..e51dc01 100644 --- a/perl-Data-Compare.spec +++ b/perl-Data-Compare.spec @@ -1,28 +1,40 @@ Name: perl-Data-Compare -Version: 1.22 -Release: 10%{?dist} +Version: 1.25 +Release: 1%{?dist} Summary: Compare perl data structures Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Data-Compare/ Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-%{version}.tar.gz BuildArch: noarch +# Module Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) BuildRequires: perl(File::Find::Rule) -BuildRequires: perl(Scalar::Properties) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Test Suite BuildRequires: perl(Clone) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Config) +BuildRequires: perl(constant) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) >= 1.00 +# Optional Tests BuildRequires: perl(JSON) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# Not autodetected. -Requires: perl(File::Find::Rule) +BuildRequires: perl(Scalar::Properties) +BuildRequires: perl(Test::Pod) >= 1.00 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module compares arbitrary data structures to see if they are copies of each other. - %prep %setup -q -n Data-Compare-%{version} @@ -31,20 +43,46 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} %{buildroot} %check make test %files -%doc CHANGES MAINTAINERS-NOTE README TODO -%{perl_vendorlib}/Data/ -%{_mandir}/man3/*.3pm* +%if 0%{?_licensedir:1} +%license ARTISTIC.txt GPL2.txt +%else +%doc ARTISTIC.txt GPL2.txt +%endif +%doc CHANGELOG MAINTAINERS-NOTE NOTES README TODO +%dir %{perl_vendorlib}/Data/ +%dir %{perl_vendorlib}/Data/Compare/ +%dir %{perl_vendorlib}/Data/Compare/Plugins/ +%doc %{perl_vendorlib}/Data/Compare/Plugins.pod +%{perl_vendorlib}/Data/Compare.pm +%{perl_vendorlib}/Data/Compare/Plugins/Scalar/ +%{_mandir}/man3/Data::Compare.3* +%{_mandir}/man3/Data::Compare::Plugins.3* +%{_mandir}/man3/Data::Compare::Plugins::Scalar::Properties.3* %changelog +* Thu Dec 11 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.25-1 +- Update to 1.25 + - Add tests for really big data structures (but not yet working) + - Check for taint-mode less insanely + - Don't delay loading File::Find::Rule (CPAN RT#87554) + - Bump the required JSON.pm version for tests - something's a bit broken + around about v2.53 + - Add tests and patch to use refaddr and reftype to 'do the right thing' when + comparing objects that overload numification and stringification +- Classify buildreqs by usage +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Use %%{_fixperms} macro rather than our own chmod incantation +- Use %%license where possible +- Make %%files list more explicit + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.22-10 - Perl 5.20 rebuild diff --git a/sources b/sources index 36fece7..c58c879 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7d471ce482b3a4bcc3f3d29dd23b92ce Data-Compare-1.22.tar.gz +6a397ab5833237f3ca05ed7277b19a7a Data-Compare-1.25.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