Fridrich Strba 2019-11-08 10:01:19 +00:00 committed by Git OBS Bridge
parent d14420720a
commit b89ce4adaa
2 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,8 @@
Fri Nov 8 08:55:55 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Upgrade to junit5 5.5.2
- Distribute also the manifest-only junit-jupiter artifact
- Distribute also the manifest-only junit-jupiter artifact
- Build the console by default, since picocli package exists now
-------------------------------------------------------------------
Thu Apr 11 15:14:17 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -19,9 +19,7 @@
%global platform_version 1.5.2
%global jupiter_version %{version}
%global vintage_version %{version}
# Build with or without the console modules
# Disabled by default due to missing dep: info.picocli:picocli
%bcond_with console
%bcond_without console
Name: junit5
Version: 5.5.2
Release: 0
@ -60,8 +58,6 @@ BuildRequires: mvn(org.opentest4j:opentest4j)
BuildArch: noarch
%if %{with console}
BuildRequires: mvn(info.picocli:picocli)
%endif
%if %{with console}
# Explicit requires for javapackages-tools since junit5 script
# uses /usr/share/java-utils/java-functions
Requires: javapackages-tools
@ -116,7 +112,7 @@ for pom in $(find -mindepth 2 -name pom.xml); do
done
# Add deps which are shaded by upstream and therefore not present in POMs.
%pom_add_dep net.sf.jopt-simple:jopt-simple:5.0.4 junit-platform-console
%pom_add_dep info.picocli:picocli:4.0.4 junit-platform-console
%pom_add_dep com.univocity:univocity-parsers:2.5.4 junit-jupiter-params
# Incorrect scope - Junit4 is needed for compilation too, not only runtime.