From a51db0d5f3072deef387dbda89bdce4530f0987db365a074efeeb19def909cfa Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 22 Nov 2019 07:50:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-osgi?expand=0&rev=4 --- maven-osgi.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-osgi.spec b/maven-osgi.spec index 1ad37ac..c80bcd5 100644 --- a/maven-osgi.spec +++ b/maven-osgi.spec @@ -1,7 +1,7 @@ # # spec file for package maven-osgi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,11 +31,11 @@ Source0: %{name}-%{version}.tar.xz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: fdupes BuildRequires: maven-local +BuildRequires: xz BuildRequires: mvn(biz.aQute:bndlib) BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) -BuildRequires: xz BuildArch: noarch %description @@ -62,7 +62,7 @@ sed -i 's/import aQute\.lib\.osgi/import aQute.bnd.osgi/g' src/main/java/org/apa %build # Tests depend on binary JARs which were removed from sources -%{mvn_build} -f +%{mvn_build} -f -- -Dmaven.compiler.release=6 %install %mvn_install