commit 3ed55880d3de98e1867489f404bbf89a5d4ceb11 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Jul 24 17:16:54 2012 +0100 Update to 2.02 - New upstream release 2.02 - Removed old Perl 4-ish test comments in t/test.t - Tests and fixes for "Use of uninitialized value in join or string" warning (CPAN RT#73287) - BR: perl(Carp), perl(Test::More) and perl(Test::NoWarnings) - Don't use macros for commands - Drop %defattr, redundant since rpm 4.4 - Use %{_fixperms} macro rather than our own chmod incantation - Make %files list more explicit .gitignore | 2 +- perl-Array-Compare.spec | 52 ++++++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 31 insertions(+), 25 deletions(-) --- diff --git a/.gitignore b/.gitignore index e5c4d3a..8ba8ffe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Array-Compare-2.01.tar.gz +/Array-Compare-[0-9.]*.tar.gz diff --git a/perl-Array-Compare.spec b/perl-Array-Compare.spec index 3b6800c..4dda323 100644 --- a/perl-Array-Compare.spec +++ b/perl-Array-Compare.spec @@ -1,56 +1,62 @@ Name: perl-Array-Compare -Version: 2.01 -Release: 11%{?dist} +Version: 2.02 +Release: 1%{?dist} Summary: Perl extension for comparing arrays - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Array-Compare/ -Source0: http://www.cpan.org/authors/id/D/DA/DAVECROSS/Array-Compare-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - +Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Array-Compare-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch -BuildRequires: perl(Module::Build), perl(Moose) -BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Carp) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Moose) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::NoWarnings) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description If you have two arrays and you want to know if they are the same or different, then Array::Compare will be useful to you. - %prep %setup -q -n Array-Compare-%{version} chmod -c a-x lib/Array/*.pm - %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build - %install -rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -chmod -R u+w $RPM_BUILD_ROOT/* - +rm -rf %{buildroot} +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot} %check ./Build test - %clean -rm -rf $RPM_BUILD_ROOT - +rm -rf %{buildroot} %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Array/ -%{_mandir}/man3/*.3pm* - +%{_mandir}/man3/Array::Compare.3pm* %changelog +* Tue Jul 24 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 2.02-1 +- Update to 2.02 + - Removed old Perl 4-ish test comments in t/test.t + - Tests and fixes for "Use of uninitialized value in join or string" warning + (CPAN RT#73287) +- BR: perl(Carp), perl(Test::More) and perl(Test::NoWarnings) +- Don't use macros for commands +- Drop %%defattr, redundant since rpm 4.4 +- Use %%{_fixperms} macro rather than our own chmod incantation +- Make %%files list more explicit + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.01-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 8ee224e..e7b4f92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -df28c76bf58b3bdae86e1f9bdb0b7b9d Array-Compare-2.01.tar.gz +a1e5f3bc8a2dd4a27f65890a7c45dd05 Array-Compare-2.02.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