From 571b507811c759d01ae946606202b5262eebacce Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 18 Jun 2014 11:36:07 +0100 Subject: [PATCH] Update to 0.32 - New upstream release 0.32 - Release with Zilla::Dist - Declare Spiffy.pod as %doc --- .gitignore | 3 +-- perl-Spiffy.spec | 34 ++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 7a70fdc..7c83e0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -Spiffy-0.30.tar.gz -/Spiffy-0.31.tar.gz +/Spiffy-[0-9.]*.tar.gz diff --git a/perl-Spiffy.spec b/perl-Spiffy.spec index 3d9b6eb..a37d556 100644 --- a/perl-Spiffy.spec +++ b/perl-Spiffy.spec @@ -1,31 +1,38 @@ Name: perl-Spiffy -Version: 0.31 -Release: 6%{?dist} +Version: 0.32 +Release: 1%{?dist} Summary: Framework for doing object oriented (OO) programming in Perl License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Spiffy/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Cwd) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Path) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) BuildRequires: perl(YAML) # Tests: BuildRequires: perl(base) +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Basename) BuildRequires: perl(lib) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Release Tests: +BuildRequires: perl(Test::Pod) >= 1.41 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) Requires: perl(Filter::Util::Call) +Requires: perl(overload) Requires: perl(Scalar::Util) +Requires: perl(warnings) Requires: perl(YAML) # Filter bogus provide of perl(DB) @@ -42,7 +49,7 @@ the nits and warts of traditional Perl OO, in a clean, straightforward and %setup -q -n Spiffy-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install @@ -51,14 +58,21 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check -make test +make test RELEASE_TESTING=1 %files %doc Changes LICENSE README -%{perl_vendorlib}/Spiffy* +%{perl_vendorlib}/Spiffy.pm +%doc %{perl_vendorlib}/Spiffy.pod +%{perl_vendorlib}/Spiffy/ %{_mandir}/man3/Spiffy.3pm* %changelog +* Wed Jun 18 2014 Paul Howarth - 0.32-1 +- Update to 0.32 + - Release with Zilla::Dist +- Declare Spiffy.pod as %%doc + * Sat Jun 07 2014 Fedora Release Engineering - 0.31-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index c8a0ec7..1a0f982 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -53cfd4e915715e6dac912469af3d71a0 Spiffy-0.31.tar.gz +fe38ed4e8f4a6f4626a85ac6b0837b61 Spiffy-0.32.tar.gz