From ccc78381e4a33d742afcd1f9e9900523feebe520f4872262c6c0995b6abd55a5 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 11 Mar 2019 10:42:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-i18n?expand=0&rev=3 --- plexus-i18n.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plexus-i18n.spec b/plexus-i18n.spec index 19a5a2f..44ff732 100644 --- a/plexus-i18n.spec +++ b/plexus-i18n.spec @@ -48,6 +48,7 @@ BuildArch: noarch BuildRequires: ant-junit BuildRequires: guava20 BuildRequires: xbean +BuildConflicts: java-devel >= 9 %endif %description @@ -71,6 +72,9 @@ cp %{SOURCE1} build.xml %patch0 -p1 %patch1 -p1 +%pom_remove_parent . +%pom_xpath_inject pom:project "org.codehaus.plexus" . + %build mkdir -p lib build-jar-repository -s lib plexus/utils plexus-containers/plexus-container-default