Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
d742c6cbc0
commit
29af927d99
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
%global tarball_name RELEASE_%(echo '%{version}' | tr . _)
|
%global tarball_name RELEASE_%(echo '%{version}' | tr . _)
|
||||||
|
|
||||||
Name: cglib
|
Name: cglib
|
||||||
@ -15,10 +17,14 @@ Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
|
|||||||
Patch0: 0001-Remove-unused-import.patch
|
Patch0: 0001-Remove-unused-import.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(org.apache.ant:ant)
|
BuildRequires: mvn(org.apache.ant:ant)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.ow2.asm:asm)
|
BuildRequires: mvn(org.ow2.asm:asm)
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cglib is a powerful, high performance and quality code generation library
|
cglib is a powerful, high performance and quality code generation library
|
||||||
|
Loading…
Reference in New Issue
Block a user