diff --git a/apache-ivy.changes b/apache-ivy.changes index 9a927d3..5c1b034 100644 --- a/apache-ivy.changes +++ b/apache-ivy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 8 18:12:07 UTC 2019 - Fridrich Strba + +- Remove the reference to parent from pom file, since we are not + building using maven. + ------------------------------------------------------------------- Thu Feb 7 14:48:24 UTC 2019 - Fridrich Strba diff --git a/apache-ivy.spec b/apache-ivy.spec index da611f8..3529e7b 100644 --- a/apache-ivy.spec +++ b/apache-ivy.spec @@ -34,7 +34,6 @@ BuildRequires: commons-httpclient BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local -BuildRequires: javapackages-tools BuildRequires: jsch BuildRequires: oro Provides: ivy = %{version}-%{release} @@ -51,8 +50,7 @@ reporting and publication. %package javadoc Summary: API Documentation for ivy -Group: Development/Tools/Building -Requires: %{name} = %{version}-%{release} +Group: Documentation/HTML %description javadoc JavaDoc documentation for %{name} @@ -62,6 +60,10 @@ JavaDoc documentation for %{name} %patch0 -p1 %patch1 -p1 +cp %{SOURCE2} pom.xml + +%pom_remove_parent . + #TODO: return back when bouncycastle-pgp will be available rm -fr src/java/org/apache/ivy/plugins/signer/bouncycastle @@ -94,7 +96,7 @@ 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 +install -m 0644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP-ivy.pom # Maven depmap %add_maven_depmap JPP-ivy.pom ivy.jar