diff --git a/jna.spec b/jna.spec index 6385b8e..1e20e04 100644 --- a/jna.spec +++ b/jna.spec @@ -1,6 +1,6 @@ Name: jna Version: 5.6.0 -Release: 7%{?dist} +Release: 8%{?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, @@ -103,7 +103,7 @@ cp lib/native/aix-ppc64.jar lib/clover.jar # upstream doesn't want to default to dynamic linking. # -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\ +ant -Drelease -Dcompatibility=1.8 -Dplatform.compatibility=1.8\ -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true -DCC=%{__cc} native dist # remove compiled contribs find contrib -name build -exec rm -rf {} \; || : @@ -139,6 +139,10 @@ install -m 755 build/native*/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/ %changelog +* Mon Jan 30 2023 Zuzana Miklankova - 5.6.0-8 +- Set correct compat. value also to ant parameters +- Resolves: rhbz#2162040 + * Mon Jan 23 2023 Mikolaj Izdebski - 5.6.0-7 - Fix compatibility with Java 8 - Resolves: rhbz#2162040