Minor formatting adjustment
This commit is contained in:
parent
f532ac54d0
commit
acff1bd33d
|
@ -171,25 +171,26 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export OPT_JAR_LIST="xalan-j2-serializer"
|
export OPT_JAR_LIST="xalan-j2-serializer"
|
||||||
# Create a dummy file for later removal
|
|
||||||
touch HACK
|
|
||||||
|
|
||||||
# who needs a build.properties file anyway
|
# Create a dummy file for later removal
|
||||||
%{ant} -Dbase.path="." \
|
touch HACK
|
||||||
-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
|
# who needs a build.properties file anyway
|
||||||
%{__rm} output/build/bin/commons-daemon.jar
|
%{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
|
# inject OSGi manifests
|
||||||
mkdir -p META-INF
|
mkdir -p META-INF
|
||||||
|
|
Loading…
Reference in New Issue