Accepting request 176089 from home:weberho:UNSTABLE:webtools

Update to version 1.3.5

OBS-URL: https://build.opensuse.org/request/show/176089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-uglifyjs?expand=0&rev=3
This commit is contained in:
Sascha Peilicke
2013-05-22 11:11:52 +00:00
committed by Git OBS Bridge
parent 2035de9362
commit e85a4180c3
4 changed files with 28 additions and 17 deletions

3
UglifyJS-1.3.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a11104a110ac4f66345fcf42e343607b9554308376a7f903dfe1804e4068f707
size 81922

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ab6babc0686197c37a66a08e3f8abccba534b14b494587708e04bbb4ff9deee
size 78362

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 18 13:53:55 UTC 2013 - jweberhofer@weberhofer.at
- Update to version 1.3.5
* Upstream provides no changelog
-------------------------------------------------------------------
Wed Apr 18 14:01:58 UTC 2012 - saschpe@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package nodejs-uglifyjs
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products 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,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: nodejs-uglifyjs
Version: 1.2.6
Version: 1.3.4
Release: 0
License: MIT
Summary: a JavaScript parser/compressor/beautifier
Url: https://github.com/mishoo/UglifyJS/tags
Summary: JavaScript parser/compressor/beautifier toolkit
License: BSD-2-Clause
Group: Development/Libraries/Other
Source0: mishoo-UglifyJS-v1.2.6-0-gb969f45.tar.gz
Url: https://github.com/mishoo/UglifyJS
#Download URL: https://github.com/mishoo/UglifyJS/archive/v1.3.4.tar.gz
Source0: UglifyJS-%{version}.tar.gz
BuildRequires: nodejs
Requires: nodejs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -33,19 +33,24 @@ BuildArch: noarch
%description
This package implements a general-purpose JavaScript
parser/compressor/beautifier toolkit. It is developed on NodeJS, but it should work on any
JavaScript platform supporting the CommonJS module system (and if your platform of choice doesnt
support CommonJS, you can easily implement it, or discard the exports.* lines from UglifyJS sources).
parser/compressor/beautifier toolkit. It is developed on NodeJS, but it should
work on any JavaScript platform supporting the CommonJS module system (and if
your platform of choice doesnt support CommonJS, you can easily implement it,
or discard the exports.* lines from UglifyJS sources).
The tokenizer/parser generates an abstract syntax tree from JS code. You can then traverse the
AST to learn more about the code, or do various manipulations on it. This part is
implemented in parse-js.js and its a port to JavaScript of the excellent parse-js Common Lisp library from Marijn Haverbeke.
The tokenizer/parser generates an abstract syntax tree from JS code. You can
then traverse the AST to learn more about the code, or do various manipulations
on it. This part is implemented in parse-js.js and its a port to JavaScript of
the excellent parse-js Common Lisp library from Marijn Haverbeke.
%prep
%setup -q -n mishoo-UglifyJS-b969f45
%setup -q -n UglifyJS-%{version}
%build
%check
node test/testparser.js
%install
npm_config_binroot=%{buildroot}%{_bindir} \
npm_config_manroot=%{buildroot}%{_mandir} \