forked from pool/apache-commons-jxpath
Accepting request 671844 from Java:packages
include a manifest OBS-URL: https://build.opensuse.org/request/show/671844 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-jxpath?expand=0&rev=7
This commit is contained in:
commit
c38b1c9968
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 12:29:04 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Include a manifest in the jar file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 20 13:03:03 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user