From 9127c45d5e18403f8687c97f3342cffa0215afe0 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Fri, 7 Jul 2017 12:57:50 +0200 Subject: [PATCH] Update to upstream 2.8.22 release --- .gitignore | 1 + sources | 2 +- uglify-js.spec | 8 +++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 485b946..975af86 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /uglify-js-2.6.1.tar.gz /uglify-js-2.7.0.tar.gz /uglify-js-2.8.17.tar.gz +/uglify-js-2.8.22.tar.gz diff --git a/sources b/sources index 7f1b255..a06ac1e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uglify-js-2.8.17.tar.gz) = 81b90738177413d86bc52d8b62b08b2b9e02b97addd277f799ab9416b6f99a3c7dcdc577e0193a059fad828caf6177e6ea079c7b202e74e0b0706dea30665f2f +SHA512 (uglify-js-2.8.22.tar.gz) = d881d226f6c17c3c49c20a765d16f09e8c23e413368e7e03fb6e6a9f39aa3686f45dcba9642f9c137f5a2ac6ac56ae5e4cff456b2eacba528776c5c36c01e63a diff --git a/uglify-js.spec b/uglify-js.spec index f8e55e2..520b094 100644 --- a/uglify-js.spec +++ b/uglify-js.spec @@ -10,7 +10,7 @@ %endif Name: uglify-js -Version: 2.8.17 +Version: 2.8.22 Release: 1%{?dist} Summary: JavaScript parser, mangler/compressor and beautifier toolkit BuildArch: noarch @@ -94,6 +94,9 @@ ln -sf javascript/%{name} %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{nodejs_sitelib}/uglify-js@2 cp -pr bin tools package.json %{buildroot}%{nodejs_sitelib}/uglify-js@2 ln -sf %{installdir}/%{name} %{buildroot}%{nodejs_sitelib}/uglify-js@2/lib +# Fix for rpmlint. +sed -i -e 's|^#! */usr/bin/env node|#!/usr/bin/node|' \ + %{buildroot}%{nodejs_sitelib}/uglify-js@2/bin/* mkdir -p %{buildroot}%{_bindir} ln -sf ../lib/node_modules/uglify-js@2/bin/uglifyjs %{buildroot}%{_bindir}/uglifyjs @@ -146,6 +149,9 @@ end %changelog +* Tue Jul 04 2017 Jun Aruga - 2.8.22-1 +- Update to upstream 2.8.22 release + * Wed Mar 29 2017 Jun Aruga - 2.8.17-1 - Update to upstream 2.8.17 release