6
0

2 Commits

View File

@@ -1,7 +1,7 @@
#
# spec file for package maven-jmod-plugin
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -36,7 +36,6 @@ BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
BuildRequires: mvn(org.apache.maven:maven-compat)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.codehaus.plexus:plexus-java)
@@ -56,9 +55,6 @@ API documentation for %{name}.
%setup -q -n %{name}-%{basever}-%{opt}-%{optver}
%patch -P 0 -p1
%pom_add_dep org.apache.maven:maven-compat:\${mavenVersion}
%pom_xpath_remove pom:project/pom:parent/pom:relativePath
%build
%{mvn_build} -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}