Accepting request 963096 from Java:packages

source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/963096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jna?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:59:20 +00:00 committed by Git OBS Bridge
commit 687f1beca5
2 changed files with 9 additions and 4 deletions

View File

@ -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> Mon Oct 12 10:02:30 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package jna # spec file for package jna
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2022 SUSE LLC
# Copyright (c) 2000-2009, JPackage Project # Copyright (c) 2000-2009, JPackage Project
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -21,7 +21,7 @@ Name: jna
Version: 5.5.0 Version: 5.5.0
Release: 0 Release: 0
Summary: Pure Java access to native libraries 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 URL: https://github.com/twall/jna
Source0: https://github.com/twall/%{name}/archive/%{version}.tar.gz Source0: https://github.com/twall/%{name}/archive/%{version}.tar.gz
Source1000: %{name}-rpmlintrc Source1000: %{name}-rpmlintrc
@ -84,13 +84,13 @@ sed -i 's|@LIBDIR@|%{_libdir}/%{name}|' src/com/sun/jna/Native.java
%build %build
build-jar-repository -s -p lib ant build-jar-repository -s -p lib ant
ant \ %ant \
jar \ jar \
native \ native \
platform-jar \ platform-jar \
-Dcflags_extra.native="%{optflags}" \ -Dcflags_extra.native="%{optflags}" \
-Dbuild-native=true -Drelease \ -Dbuild-native=true -Drelease \
-Dcompatibility=1.6 -Dplatform.compatibility=1.6 \ -Dcompatibility=1.8 -Dplatform.compatibility=1.8 \
-Ddynlink.native=true \ -Ddynlink.native=true \
jar \ jar \
native \ native \