Fix conditional build without reflections
This commit is contained in:
parent
f3cba3e9a2
commit
30673a6841
6
jna.spec
6
jna.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: jna
|
Name: jna
|
||||||
Version: 5.4.0
|
Version: 5.4.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Pure Java access to native libraries
|
Summary: Pure Java access to native libraries
|
||||||
# Most of code is dual-licensed under either LGPL 2.1+ only or Apache
|
# Most of code is dual-licensed under either LGPL 2.1+ only or Apache
|
||||||
# License 2.0. WeakIdentityHashMap.java was taken from Apache CXF,
|
# License 2.0. WeakIdentityHashMap.java was taken from Apache CXF,
|
||||||
@ -104,7 +104,6 @@ build-jar-repository -s -p lib junit reflections
|
|||||||
build-jar-repository -s -p lib junit
|
build-jar-repository -s -p lib junit
|
||||||
rm test/com/sun/jna/StructureFieldOrderInspector.java
|
rm test/com/sun/jna/StructureFieldOrderInspector.java
|
||||||
rm test/com/sun/jna/StructureFieldOrderInspectorTest.java
|
rm test/com/sun/jna/StructureFieldOrderInspectorTest.java
|
||||||
rm contrib/platform/test/com/sun/jna/platform/StructureFieldOrderTest.java
|
|
||||||
%endif
|
%endif
|
||||||
ln -s $(xmvn-resolve ant:ant:1.10.5) lib/ant.jar
|
ln -s $(xmvn-resolve ant:ant:1.10.5) lib/ant.jar
|
||||||
|
|
||||||
@ -159,6 +158,9 @@ install -m 755 build/native*/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 09 2020 Mat Booth <mat.booth@redhat.com> - 5.4.0-4
|
||||||
|
- Fix conditional build without reflections
|
||||||
|
|
||||||
* Thu Apr 02 2020 Tom Stellard <tstellar@redhat.com> - 5.4.0-3
|
* Thu Apr 02 2020 Tom Stellard <tstellar@redhat.com> - 5.4.0-3
|
||||||
- Pass C compiler to ant
|
- Pass C compiler to ant
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user