diff --git a/JavaScript-Minifier-1.14.tar.gz b/JavaScript-Minifier-1.14.tar.gz deleted file mode 100644 index 67e893f..0000000 --- a/JavaScript-Minifier-1.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35f2e4679bb18ccfa4637b0a142dea8df641a12fe9a107c8a376f6261ca72482 -size 22368 diff --git a/JavaScript-Minifier-1.15.tar.gz b/JavaScript-Minifier-1.15.tar.gz new file mode 100644 index 0000000..e47a0e7 --- /dev/null +++ b/JavaScript-Minifier-1.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee65ff7d1590a352e4d6b8bb15f8f63060428ccfd697e29f8bcb323b5149bbc7 +size 23401 diff --git a/perl-JavaScript-Minifier.changes b/perl-JavaScript-Minifier.changes index 669d7e1..1c918e7 100644 --- a/perl-JavaScript-Minifier.changes +++ b/perl-JavaScript-Minifier.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 4 03:10:27 UTC 2021 - Tina Müller + +- updated to 1.15 + see /usr/share/doc/packages/perl-JavaScript-Minifier/Changes + + 1.15 2021-02-02 + - Fixed parsing errors with regexp return (by faf, #11) + ------------------------------------------------------------------- Fri Apr 24 15:31:41 UTC 2015 - coolo@suse.com diff --git a/perl-JavaScript-Minifier.spec b/perl-JavaScript-Minifier.spec index e0960a6..012e919 100644 --- a/perl-JavaScript-Minifier.spec +++ b/perl-JavaScript-Minifier.spec @@ -1,7 +1,7 @@ # # spec file for package perl-JavaScript-Minifier # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: perl-JavaScript-Minifier -Version: 1.14 -Release: 0 %define cpan_name JavaScript-Minifier +Name: perl-JavaScript-Minifier +Version: 1.15 +Release: 0 Summary: Perl extension for minifying JavaScript code -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/JavaScript-Minifier/ -Source0: http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/%{cpan_name}-%{version}.tar.gz +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/Z/ZO/ZOFFIX/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} @@ -53,14 +51,14 @@ good idea to cache the minified file. Minifying static files on-the-fly repeatedly is wasteful. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -68,7 +66,7 @@ repeatedly is wasteful. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes examples LICENSE README README.md +%doc Changes examples README README.md +%license LICENSE %changelog