commit 36bebf6fa72d6d2c100eca21f70d8c34c8f45906 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Thu Jan 29 11:19:58 2015 +0100 0.11 bump, update BRs; Modernize spec file .gitignore | 1 + perl-JavaScript-Minifier-XS.spec | 39 +++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 24 insertions(+), 18 deletions(-) --- diff --git a/.gitignore b/.gitignore index 086d8dc..e693cae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ JavaScript-Minifier-XS-0.06.tar.gz /JavaScript-Minifier-XS-0.08.tar.gz /JavaScript-Minifier-XS-0.09.tar.gz +/JavaScript-Minifier-XS-0.11.tar.gz diff --git a/perl-JavaScript-Minifier-XS.spec b/perl-JavaScript-Minifier-XS.spec index aececa2..4c96244 100644 --- a/perl-JavaScript-Minifier-XS.spec +++ b/perl-JavaScript-Minifier-XS.spec @@ -1,18 +1,27 @@ Name: perl-JavaScript-Minifier-XS -Version: 0.09 -Release: 12%{?dist} +Version: 0.11 +Release: 1%{?dist} Summary: XS based JavaScript minifier License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/JavaScript-Minifier-XS/ Source0: http://search.cpan.org/CPAN/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Module::Build) > 0.35 -BuildRequires: perl(Test::More) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +# Tests +BuildRequires: perl(Benchmark) +BuildRequires: perl(File::Slurp) +BuildRequires: perl(File::Which) +BuildRequires: perl(IO::File) +BuildRequires: perl(IPC::Run) BuildRequires: perl(JavaScript::Minifier) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) >= 1.00 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Test::LeakTrace) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -25,32 +34,28 @@ files without breaking the JavaScript. %setup -q -n JavaScript-Minifier-XS-%{version} %build -%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %install -rm -rf $RPM_BUILD_ROOT - ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test - -%clean -rm -rf $RPM_BUILD_ROOT +./Build test --test_files="xt/*.t" %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/JavaScript* %{_mandir}/man3/* %changelog +* Thu Jan 29 2015 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.11-1 +- 0.11 bump, update BRs +- Modernize spec file + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.09-12 - Perl 5.20 rebuild diff --git a/sources b/sources index be44fe4..296cc76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b8d0e8110d2980573d807268bfab0768 JavaScript-Minifier-XS-0.09.tar.gz +bd8544287ecd1b651367295485f4a5b0 JavaScript-Minifier-XS-0.11.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