Expand conditionals

This commit is contained in:
Mikolaj Izdebski 2018-11-29 12:42:46 +00:00
parent 9f67f054a9
commit ec5fd8a780

View File

@ -1,4 +1,3 @@
%bcond_without memoryfilesystem
Name: assertj-core
Version: 3.8.0
@ -12,9 +11,6 @@ BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(cglib:cglib-nodep)
%if %{with memoryfilesystem}
BuildRequires: mvn(com.github.marschall:memoryfilesystem)
%endif
BuildRequires: mvn(junit:junit)
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
rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java
%if %{without memoryfilesystem}
%pom_remove_dep :memoryfilesystem
rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
%endif
# test lib not in Fedora
%pom_remove_dep com.tngtech.java:junit-dataprovider