Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
1760eb544b
commit
84b2f44b93
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: httpcomponents-project
|
||||
Summary: Common POM file for HttpComponents
|
||||
Version: 12
|
||||
@ -9,8 +11,12 @@ Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache:apache:pom:)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Common Maven POM file for HttpComponents. This project should be
|
||||
|
||||
Loading…
Reference in New Issue
Block a user