Fridrich Strba 2019-01-02 20:20:09 +00:00 committed by Git OBS Bridge
parent f7d4759869
commit 975d95b2bf

View File

@ -110,34 +110,11 @@ export CLASSPATH=$(build-classpath qdox)
ant -Dant.build.javac.source=1.6 -Dversion=%{version} -Dbuild.sysclasspath=last clean core generator library bigjar javadoc ant -Dant.build.javac.source=1.6 -Dversion=%{version} -Dbuild.sysclasspath=last clean core generator library bigjar javadoc
# inject OSGi manifests # inject OSGi manifests
mkdir -p META-INF jar ufm build/%{name}-core-%{version}.jar %{SOURCE8}
cp -p %{SOURCE8} META-INF/MANIFEST.MF jar ufm build/%{name}-library-%{version}.jar %{SOURCE9}
touch META-INF/MANIFEST.MF jar ufm build/%{name}-text-%{version}.jar %{SOURCE10}
zip -u build/%{name}-core-%{version}.jar META-INF/MANIFEST.MF jar ufm build/%{name}-integration-%{version}.jar %{SOURCE11}
jar ufm build/%{name}-generator-%{version}.jar %{SOURCE12}
rm -fr META-INF
mkdir -p META-INF
cp -p %{SOURCE9} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/%{name}-library-%{version}.jar META-INF/MANIFEST.MF
rm -fr META-INF
mkdir -p META-INF
cp -p %{SOURCE10} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/%{name}-text-%{version}.jar META-INF/MANIFEST.MF
rm -fr META-INF
mkdir -p META-INF
cp -p %{SOURCE11} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/%{name}-integration-%{version}.jar META-INF/MANIFEST.MF
rm -fr META-INF
mkdir -p META-INF
cp -p %{SOURCE12} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/%{name}-generator-%{version}.jar META-INF/MANIFEST.MF
%install %install
# jars # jars