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..da611f8 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 @@ -113,15 +114,13 @@ echo "ivy" > %{buildroot}%{_sysconfdir}/ant.d/%{name} install -d %{buildroot}%{_mandir}/man1 install %{SOURCE1} %{buildroot}%{_mandir}/man1/ivy.1 -%files -%license LICENSE -%doc NOTICE README +%files -f .mfiles +%license LICENSE NOTICE +%doc 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 -%{_datadir}/maven-metadata/%{name}.xml %files javadoc %{_javadocdir}/*