]> git.pld-linux.org Git - packages/js-swfobject.git/commitdiff
really compile with closure-compiler
authorElan Ruusamäe <glen@delfi.ee>
Thu, 29 Nov 2012 21:54:10 +0000 (23:54 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 29 Nov 2012 21:54:10 +0000 (23:54 +0200)
js-swfobject.spec

index 708c1f886ef3a5292dd7c5da9c2c4d6fb5369395..ef5abb8db9f84ba10fe991ed66e6975953a1ebbd 100644 (file)
@@ -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
This page took 0.057469 seconds and 4 git commands to generate.