commit e78c413c40c123ad4f7e61a28acafd9783ecaa79 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Nov 12 18:39:51 2014 +0000 Update to 0.14 - New upstream release 0.14 - Use Module::Build instead of Module::Install with minil(1) - No code changes - Specify all dependencies - Use %license where possible - Make %files list more explicit .gitignore | 3 +- perl-Hash-FieldHash.spec | 66 ++++++++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 48 insertions(+), 23 deletions(-) --- diff --git a/.gitignore b/.gitignore index 77075ca..cd90c92 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/Hash-FieldHash-0.10.tar.gz -/Hash-FieldHash-0.12.tar.gz +/Hash-FieldHash-[0-9.]*.tar.gz diff --git a/perl-Hash-FieldHash.spec b/perl-Hash-FieldHash.spec index 669e02e..86f8035 100644 --- a/perl-Hash-FieldHash.spec +++ b/perl-Hash-FieldHash.spec @@ -1,52 +1,78 @@ Name: perl-Hash-FieldHash -Version: 0.12 -Release: 10%{?dist} +Version: 0.14 +Release: 1%{?dist} Summary: Lightweight field hash implementation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Hash-FieldHash/ Source0: http://www.cpan.org/modules/by-module/Hash/Hash-FieldHash-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(constant) +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Prereqs) BuildRequires: perl(Devel::PPPort) >= 3.19 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) >= 0.38 BuildRequires: perl(parent) >= 0.221 -BuildRequires: perl(Test::LeakTrace) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(Test::LeakTrace) >= 0.07 BuildRequires: perl(Test::More) >= 0.62 +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(Test::Synopsis) +BuildRequires: perl(threads) +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) >= 0.02 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Avoid provides from private shared objects %{?perl_default_filter} %description -Hash::FieldHash provides the field hash mechanism which supports the inside- +Hash::FieldHash provides the field hash mechanism, which supports the inside- out technique. %prep %setup -q -n Hash-FieldHash-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +RELEASE_TESTING=1 perl Build.PL --installdirs=vendor --optimize="%{optflags}" +./Build %install -make pure_install DESTDIR=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} %{buildroot}/* +./Build install --destdir=%{buildroot} --create_packlist=0 +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +%{_fixperms} %{buildroot} %check -make test +./Build test %files -%doc Changes README -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/Hash* -%{_mandir}/man3/* +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README.md benchmark/ example/ +%{perl_vendorarch}/auto/Hash/ +%{perl_vendorarch}/Hash/ +%{_mandir}/man3/Hash::FieldHash.3* %changelog +* Wed Nov 12 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.14-1 +- Update to 0.14 + - Use Module::Build instead of Module::Install with minil(1) + - No code changes +- Specify all dependencies +- Use %%license where possible +- Make %%files list more explicit + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.12-10 - Perl 5.20 rebuild diff --git a/sources b/sources index d320912..67ede72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9d1308462bca7f4757f0c9136a08610e Hash-FieldHash-0.12.tar.gz +343747e35714e968ff3db39609e246ca Hash-FieldHash-0.14.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