diff --git a/jna.spec b/jna.spec index e12e1fb..d87c55f 100644 --- a/jna.spec +++ b/jna.spec @@ -1,6 +1,6 @@ Name: jna Version: 4.1.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Pure Java access to native libraries License: LGPLv2 or ASL 2.0 URL: https://github.com/twall/jna @@ -96,7 +96,7 @@ chmod -c 0644 LICENSE OTHERS CHANGES.md # We pass -Ddynlink.native which comes from our patch because # upstream doesn't want to default to dynamic linking. #ant -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true native compile javadoc jar contrib-jars -ant -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true native dist +ant -Dcompatibility=1.6 -Dplatform.compatibility=1.6 -Dcflags_extra.native="%{optflags}" -Ddynlink.native=true native dist # remove compiled contribs find contrib -name build -exec rm -rf {} \; || : @@ -144,6 +144,9 @@ cp -a doc/javadoc/* %{buildroot}%{_javadocdir}/%{name} %changelog +* Thu Jun 11 2015 Mikolaj Izdebski - 4.1.0-8 +- Force Java 1.6 source/target (rhbz#842609) + * Wed Oct 01 2014 Michal Srb - 4.1.0-7 - Fix for 32-bit systems (Resolves: rhbz#1148349) - Fix FTBFS (Resolves: rhbz#1106955)