From e5dc1685fb4f8a0e4e763b1f9632dbe12de481cb3a0b2dba9cea7ca6d2d90164 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 7 Feb 2019 14:48:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-ivy?expand=0&rev=41 --- apache-ivy.changes | 5 +++++ apache-ivy.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/apache-ivy.changes b/apache-ivy.changes index e06d184..9a927d3 100644 --- a/apache-ivy.changes +++ b/apache-ivy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 7 14:48:24 UTC 2019 - Fridrich Strba + +- Add apache-ivy/ivy.jar symlink + ------------------------------------------------------------------- Mon Nov 26 10:25:21 UTC 2018 - Fridrich Strba diff --git a/apache-ivy.spec b/apache-ivy.spec index 321bc1a..c37e1a7 100644 --- a/apache-ivy.spec +++ b/apache-ivy.spec @@ -1,7 +1,7 @@ # # spec file for package apache-ivy # -# 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 @@ -89,8 +89,9 @@ ant -Dtarget.ivy.version=%{version} /localivy /offline jar javadoc %install # Code -install -d %{buildroot}%{_javadir} +install -d %{buildroot}%{_javadir}/%{name} install -p -m644 build/artifact/jars/ivy.jar %{buildroot}%{_javadir}/ivy.jar +ln -sf ../ivy.jar %{buildroot}%{_javadir}/%{name}/ivy.jar install -d -m 0755 %{buildroot}/%{_mavenpomdir}/ install -m 0644 %{SOURCE2} %{buildroot}/%{_mavenpomdir}/JPP-ivy.pom @@ -118,6 +119,7 @@ install %{SOURCE1} %{buildroot}%{_mandir}/man1/ivy.1 %doc NOTICE README %config %{_sysconfdir}/ant.d/%{name} %{_javadir}/ivy.jar +%{_javadir}/%{name} %attr(755,root,root) %{_bindir}/* %attr(644,root,root) %{_mandir}/man1/* %{_mavenpomdir}/JPP-ivy.pom