Set correct compat. value also to ant parameters
Resolves: rhbz#2162040
This commit is contained in:
parent
156aa11664
commit
546c06fb30
8
jna.spec
8
jna.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jna
|
Name: jna
|
||||||
Version: 5.6.0
|
Version: 5.6.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?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,
|
||||||
@ -103,7 +103,7 @@ cp lib/native/aix-ppc64.jar lib/clover.jar
|
|||||||
# upstream doesn't want to default to dynamic linking.
|
# upstream doesn't want to default to dynamic linking.
|
||||||
# -Drelease removes the .SNAPSHOT suffix from maven artifact names
|
# -Drelease removes the .SNAPSHOT suffix from maven artifact names
|
||||||
#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 -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
|
-Dcflags_extra.native="%{optflags}" -Ddynlink.native=true -DCC=%{__cc} native dist
|
||||||
# remove compiled contribs
|
# remove compiled contribs
|
||||||
find contrib -name build -exec rm -rf {} \; || :
|
find contrib -name build -exec rm -rf {} \; || :
|
||||||
@ -139,6 +139,10 @@ install -m 755 build/native*/libjnidispatch*.so %{buildroot}%{_libdir}/%{name}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 30 2023 Zuzana Miklankova <zmiklank@redhat.com> - 5.6.0-8
|
||||||
|
- Set correct compat. value also to ant parameters
|
||||||
|
- Resolves: rhbz#2162040
|
||||||
|
|
||||||
* Mon Jan 23 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.6.0-7
|
* Mon Jan 23 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.6.0-7
|
||||||
- Fix compatibility with Java 8
|
- Fix compatibility with Java 8
|
||||||
- Resolves: rhbz#2162040
|
- Resolves: rhbz#2162040
|
||||||
|
Loading…
Reference in New Issue
Block a user