Fridrich Strba 2017-10-30 15:16:23 +00:00 committed by Git OBS Bridge
parent a606149273
commit 965b3136ca
2 changed files with 4 additions and 10 deletions

View File

@ -4,10 +4,8 @@ Thu Oct 26 20:31:48 UTC 2017 - fstrba@suse.com
- Added patch: - Added patch:
* jaw-java9.patch * jaw-java9.patch
+ Let the java-atk-wrapper implement the + Let the java-atk-wrapper implement the
javax.accessibility.AccessibilityProvider javax.accessibility.AccessibilityProvider if building with
+ Require jdk9 for build, since this class was introduced in jdk9
jdk9
- Build with jdk9 or higher
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 26 20:21:22 UTC 2017 - fstrba@suse.com Thu Oct 26 20:21:22 UTC 2017 - fstrba@suse.com

View File

@ -35,6 +35,7 @@ Patch2: jaw-quotes.patch
Patch3: jaw-java9.patch Patch3: jaw-java9.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: java-devel >= 1-7
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xprop BuildRequires: xprop
@ -51,11 +52,6 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gthread-2.0)
Requires: java >= 1.7 Requires: java >= 1.7
Requires: xprop Requires: xprop
%if 0%{?suse_version} >= 1330
BuildRequires: java-devel >= 9
%else
BuildRequires: java-devel >= 1-7
%endif
%description %description
Java ATK Wrapper is a implementation of ATK by using JNI technic. It Java ATK Wrapper is a implementation of ATK by using JNI technic. It
@ -72,7 +68,7 @@ change of underlying communication mechanism.
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%if 0%{?suse_version} >= 1330 %if %{?pkg_vcmp:%{pkg_vcmp} java-devel >= 9}%{!?pkg_vcmp:0}
%patch3 -p1 %patch3 -p1
%endif %endif
cp %{SOURCE1} . cp %{SOURCE1} .