From dec080b68c19401e37e610acea7f0235b5bb6bd2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 11 Jan 2024 23:43:55 -0500 Subject: [PATCH] Use default java-devel The JNI bindings were introduced with 1.8.0 was still the default JDK, so 11 was intended to select the newer version. The default JDK is now 17, and there is no reason to continue to use what is now an older version. --- zbar.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zbar.spec b/zbar.spec index e3d703c..5b9679f 100644 --- a/zbar.spec +++ b/zbar.spec @@ -30,7 +30,7 @@ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: xmlto %if %{JAVA} -BuildRequires: java-11-openjdk-devel +BuildRequires: java-devel %endif BuildRequires: python3-devel BuildRequires: python3-setuptools