Expand conditionals
This commit is contained in:
parent
9f67f054a9
commit
ec5fd8a780
@ -1,4 +1,3 @@
|
|||||||
%bcond_without memoryfilesystem
|
|
||||||
|
|
||||||
Name: assertj-core
|
Name: assertj-core
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
@ -12,9 +11,6 @@ BuildArch: noarch
|
|||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(cglib:cglib-nodep)
|
BuildRequires: mvn(cglib:cglib-nodep)
|
||||||
%if %{with memoryfilesystem}
|
|
||||||
BuildRequires: mvn(com.github.marschall:memoryfilesystem)
|
|
||||||
%endif
|
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.mockito:mockito-core)
|
BuildRequires: mvn(org.mockito:mockito-core)
|
||||||
|
|
||||||
@ -42,10 +38,8 @@ This package provides API documentation for %{name}.
|
|||||||
# package org.mockito.internal.util.collections does not exist
|
# package org.mockito.internal.util.collections does not exist
|
||||||
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
|
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
|
||||||
|
|
||||||
%if %{without memoryfilesystem}
|
|
||||||
%pom_remove_dep :memoryfilesystem
|
%pom_remove_dep :memoryfilesystem
|
||||||
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
|
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
|
||||||
%endif
|
|
||||||
|
|
||||||
# test lib not in Fedora
|
# test lib not in Fedora
|
||||||
%pom_remove_dep com.tngtech.java:junit-dataprovider
|
%pom_remove_dep com.tngtech.java:junit-dataprovider
|
||||||
|
Loading…
Reference in New Issue
Block a user