Fix compilation with Java 11.
This commit is contained in:
parent
e86b225ef6
commit
156787d9e5
@ -30,7 +30,7 @@
|
||||
|
||||
Name: jdom
|
||||
Version: 1.1.3
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java alternative to DOM and SAX
|
||||
License: Saxpath
|
||||
@ -77,6 +77,7 @@ Demonstrations and samples for %{name}.
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
find . -name "*.class" -exec rm -f {} \;
|
||||
sed -i -e "s|1.2|1.6|" build.xml
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath xerces-j2 jaxen)
|
||||
@ -104,6 +105,9 @@ cp -pr samples $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.3-21
|
||||
- Fix compilation with Java 11.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user