Fix FTBFS

This commit is contained in:
Severin Gehwolf 2021-07-13 16:21:05 +02:00
parent 806897a74b
commit 6c32b5af32

View File

@ -1,6 +1,6 @@
Name: jdependency
Version: 1.2
Release: 10%{?dist}
Release: 11%{?dist}
Summary: This project provides an API to analyse class dependencies
License: ASL 2.0
URL: http://github.com/tcurdt/%{name}
@ -31,6 +31,8 @@ Summary: API documentation for %{name}
%prep
%setup -q -n %{name}-%{name}-%{version}
%mvn_file : %{name}
# work-around for: https://bugzilla.redhat.com/show_bug.cgi?id=1981486
%pom_add_dep org.apache.commons:commons-lang3:3.12.0:test
# remove maven-compiler-plugin configuration that is broken with Java 11
%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration'
@ -52,6 +54,9 @@ rm src/test/java/org/vafer/jdependency/DependencyUtilsTestCase.java
%license LICENSE.txt
%changelog
* Tue Jul 13 2021 Severin Gehwolf <sgehwolf@redhat.com> - 1.2-11
- Add commons-lang3 dependency for tests. Fixes FTBFS.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild