]> git.pld-linux.org Git - packages/ant-yuicompressor.git/blobdiff - ant-yuicompressor.spec
- silly workaround for ant script stupidity
[packages/ant-yuicompressor.git] / ant-yuicompressor.spec
index 9222fdfc4183b30b2357247ac4c668d0d14db8e5..22cb71bc068ff8b383561b4d6f0647690c9097ef 100644 (file)
@@ -72,7 +72,17 @@ Kod źródłowy %{name}.
 mv n0ha-*/* .
 %undos build.xml doc/example/build.xml
 
-echo "ant/ant-yuicompressor yuicompressor" > ant.conf
+# name of second jar can not be substring of first jar. This part of code is
+# from /usr/bin/jar:
+#          for dep in `cat "$file"`; do
+#            case "$OPT_JAR_LIST" in
+#            *"$dep"*) ;;
+#            *) OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep"
+#            esac
+#          done
+# so if second name is contained in first it will be skipped.
+echo "yuicompressor ant/ant-yuicompressor" > ant.conf
+
 echo >> doc/CHANGELOG
 echo >> doc/LICENSE
 
This page took 0.066162 seconds and 4 git commands to generate.