diff --git a/.gitignore b/.gitignore index c9c9402..54718f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ Template-Alloy-1.013.tar.gz /Template-Alloy-1.016.tar.gz /Template-Alloy-1.018.tar.gz +/Template-Alloy-1.019.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..0ace4f4 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* Templating"); diff --git a/perl-Template-Alloy.spec b/perl-Template-Alloy.spec index da38e71..cf2e9ac 100644 --- a/perl-Template-Alloy.spec +++ b/perl-Template-Alloy.spec @@ -1,5 +1,5 @@ Name: perl-Template-Alloy -Version: 1.018 +Version: 1.019 Release: 1%{?dist} Summary: Templating tool supporting multiple markup formats # see lib/Template/Alloy.pod @@ -8,38 +8,41 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Template-Alloy/ Source0: http://www.cpan.org/authors/id/R/RH/RHANDOM/Template-Alloy-%{version}.tar.gz BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) -# Run-time -BuildRequires: perl(base) -BuildRequires: perl(Carp) -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(Exporter) -BuildRequires: perl(File::Path) -BuildRequires: perl(JSON) -BuildRequires: perl(overload) -BuildRequires: perl(Storable) -BuildRequires: perl(strict) -BuildRequires: perl(vars) -BuildRequires: perl(warnings) -# Tests -BuildRequires: perl(constant) -BuildRequires: perl(Data::Dumper) -BuildRequires: perl(File::Path) -BuildRequires: perl(Taint::Runtime) -BuildRequires: perl(Template::View) -BuildRequires: perl(Template::Stash) -BuildRequires: perl(Test::More) - -Requires: perl(Carp) -Requires: perl(Data::Dumper) -Requires: perl(Digest::MD5) -Requires: perl(File::Path) -Requires: perl(JSON) -Requires: perl(overload) -Requires: perl(Storable) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Digest::MD5) >= 1 +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Path) +BuildRequires: perl(JSON) +BuildRequires: perl(overload) +BuildRequires: perl(Storable) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Optional run-time: +BuildRequires: perl(Encode) +BuildRequires: perl(Scalar::Util) +# Tests: +BuildRequires: perl(Taint::Runtime) +BuildRequires: perl(Template::Filters) +BuildRequires: perl(Template::Stash) +BuildRequires: perl(Template::View) +BuildRequires: perl(Test::More) +# Optional tests: +BuildRequires: perl(utf8) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Data::Dumper) +Requires: perl(Digest::MD5) >= 1 +Requires: perl(File::Path) +Requires: perl(JSON) +Requires: perl(overload) +Requires: perl(Storable) %{?perl_default_filter} @@ -47,42 +50,39 @@ Requires: perl(Storable) "An alloy is a homogeneous mixture of two or more elements" (http://en.wikipedia.org/wiki/Alloy). -Template::Alloy represents the mixing of features and capabilities from all -of the major mini-language based template systems (support for -non-mini-language based systems will happen eventually). With Template::Alloy -you can use your favorite template interface and syntax and get features from -each of the other major template systems. And Template::Alloy is fast - -whether you're using mod_perl, cgi, or running from the commandline. There -is even Template::Alloy::XS for getting a little more speed when that is -necessary. - +Template::Alloy represents the mixing of features and capabilities from all of +the major mini-language based template systems (support for non-mini-language +based systems will happen eventually). With Template::Alloy you can use your +favorite template interface and syntax and get features from each of the other +major template systems. And Template::Alloy is fast - whether you're using +mod_perl, CGI, or running from the command line. There is even +Template::Alloy::XS for getting a little more speed when that is necessary. %prep %setup -q -n Template-Alloy-%{version} - find . -type f -exec chmod -c -x {} + %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} - +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* %check make test %files -%doc Changes README samples/ t/ +%doc Changes README samples/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Sep 09 2013 Petr Pisar - 1.019-1 +- 1.019 bump + * Fri Aug 23 2013 Jitka Plesnikova - 0.018-1 - 0.018 bump, bug fixes - Specify all dependencies diff --git a/sources b/sources index 00ee9f9..940c121 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -914e5519cca5d0fc7ef11ffbf8bcec95 Template-Alloy-1.018.tar.gz +fb6ce35078bf768625014de8aeb5f88e Template-Alloy-1.019.tar.gz