Force Java 1.6 source/target (rhbz#842609)
This commit is contained in:
parent
ea75144529
commit
d8061ed7c5
7
jna.spec
7
jna.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jna
|
Name: jna
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Pure Java access to native libraries
|
Summary: Pure Java access to native libraries
|
||||||
License: LGPLv2 or ASL 2.0
|
License: LGPLv2 or ASL 2.0
|
||||||
URL: https://github.com/twall/jna
|
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
|
# We pass -Ddynlink.native which comes from our patch because
|
||||||
# upstream doesn't want to default to dynamic linking.
|
# 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 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
|
# remove compiled contribs
|
||||||
find contrib -name build -exec rm -rf {} \; || :
|
find contrib -name build -exec rm -rf {} \; || :
|
||||||
|
|
||||||
@ -144,6 +144,9 @@ cp -a doc/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 11 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.1.0-8
|
||||||
|
- Force Java 1.6 source/target (rhbz#842609)
|
||||||
|
|
||||||
* Wed Oct 01 2014 Michal Srb <msrb@redhat.com> - 4.1.0-7
|
* Wed Oct 01 2014 Michal Srb <msrb@redhat.com> - 4.1.0-7
|
||||||
- Fix for 32-bit systems (Resolves: rhbz#1148349)
|
- Fix for 32-bit systems (Resolves: rhbz#1148349)
|
||||||
- Fix FTBFS (Resolves: rhbz#1106955)
|
- Fix FTBFS (Resolves: rhbz#1106955)
|
||||||
|
Loading…
Reference in New Issue
Block a user