This commit is contained in:
parent
835d1d5af7
commit
dd1d54231b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 19 21:55:37 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source/target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 12 10:02:30 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
8
jna.spec
8
jna.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jna
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2000-2009, JPackage Project
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -21,7 +21,7 @@ Name: jna
|
||||
Version: 5.5.0
|
||||
Release: 0
|
||||
Summary: Pure Java access to native libraries
|
||||
License: LGPL-2.1-or-later OR Apache-2.0
|
||||
License: Apache-2.0 OR LGPL-2.1-or-later
|
||||
URL: https://github.com/twall/jna
|
||||
Source0: https://github.com/twall/%{name}/archive/%{version}.tar.gz
|
||||
Source1000: %{name}-rpmlintrc
|
||||
@ -84,13 +84,13 @@ sed -i 's|@LIBDIR@|%{_libdir}/%{name}|' src/com/sun/jna/Native.java
|
||||
|
||||
%build
|
||||
build-jar-repository -s -p lib ant
|
||||
ant \
|
||||
%ant \
|
||||
jar \
|
||||
native \
|
||||
platform-jar \
|
||||
-Dcflags_extra.native="%{optflags}" \
|
||||
-Dbuild-native=true -Drelease \
|
||||
-Dcompatibility=1.6 -Dplatform.compatibility=1.6 \
|
||||
-Dcompatibility=1.8 -Dplatform.compatibility=1.8 \
|
||||
-Ddynlink.native=true \
|
||||
jar \
|
||||
native \
|
||||
|
Loading…
Reference in New Issue
Block a user