diff --git a/apache-ivy.spec b/apache-ivy.spec index da611f8..5e34759 100644 --- a/apache-ivy.spec +++ b/apache-ivy.spec @@ -51,8 +51,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 +61,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 +97,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