commit 3f9390a8db1d6a7265b2d1c438938f6da22473eb Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Nov 21 13:16:35 2014 +0100 1.56 bump .gitignore | 1 + .rpmlint | 2 + perl-HTML-Mason.spec | 94 ++++++++++++++++++++++++++++++++++++++++--------- sources | 2 +- 4 files changed, 80 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 91e460d..7e70747 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /HTML-Mason-1.54.tar.gz +/HTML-Mason-1.56.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..2df4526 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* templating"); diff --git a/perl-HTML-Mason.spec b/perl-HTML-Mason.spec index df9a8f0..6f2d184 100644 --- a/perl-HTML-Mason.spec +++ b/perl-HTML-Mason.spec @@ -1,43 +1,100 @@ Name: perl-HTML-Mason -Version: 1.54 +Version: 1.56 Release: 1%{?dist} Epoch: 1 Summary: Powerful Perl-based web site development and delivery engine License: GPL+ or Artistic Group: Development/Libraries URL: http://www.masonhq.com/ -Source0: http://www.cpan.org/authors/id/J/JS/JSWARTZ/HTML-Mason-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/HTML-Mason-%{version}.tar.gz Source1: perl-HTML-Mason.conf - BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +# Stick to Apache2, ignore Apache 1 modules +BuildRequires: perl(Apache2::Directive) +BuildRequires: perl(Apache2::Log) +BuildRequires: perl(Apache2::RequestIO) +BuildRequires: perl(Apache2::RequestRec) +BuildRequires: perl(Apache2::RequestUtil) +BuildRequires: perl(Apache2::ServerUtil) +BuildRequires: perl(APR::Table) +BuildRequires: perl(base) +BuildRequires: perl(bytes) BuildRequires: perl(Cache::Cache) >= 1 -BuildRequires: perl(CHI) >= 0.21 BuildRequires: perl(CGI) >= 2.46 +BuildRequires: perl(CHI) >= 0.21 BuildRequires: perl(Class::Container) >= 0.07 +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exception::Class) >= 1.15 +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Glob) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) >= 0.8 +BuildRequires: perl(File::Temp) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(Getopt::Std) BuildRequires: perl(HTML::Entities) +BuildRequires: perl(IO::File) BuildRequires: perl(Log::Any) >= 0.08 BuildRequires: perl(mod_perl2) -BuildRequires: perl(Module::Build) -BuildRequires: perl(Params::Validate) >= 0.7 +BuildRequires: perl(Params::Validate) >= 0.70 +BuildRequires: perl(Scalar::Util) >= 1.01 BuildRequires: perl(Test::Builder) +BuildRequires: perl(vars) +BuildRequires: perl(YAML) +# Tests: +# Apache not used +BuildRequires: perl(Cache::FileCache) +BuildRequires: perl(Config) +BuildRequires: perl(FileHandle) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(lib) +BuildRequires: perl(Log::Any::Test) +BuildRequires: perl(Module::Build) +# Pod::Wordlist not used +BuildRequires: perl(Test) BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Harness) +BuildRequires: perl(Test::More) >= 0.88 +# Test::NoTabs not used +# Test::Pod 1.41 not used +# Test::Spelling 0.12 not used +# Optional tests: +BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::Memory::Cycle) -BuildRequires: perl(Test::Pod) >= 1.20 +BuildRequires: perl(Test::Output) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Stick to Apache2, ignore Apache 1 modules +Requires: perl(Apache2::Directive) +Requires: perl(Apache2::Log) +Requires: perl(Apache2::RequestIO) +Requires: perl(Apache2::RequestRec) +Requires: perl(Apache2::RequestUtil) +Requires: perl(Apache2::ServerUtil) +Requires: perl(APR::Table) Requires: perl(Cache::Cache) >= 1 +Requires: perl(CHI) >= 0.21 Requires: perl(Class::Container) >= 0.07 Requires: perl(Exception::Class) >= 1.15 -Requires: perl(Params::Validate) >= 0.7 +Requires: perl(File::Spec) >= 0.8 Requires: perl(mod_perl2) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Params::Validate) >= 0.70 +Requires: perl(Scalar::Util) >= 1.01 +Requires: perl(YAML) Requires: %{_sysconfdir}/httpd/conf.d %{?perl_default_filter} -# filter out duplicate Requires: -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Class::Container\\) -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exception::Class\\) -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Validate\\) +# Filter out under-specified Requires: +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Class::Container|Exception::Class|File::Spec|Params::Validate)\\)$ %description Mason is a powerful Perl-based web site development and delivery @@ -50,14 +107,12 @@ maintaining development and production sites, and more. %setup -q -n HTML-Mason-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* rm -f $RPM_BUILD_ROOT%{_bindir}/*.README @@ -80,7 +135,7 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/mason make test %files -%doc Changes CREDITS LICENSE README UPGRADE +%doc Changes CREDITS LICENSE README.md UPGRADE %doc eg/ samples/ %{_bindir}/mason* %{perl_vendorlib}/* @@ -90,6 +145,9 @@ make test %dir %{_localstatedir}/www/mason %changelog +* Fri Nov 21 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1:1.56-1 +- 1.56 bump + * Sun Mar 02 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 1:1.54-1 - Upstream update. - Filter duplicate Requires:. diff --git a/sources b/sources index 85b2dbd..927e9e5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6240ce4b472f0c92569f9535fcec410f HTML-Mason-1.54.tar.gz +7727187a1ffbab6f83433b67edd98ac6 HTML-Mason-1.56.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