From 61ac9072d4d36ea8e8743186b5892cf85f0a444969ac9d6ef3db68e9e3f79727 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 28 Apr 2024 13:02:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apiguardian?expand=0&rev=7 --- apiguardian.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apiguardian.spec b/apiguardian.spec index a379aa1..888ab04 100644 --- a/apiguardian.spec +++ b/apiguardian.spec @@ -29,7 +29,7 @@ Source100: https://repo1.maven.org/maven2/org/apiguardian/apiguardian-api/% BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 9 -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildArch: noarch %description @@ -62,7 +62,7 @@ install -dm 0755 %{buildroot}%{_javadir}/%{name} install -pm 0644 target/apiguardian-api-%{version}.jar %{buildroot}%{_javadir}/%{name}/apiguardian-api.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 0644 %{SOURCE100} %{buildroot}%{_mavenpomdir}/%{name}/apiguardian-api.pom +%{mvn_install_pom} %{SOURCE100} %{buildroot}%{_mavenpomdir}/%{name}/apiguardian-api.pom %add_maven_depmap %{name}/apiguardian-api.pom %{name}/apiguardian-api.jar # javadoc install -dm 0755 %{buildroot}%{_javadocdir}