commit 029051930d4d93ef06960b1eeae9759caf16cc5c Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Oct 7 12:20:31 2013 +0100 Update to 1.19 - New upstream release 1.19 - Fixed a pasto in the "Support" section - Moved repository to https://github.com/theory/masonx-interp-withcallbacks/ - Fixed installation documentation in the README so that it demonstrates using Build.PL rather than Makefile.PL, as the latter is not included in the distribution - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Don't need to remove empty directories from the buildroot - Don't use macros for commands - Specify all dependencies - Run the test suite, except for tests requiring a web server .gitignore | 2 +- perl-MasonX-Interp-WithCallbacks.spec | 70 ++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 53 insertions(+), 21 deletions(-) --- diff --git a/.gitignore b/.gitignore index b54a775..6a8e668 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -MasonX-Interp-WithCallbacks-1.18.tar.gz +/MasonX-Interp-WithCallbacks-[0-9.]*.tar.gz diff --git a/perl-MasonX-Interp-WithCallbacks.spec b/perl-MasonX-Interp-WithCallbacks.spec index ec293c0..a860220 100644 --- a/perl-MasonX-Interp-WithCallbacks.spec +++ b/perl-MasonX-Interp-WithCallbacks.spec @@ -1,25 +1,44 @@ Name: perl-MasonX-Interp-WithCallbacks -Version: 1.18 -Release: 14%{?dist} +Version: 1.19 +Release: 1%{?dist} Summary: Mason callback support via Params::CallbackRequest License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/ Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/MasonX-Interp-WithCallbacks-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch -BuildRequires: perl(Apache::TestMB) +# Module Build +BuildRequires: perl(Module::Build) +# Module Runtime BuildRequires: perl(Class::Container) >= 0.09 BuildRequires: perl(HTML::Mason) >= 1.23 -BuildRequires: perl(Module::Build) +BuildRequires: perl(HTML::Mason::Exceptions) +BuildRequires: perl(HTML::Mason::Interp) +BuildRequires: perl(HTML::Mason::MethodMaker) BuildRequires: perl(Params::CallbackRequest) >= 1.15 -BuildRequires: perl(Test::More) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl(Attribute::Handlers) +BuildRequires: perl(base) +BuildRequires: perl(CGI) +BuildRequires: perl(Class::ISA) +BuildRequires: perl(constant) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(FindBin) +BuildRequires: perl(HTML::Mason::ApacheHandler) +BuildRequires: perl(HTML::Mason::CGIHandler) +BuildRequires: perl(Params::Callback) +BuildRequires: perl(Test::More) >= 0.17 BuildRequires: perl(Test::Pod) >= 1.20 -Requires: perl(Apache::TestMB) +BuildRequires: perl(Test::Simple) >= 0.17 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Class::Container) >= 0.09 Requires: perl(HTML::Mason) >= 1.23 +Requires: perl(HTML::Mason::MethodMaker) Requires: perl(Params::CallbackRequest) >= 1.15 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to @@ -33,31 +52,44 @@ just before Mason creates and executes the request component stack. %prep %setup -q -n MasonX-Interp-WithCallbacks-%{version} +# Silence warning from Pod test +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 -%{?_with_check:./Build test} +./Build test %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) -%doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%doc Changes README.md +%{perl_vendorlib}/MasonX/ +%{_mandir}/man3/MasonX::Interp::WithCallbacks.3pm* %changelog +* Mon Oct 7 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.19-1 +- Update to 1.19 + - Fixed a pasto in the "Support" section + - Moved repository to https://github.com/theory/masonx-interp-withcallbacks/ + - Fixed installation documentation in the README so that it demonstrates + using Build.PL rather than Makefile.PL, as the latter is not included in + the distribution +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Don't need to remove empty directories from the buildroot +- Don't use macros for commands +- Specify all dependencies +- Run the test suite, except for tests requiring a web server + * Fri Aug 09 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.18-14 - Perl 5.18 rebuild @@ -83,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.18-6 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Mon May 03 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.18-5 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index c82c785..e844aa7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f6671d37414eb22bf9d642eb855f5488 MasonX-Interp-WithCallbacks-1.18.tar.gz +77c15277e779033c7095ca6c5fe8084b MasonX-Interp-WithCallbacks-1.19.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