From 975d95b2bf7444e671aabcf69895316e38182096e2d3b38894942cf0fb2df6ec Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 2 Jan 2019 20:20:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/hamcrest?expand=0&rev=35 --- hamcrest.spec | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/hamcrest.spec b/hamcrest.spec index 93171a3..ba05a58 100644 --- a/hamcrest.spec +++ b/hamcrest.spec @@ -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 # inject OSGi manifests -mkdir -p META-INF -cp -p %{SOURCE8} META-INF/MANIFEST.MF -touch META-INF/MANIFEST.MF -zip -u build/%{name}-core-%{version}.jar META-INF/MANIFEST.MF - -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 +jar ufm build/%{name}-core-%{version}.jar %{SOURCE8} +jar ufm build/%{name}-library-%{version}.jar %{SOURCE9} +jar ufm build/%{name}-text-%{version}.jar %{SOURCE10} +jar ufm build/%{name}-integration-%{version}.jar %{SOURCE11} +jar ufm build/%{name}-generator-%{version}.jar %{SOURCE12} %install # jars