Accepting request 295903 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295903 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JavaScript-Minifier?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
9de2e6ef05
commit
19fbea4ca6
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83b0ce3d9aa21b9e9328ab4ffcf6ba57d0a13b2ef80d4bdb7888a804dfc236ae
|
||||
size 7314
|
3
JavaScript-Minifier-1.13.tar.gz
Normal file
3
JavaScript-Minifier-1.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:791a63cab57807263961a54bec28f589a2e3ce7aeff6fddf1df27edede4fdc6e
|
||||
size 22282
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:42:39 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.13
|
||||
see /usr/share/doc/packages/perl-JavaScript-Minifier/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 20:52:40 UTC 2011 - them4z@googlemail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-JavaScript-Minifier (Version 1.05)
|
||||
# spec file for package perl-JavaScript-Minifier
|
||||
#
|
||||
# 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,15 +15,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-JavaScript-Minifier
|
||||
Version: 1.05
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Version: 1.13
|
||||
Release: 0
|
||||
%define cpan_name JavaScript-Minifier
|
||||
Summary: Perl extension for minifying JavaScript code
|
||||
Url: http://search.cpan.org/dist/JavaScript-Minifier/
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/P/PM/PMICHAUX/%{cpan_name}-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/JavaScript-Minifier/
|
||||
Source: http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@@ -31,12 +32,24 @@ BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module removes unnecessary whitespace from JavaScript code. The primary requirement developing this module is to not break working code: if working JavaScript is in input then working JavaScript is output.
|
||||
This module removes unnecessary whitespace from JavaScript code. The
|
||||
primary requirement developing this module is to not break working code: if
|
||||
working JavaScript is in input then working JavaScript is output. It is ok
|
||||
if the input has missing semi-colons, snips like '++ +' or '12
|
||||
.toString()', for example. Internet Explorer conditional comments are
|
||||
copied to the output but the code inside these comments will not be
|
||||
minified.
|
||||
|
||||
Author:
|
||||
-------
|
||||
Peter Michaux <petermichaux@gmail.com>,
|
||||
Eric Herrera <herrera@10east.com>
|
||||
The ECMAScript specifications allow for many different whitespace
|
||||
characters: space, horizontal tab, vertical tab, new line, carriage return,
|
||||
form feed, and paragraph separator. This module understands all of these as
|
||||
whitespace except for vertical tab and paragraph separator. These two types
|
||||
of whitespace are not minimized.
|
||||
|
||||
For static JavaScript files, it is recommended that you minify during the
|
||||
build stage of web deployment. If you minify on-the-fly then it might be a
|
||||
good idea to cache the minified file. Minifying static files on-the-fly
|
||||
repeatedly is wasteful.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
@@ -53,10 +66,8 @@ Author:
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples LICENSE README README.md xt
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user