diff --git a/pki-servlet-container.spec b/pki-servlet-container.spec index 26d3053..fa2fcef 100644 --- a/pki-servlet-container.spec +++ b/pki-servlet-container.spec @@ -171,25 +171,26 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name " %build export OPT_JAR_LIST="xalan-j2-serializer" - # Create a dummy file for later removal - touch HACK - # who needs a build.properties file anyway - %{ant} -Dbase.path="." \ - -Dbuild.compiler="modern" \ - -Dcommons-daemon.jar="HACK" \ - -Dcommons-daemon.native.src.tgz="HACK" \ - -Djdt.jar="HACK" \ - -Dtomcat-native.tar.gz="HACK" \ - -Dtomcat-native.home="." \ - -Dcommons-daemon.native.win.mgr.exe="HACK" \ - -Dnsis.exe="HACK" \ - -Dversion="%{version}" \ - -Dversion.build="%{micro_version}" \ - deploy dist-prepare dist-source +# Create a dummy file for later removal +touch HACK - # remove some jars that we don't need - %{__rm} output/build/bin/commons-daemon.jar +# who needs a build.properties file anyway +%{ant} -Dbase.path="." \ + -Dbuild.compiler="modern" \ + -Dcommons-daemon.jar="HACK" \ + -Dcommons-daemon.native.src.tgz="HACK" \ + -Djdt.jar="HACK" \ + -Dtomcat-native.tar.gz="HACK" \ + -Dtomcat-native.home="." \ + -Dcommons-daemon.native.win.mgr.exe="HACK" \ + -Dnsis.exe="HACK" \ + -Dversion="%{version}" \ + -Dversion.build="%{micro_version}" \ + deploy dist-prepare dist-source + +# remove some jars that we don't need +%{__rm} output/build/bin/commons-daemon.jar # inject OSGi manifests mkdir -p META-INF