This commit is contained in:
parent
e5654c71a0
commit
a51db0d5f3
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package maven-osgi
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: xz
|
||||||
BuildRequires: mvn(biz.aQute:bndlib)
|
BuildRequires: mvn(biz.aQute:bndlib)
|
||||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-project)
|
BuildRequires: mvn(org.apache.maven:maven-project)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
||||||
BuildRequires: xz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,7 +62,7 @@ sed -i 's/import aQute\.lib\.osgi/import aQute.bnd.osgi/g' src/main/java/org/apa
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# Tests depend on binary JARs which were removed from sources
|
# Tests depend on binary JARs which were removed from sources
|
||||||
%{mvn_build} -f
|
%{mvn_build} -f -- -Dmaven.compiler.release=6
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
Loading…
Reference in New Issue
Block a user