%include /usr/lib/rpm/macros.java
Summary: Closure Compiler - JavaScript compressor
Name: closure-compiler
-Version: 20111114
+Version: 20120123
Release: 1
License: Apache v2.0
Group: Applications/WWW
# Source0Download: https://code.google.com/p/closure-compiler/downloads/list
Source0: http://closure-compiler.googlecode.com/files/compiler-%{version}.tar.gz
-# Source0-md5: fb176781e26b0de088777db9f88dcc05
+# Source0-md5: 1e23c299c8a8d0fa1f812ea8743bddcc
Source1: %{name}.sh
Source2: get-source.sh
URL: http://closure-compiler.appspot.com/
}
}
-svnlogs 20111114 1459:1592
-svnlogs 20111003 1346:1459
-svnlogs 20110811 1314:1346
svnlogs 20110804 1180:1314
+svnlogs 20110811 1314:1346
+svnlogs 20111003 1346:1459
+svnlogs 20111114 1459:1592
+svnlogs 20120123 1592:1741
if [ -z "$html" ]; then
html=$(lynx -width 1200 -dump -nolist "$dl")
fi
- echo "$html"
+ echo "$html" | tee debug.log
}
-rev=$(html | perl -ne '/'$fn'-.+tar.*Buil[dt] at r?(\d+)/and print $1')
+rev=$(html | perl -ne '/'$fn'-.+tar.*Buil[dt] at r?(\d+)/and print $1 and exit')
test -n "$rev"
-date=$(html | perl -ne '/'$fn'-(\d+).tar.gz.*Built at r?'$rev'/and print $1')
+date=$(html | perl -ne '/'$fn'-(\d+).tar.gz.*Buil[dt] at r?'$rev'/and print $1')
test -n "$date"
d=$p-$date