File nodejs-uglify-to-browserify.spec of Package nodejs-uglify-to-browserify


%global enable_tests 0

Name:       nodejs-uglify-to-browserify
Version:    1.0.2
Release:    2%{?dist}
Summary:    A transform to make UglifyJS work in browserify
License:    MIT
Group:      System Environment/Libraries

BuildArch:  noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
ExclusiveArch: %{ix86} x86_64 %{arm} noarch

BuildRequires:  nodejs-packaging
BuildRequires:  python

%if 0%{?enable_tests}
BuildRequires:  npm(source-map)
BuildRequires:  uglify-js


%setup -q -n package
for i in LICENSE; do
    sed -i -e 's/\r$//' ${i}

#nothing to do

mkdir -p %{buildroot}%{nodejs_sitelib}/uglify-to-browserify
cp -pr package.json index.js \


%if 0%{?enable_tests}
%nodejs_symlink_deps --check
%__nodejs test/index.js


* Sat Mar 15 2014 Jamie Nguyen <> - 1.0.2-2
- fix wrong-file-end-of-line-encoding

* Thu Mar 13 2014 Jamie Nguyen <> - 1.0.2-1
- initial package