Expand conditionals
This commit is contained in:
parent
2d8e69b4eb
commit
ccef8ae868
11
bcel.spec
11
bcel.spec
@ -1,4 +1,3 @@
|
||||
%bcond_without jna
|
||||
|
||||
Name: bcel
|
||||
Version: 6.2
|
||||
@ -13,12 +12,6 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
%if %{with jna}
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(net.java.dev.jna:jna)
|
||||
BuildRequires: mvn(net.java.dev.jna:jna-platform)
|
||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Byte Code Engineering Library (formerly known as JavaClass) is
|
||||
@ -51,11 +44,7 @@ This package provides %{summary}.
|
||||
%mvn_file : %{name}
|
||||
|
||||
%build
|
||||
%if %{without jna}
|
||||
%mvn_build -f
|
||||
%else
|
||||
%mvn_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
Loading…
Reference in New Issue
Block a user