Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
aa8adf0bcf
commit
af0edb25db
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: maven-filtering
|
||||
Version: 3.2.0
|
||||
Release: 1%{?dist}
|
||||
@ -11,6 +13,9 @@ Source0: https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%
|
||||
Patch1: 0001-Skip-failed-tests.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
@ -28,6 +33,7 @@ BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
||||
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api::tests:)
|
||||
%endif
|
||||
|
||||
%description
|
||||
These Plexus components have been built from the filtering process/code in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user