Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
964e53d6aa
commit
2a189d51b7
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: easymock
|
||||
Version: 4.2
|
||||
Release: 1%{?dist}
|
||||
@ -18,6 +20,9 @@ Patch4: 0004-Port-to-hamcrest-2.1.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(cglib:cglib)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
@ -30,8 +35,11 @@ BuildRequires: mvn(org.junit.vintage:junit-vintage-engine)
|
||||
BuildRequires: mvn(org.objenesis:objenesis)
|
||||
BuildRequires: mvn(org.ow2.asm:asm)
|
||||
BuildRequires: mvn(org.testng:testng)
|
||||
%endif
|
||||
# xmvn-builddep misses this:
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: mvn(org.apache:apache-jar-resource-bundle)
|
||||
%endif
|
||||
|
||||
|
||||
Provides: %{name}3 = %{version}-%{release}
|
||||
|
Loading…
Reference in New Issue
Block a user