From: Elan Ruusamäe Date: Thu, 29 Nov 2012 21:54:10 +0000 (+0200) Subject: really compile with closure-compiler X-Git-Tag: AC-branch~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=1b6841075b0a02f32daf103c6a234360974c4fbd;p=packages%2Fjs-swfobject.git really compile with closure-compiler --- diff --git a/js-swfobject.spec b/js-swfobject.spec index 708c1f8..ef5abb8 100644 --- a/js-swfobject.spec +++ b/js-swfobject.spec @@ -13,6 +13,7 @@ Source1: apache.conf Source2: lighttpd.conf URL: http://code.google.com/p/swfobject/ BuildRequires: closure-compiler +BuildRequires: js BuildRequires: unzip Requires: webapps Requires: webserver(alias) @@ -55,7 +56,7 @@ install -d build for js in src/*.js; do out=build/${js#*/} %if 0%{!?debug:1} - yuicompressor --charset UTF-8 $js -o $out + closure-compiler --js $js --charset UTF-8 --js_output_file $out js -C -f $out %else cp -p $js $out