Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
3e392b6afa
commit
71d9455e94
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
Name: maven-plugin-bundle
|
Name: maven-plugin-bundle
|
||||||
Version: 5.1.1
|
Version: 5.1.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -9,6 +11,9 @@ BuildArch: noarch
|
|||||||
Source0: https://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/%{version}/maven-bundle-plugin-%{version}-source-release.tar.gz
|
Source0: https://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/%{version}/maven-bundle-plugin-%{version}-source-release.tar.gz
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(biz.aQute.bnd:biz.aQute.bndlib)
|
BuildRequires: mvn(biz.aQute.bnd:biz.aQute.bndlib)
|
||||||
BuildRequires: mvn(org.apache.felix:felix-parent:pom:)
|
BuildRequires: mvn(org.apache.felix:felix-parent:pom:)
|
||||||
BuildRequires: mvn(org.apache.felix:org.apache.felix.utils)
|
BuildRequires: mvn(org.apache.felix:org.apache.felix.utils)
|
||||||
@ -20,6 +25,7 @@ BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|||||||
BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree)
|
BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||||
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Provides a maven plugin that supports creating an OSGi bundle
|
Provides a maven plugin that supports creating an OSGi bundle
|
||||||
|
Loading…
Reference in New Issue
Block a user