From 63ba044fdbd0497761422e12b1ade7049919796eddd558dd3a5caca292064ae0 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 29 Apr 2024 16:35:37 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apiguardian?expand=0&rev=10 --- apiguardian.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apiguardian.spec b/apiguardian.spec index 888ab04..fcd18cb 100644 --- a/apiguardian.spec +++ b/apiguardian.spec @@ -16,6 +16,9 @@ # +# The automatic requires would be java-headless >= 9, but the +# binaries are java 8 compatible +%define __requires_exclude java-headless Name: apiguardian Version: 1.1.2 Release: 0 @@ -30,6 +33,7 @@ BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 9 BuildRequires: javapackages-local >= 6 +Requires: java-headless >= 1.8 BuildArch: noarch %description