commit 949dfddc870e682db5c76890877e0cc3febfe2ed Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Oct 14 11:48:37 2013 +0100 Update to 1.20 - New upstream release 1.20 - Moved repository to https://github.com/theory/params-callbackrequest/ - Switched to a "traditional" Makefile.PL - Specify all dependencies - Don't need to remove empty directories from the buildroot - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Don't use macros for commands .gitignore | 2 +- perl-Params-CallbackRequest.spec | 58 +++++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 44 insertions(+), 18 deletions(-) --- diff --git a/.gitignore b/.gitignore index dd435bd..3a48f8f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Params-CallbackRequest-1.19.tar.gz +/Params-CallbackRequest-[0-9.]*.tar.gz diff --git a/perl-Params-CallbackRequest.spec b/perl-Params-CallbackRequest.spec index 405d5d3..46f3d73 100644 --- a/perl-Params-CallbackRequest.spec +++ b/perl-Params-CallbackRequest.spec @@ -1,23 +1,38 @@ Name: perl-Params-CallbackRequest -Version: 1.19 -Release: 14%{?dist} +Version: 1.20 +Release: 1%{?dist} Summary: Functional and object-oriented callback architecture License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Params-CallbackRequest/ Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/Params-CallbackRequest-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +# Module Build +BuildRequires: perl(Module::Build) +# Module Runtime +BuildRequires: perl(Attribute::Handlers) >= 0.77 +BuildRequires: perl(Carp) +BuildRequires: perl(constant) BuildRequires: perl(Class::ISA) BuildRequires: perl(Exception::Class) >= 1.10 -BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) >= 0.59 +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl(base) BuildRequires: perl(Test::More) >= 0.17 -BuildRequires: perl(Test::Pod) >= 1.20 -BuildRequires: perl(Test::Simple) >= 0.17 +BuildRequires: perl(Test::Pod) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Attribute::Handlers) >= 0.77 +Requires: perl(Carp) +Requires: perl(Class::ISA) Requires: perl(Exception::Class) >= 1.10 Requires: perl(Params::Validate) >= 0.59 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Filter under-specified dependencies +%global __requires_exclude ^perl\\((Exception::Class|Params::Validate)\\)$ %description Params::CallbackRequest provides functional and object-oriented callbacks @@ -30,17 +45,17 @@ parameters to request(). %prep %setup -q -n Params-CallbackRequest-%{version} +# Avoid spurious warning from Test::Pod +mkdir bin + %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 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check ./Build test @@ -49,12 +64,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) -%doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%doc Changes README.md +%{perl_vendorlib}/Params/ +%{_mandir}/man3/Params::Callback.3pm* +%{_mandir}/man3/Params::CallbackRequest.3pm* +%{_mandir}/man3/Params::CallbackRequest::Exceptions.3pm* %changelog +* Mon Oct 14 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.20-1 +- Update to 1.20 + - Moved repository to https://github.com/theory/params-callbackrequest/ + - Switched to a "traditional" Makefile.PL +- Specify all dependencies +- Don't need to remove empty directories from the buildroot +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Don't use macros for commands + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.19-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 1de66b5..93d62d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f186de85520a70c4e7bf85a53e8c51df Params-CallbackRequest-1.19.tar.gz +5836fbaaab326391886c696e8d6a56e5 Params-CallbackRequest-1.20.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