From d8d311378563b964fb81907f32215ca355f589d341d81fca0695e4f6cf2db257 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 22 Nov 2018 22:56:21 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-jxpath?expand=0&rev=13 --- apache-commons-jxpath.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apache-commons-jxpath.spec b/apache-commons-jxpath.spec index 28a3482..74b77bb 100644 --- a/apache-commons-jxpath.spec +++ b/apache-commons-jxpath.spec @@ -70,6 +70,9 @@ export CLASSPATH=$(build-classpath \ ant -Dmaven.mode.offline=true jar \ -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ -lib %{_datadir}/java +sed -i "s/@name@/%{short_name}/g" src/conf/MANIFEST.MF +sed -i "s/@version@/%{version}/g" src/conf/MANIFEST.MF +jar ufm target/%{short_name}.jar src/conf/MANIFEST.MF %install install -Dpm 644 target/%{short_name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar From 1401ef36528df2959cdf89e1ed65e7c889798494a4e9e45e9805d3074a251b1a Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 5 Feb 2019 12:30:22 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-jxpath?expand=0&rev=14 --- apache-commons-jxpath.changes | 5 +++++ apache-commons-jxpath.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apache-commons-jxpath.changes b/apache-commons-jxpath.changes index 9ec5666..24a37c3 100644 --- a/apache-commons-jxpath.changes +++ b/apache-commons-jxpath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 5 12:29:04 UTC 2019 - Fridrich Strba + +- Include a manifest in the jar file + ------------------------------------------------------------------- Sat Oct 20 13:03:03 UTC 2018 - Fridrich Strba diff --git a/apache-commons-jxpath.spec b/apache-commons-jxpath.spec index 74b77bb..5a30d60 100644 --- a/apache-commons-jxpath.spec +++ b/apache-commons-jxpath.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-jxpath # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed