diff --git a/cal10n.spec b/cal10n.spec index 09d0785..1e5852b 100644 --- a/cal10n.spec +++ b/cal10n.spec @@ -29,7 +29,7 @@ Source1: %{name}-build.tar.xz BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 1.8 -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildRequires: xz Requires: java BuildArch: noarch @@ -99,11 +99,11 @@ install -m 644 %{name}-ant-task/target/%{name}-ant-task-*.jar \ # pom install -d -m 755 %{buildroot}%{_mavenpomdir} -install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom %add_maven_depmap %{name}.pom -install -pm 644 %{name}-api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-api.pom +%{mvn_install_pom} %{name}-api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-api.pom %add_maven_depmap %{name}-api.pom %{name}/%{name}-api.jar -install -pm 644 %{name}-ant-task/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-ant-task.pom +%{mvn_install_pom} %{name}-ant-task/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-ant-task.pom %add_maven_depmap %{name}-ant-task.pom %{name}/%{name}-ant-task.jar # javadoc