packages: ant-yuicompressor/ant-yuicompressor.spec - silly workaround for a...

pawelz pawelz at pld-linux.org
Mon May 3 15:57:27 CEST 2010


Author: pawelz                       Date: Mon May  3 13:57:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- silly workaround for ant script stupidity

---- Files affected:
packages/ant-yuicompressor:
   ant-yuicompressor.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/ant-yuicompressor/ant-yuicompressor.spec
diff -u packages/ant-yuicompressor/ant-yuicompressor.spec:1.5 packages/ant-yuicompressor/ant-yuicompressor.spec:1.6
--- packages/ant-yuicompressor/ant-yuicompressor.spec:1.5	Mon May  3 15:43:03 2010
+++ packages/ant-yuicompressor/ant-yuicompressor.spec	Mon May  3 15:57:22 2010
@@ -73,7 +73,17 @@
 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
 
@@ -148,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/05/03 13:57:22  pawelz
+- silly workaround for ant script stupidity
+
 Revision 1.5  2010/05/03 13:43:03  pawelz
 - ant task definition
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ant-yuicompressor/ant-yuicompressor.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list