diff --git a/jna.spec b/jna.spec index 121a235..603bff2 100644 --- a/jna.spec +++ b/jna.spec @@ -3,7 +3,7 @@ Name: jna Version: 5.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Pure Java access to native libraries # Most of code is dual-licensed under either LGPL 2.1+ only or Apache # License 2.0. WeakIdentityHashMap.java was taken from Apache CXF, @@ -124,7 +124,7 @@ export JAVA_HOME=%{_jvmdir}/java # -Drelease removes the .SNAPSHOT suffix from maven artifact names #ant -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true native compile javadoc jar contrib-jars ant -Drelease -Dcompatibility=1.6 -Dplatform.compatibility=1.6\ - -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true native dist + -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true -DCC=%{__cc} native dist # remove compiled contribs find contrib -name build -exec rm -rf {} \; || : @@ -159,6 +159,9 @@ install -m 755 build/native*/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/ %changelog +* Thu Apr 02 2020 Tom Stellard - 5.4.0-3 +- Pass C compiler to ant + * Wed Jan 29 2020 Fedora Release Engineering - 5.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild