Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
9c2bfde3ad
commit
4e0c9f068c
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
%global bundle org.apache.felix.utils
|
||||
|
||||
Name: felix-utils
|
||||
@ -15,10 +17,14 @@ Source0: https://repo1.maven.org/maven2/org/apache/felix/%{bundle}/%{vers
|
||||
Patch0: 0000-Port-to-osgi-cmpn.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
BuildRequires: mvn(org.osgi:osgi.cmpn)
|
||||
BuildRequires: mvn(org.osgi:osgi.core)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Utility classes for OSGi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user