From e8c09532a48e99c92c4791e472272bd0582e4abe8d212bde65c34ba7c41e784a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 14 Mar 2015 15:56:56 +0000 Subject: [PATCH] - updated to 0.11 - RT #58416; don't segfault when trying to minify non-javascript 0.10 Mon Jan 26 22:46 PST 2015 - RT #64948; allow builds on older versions of Perl. Thanks to Michael Robinton and Ruslan Zakirov. - Lowered minimum Perl version to v5.6.0, as detected by Perl::MinimumVersion. - RT #51008; allow for minification of JS code that returns regexps from functions. Thanks to James Barton, Robert Krimen, and Randy Stauner. - Added "xt/test-compile.t" to test minification against a wider range of JS. While not a 100% guarantee that the JS still works, it does provide a wider range of JS to test against. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JavaScript-Minifier-XS?expand=0&rev=2 --- JavaScript-Minifier-XS-0.09.tar.gz | 3 --- JavaScript-Minifier-XS-0.11.tar.gz | 3 +++ perl-JavaScript-Minifier-XS.changes | 18 ++++++++++++++++++ perl-JavaScript-Minifier-XS.spec | 21 ++++++++++----------- 4 files changed, 31 insertions(+), 14 deletions(-) delete mode 100644 JavaScript-Minifier-XS-0.09.tar.gz create mode 100644 JavaScript-Minifier-XS-0.11.tar.gz diff --git a/JavaScript-Minifier-XS-0.09.tar.gz b/JavaScript-Minifier-XS-0.09.tar.gz deleted file mode 100644 index 5bcc672..0000000 --- a/JavaScript-Minifier-XS-0.09.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6eefcdf9a802787e728c01e4af33e97055054203c99a9c688eff6e0f1f7b56ca -size 14509 diff --git a/JavaScript-Minifier-XS-0.11.tar.gz b/JavaScript-Minifier-XS-0.11.tar.gz new file mode 100644 index 0000000..021a98d --- /dev/null +++ b/JavaScript-Minifier-XS-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151212ca4bd50b2f5e1de6d01e3cb08460407bd75f27dfc8162f2f7927839eee +size 17517 diff --git a/perl-JavaScript-Minifier-XS.changes b/perl-JavaScript-Minifier-XS.changes index 7f5f3f3..1c371c8 100644 --- a/perl-JavaScript-Minifier-XS.changes +++ b/perl-JavaScript-Minifier-XS.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Mar 14 15:54:51 UTC 2015 - coolo@suse.com + +- updated to 0.11 + - RT #58416; don't segfault when trying to minify non-javascript + + 0.10 Mon Jan 26 22:46 PST 2015 + - RT #64948; allow builds on older versions of Perl. + Thanks to Michael Robinton and Ruslan Zakirov. + - Lowered minimum Perl version to v5.6.0, as detected by + Perl::MinimumVersion. + - RT #51008; allow for minification of JS code that returns regexps from + functions. + Thanks to James Barton, Robert Krimen, and Randy Stauner. + - Added "xt/test-compile.t" to test minification against a wider range of + JS. While not a 100% guarantee that the JS still works, it does provide + a wider range of JS to test against. + ------------------------------------------------------------------- Tue May 3 06:01:35 UTC 2011 - coolo@opensuse.org diff --git a/perl-JavaScript-Minifier-XS.spec b/perl-JavaScript-Minifier-XS.spec index 9915340..8d3e011 100644 --- a/perl-JavaScript-Minifier-XS.spec +++ b/perl-JavaScript-Minifier-XS.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-JavaScript-Minifier-XS (Version 0.09) +# spec file for package perl-JavaScript-Minifier-XS # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-JavaScript-Minifier-XS -Version: 0.09 -Release: 1 -License: GPL+ or Artistic +Version: 0.11 +Release: 0 %define cpan_name JavaScript-Minifier-XS Summary: XS based JavaScript minifier -Url: http://search.cpan.org/dist/JavaScript-Minifier-XS/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/JavaScript-Minifier-XS/ Source: http://www.cpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(Module::Build) >= 0.42 %{perl_requires} %description @@ -53,11 +55,8 @@ and not just pure Perl. ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README +%doc Changes README xt %changelog