- Update to version 1.2.6:

* Upstream provides no changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-uglifyjs?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2012-04-18 14:02:11 +00:00
committed by Git OBS Bridge
parent ad6f6ec8da
commit 2035de9362
4 changed files with 21 additions and 20 deletions

View File

@@ -1,4 +1,7 @@
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# spec file for package nodejs-uglifyjs
#
# Copyright (c) 2012 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
@@ -12,22 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: nodejs-uglifyjs
Summary: a JavaScript parser/compressor/beautifier
Version: 1.2.5
Release: 1
Version: 1.2.6
Release: 0
License: MIT
Url: https://github.com/jshint/node-jshint
Source0: mishoo-UglifyJS-v1.2.5-5-gcab739c.tar.gz
# Patch01: nodejs-jshint-package_json-0.5.7.diff
Summary: a JavaScript parser/compressor/beautifier
Url: https://github.com/mishoo/UglifyJS/tags
Group: Development/Libraries/Other
Source0: mishoo-UglifyJS-v1.2.6-0-gb969f45.tar.gz
BuildRequires: nodejs
Requires: nodejs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: nodejs
BuildRequires: nodejs
%define mod_name uglifyjs
%define local_dependencies_path %{buildroot}%{_prefix}/lib/node_modules/%{mod_name}/node_modules
@@ -42,7 +42,7 @@ AST to learn more about the code, or do various manipulations on it. This part i
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-cab739c
%setup -q -n mishoo-UglifyJS-b969f45
%build
@@ -51,14 +51,9 @@ npm_config_binroot=%{buildroot}%{_bindir} \
npm_config_manroot=%{buildroot}%{_mandir} \
npm_config_prefix=%{buildroot}%{_prefix} npm install -g .
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/uglifyjs
%{_prefix}/lib/node_modules
%changelog