Accepting request 869772 from devel:languages:perl:autoupdate

- 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)

OBS-URL: https://build.opensuse.org/request/show/869772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JavaScript-Minifier?expand=0&rev=4
This commit is contained in:
Christian Wittmer
2021-02-06 13:48:52 +00:00
committed by Git OBS Bridge
parent 0b4306b7c0
commit 91e9ba2499
4 changed files with 26 additions and 19 deletions

View File

@@ -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