File tomcat-8.0.9-property-build.windows.patch of Package tomcat.openSUSE_Leap_42.1_Update

diff -Naur apache-tomcat-8.0.9-src.orig/build.properties.default apache-tomcat-8.0.9-src/build.properties.default
--- apache-tomcat-8.0.9-src.orig/build.properties.default	2014-07-10 00:40:22.307077465 +0200
+++ apache-tomcat-8.0.9-src/build.properties.default	2014-07-10 00:46:11.686385324 +0200
@@ -230,3 +230,6 @@
 
 # ----- JVM settings for unit tests
 java.net.preferIPv4Stack=false
+
+# ----- Build on Windows ----
+build.windows=false
diff -Naur apache-tomcat-8.0.9-src.orig/build.xml apache-tomcat-8.0.9-src/build.xml
--- apache-tomcat-8.0.9-src.orig/build.xml	2014-07-10 00:40:22.231077516 +0200
+++ apache-tomcat-8.0.9-src/build.xml	2014-07-10 00:41:08.473037957 +0200
@@ -2706,7 +2706,7 @@
   </target>
 
   <target name="download-dist"
-          description="Download additional components for a distribution" >
+          description="Download additional components for a distribution" if="${build.windows}">
 
     <antcall target="downloadzip-2">
       <param name="sourcefile.1" value="${tomcat-native.win.1}"/>
openSUSE Build Service is sponsored by