diff --git a/plexus-classworlds.spec b/plexus-classworlds.spec index 2f2d95b..973566a 100644 --- a/plexus-classworlds.spec +++ b/plexus-classworlds.spec @@ -2,7 +2,7 @@ Name: plexus-classworlds Version: 2.6.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Plexus Classworlds Classloader Framework License: ASL 2.0 and Plexus URL: https://github.com/codehaus-plexus/plexus-classworlds @@ -14,6 +14,7 @@ BuildRequires: maven-local-openjdk8 %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else +BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.plexus:plexus:pom:) %endif @@ -35,6 +36,8 @@ classworlds. %mvn_file : %{name} plexus/classworlds %mvn_alias : classworlds:classworlds +%pom_add_dep junit:junit:4.13.1:test + %pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin :maven-dependency-plugin @@ -52,6 +55,9 @@ sed -i /testConfigure_Optionally_Existent/s/./@org.junit.Ignore/ $(find -name Co %license LICENSE.txt LICENSE-2.0.txt %changelog +* Fri Apr 29 2022 Mikolaj Izdebski - 2.6.0-11 +- Add missing test dependency on JUnit 4 + * Sat Feb 05 2022 Jiri Vanek - 2.6.0-10 - Rebuilt for java-17-openjdk as system jdk