diff --git a/google-errorprone-annotations.changes b/google-errorprone-annotations.changes index 802ab58..0b78d1f 100644 --- a/google-errorprone-annotations.changes +++ b/google-errorprone-annotations.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 29 14:50:29 UTC 2024 - Fridrich Strba + +- The binaries are compatible with java 1.8 + ------------------------------------------------------------------- Mon Apr 15 05:13:37 UTC 2024 - Fridrich Strba diff --git a/google-errorprone-annotations.spec b/google-errorprone-annotations.spec index 3b7883b..9c01fbe 100644 --- a/google-errorprone-annotations.spec +++ b/google-errorprone-annotations.spec @@ -19,6 +19,9 @@ %global source_name error-prone %global artifactId error_prone_annotations %global group_name google-errorprone +# The automatic requires would be java-headless >= 9, but the +# binaries are java 8 compatible +%define __requires_exclude java-headless Name: %{group_name}-annotations Version: 2.26.1 Release: 0 @@ -32,6 +35,7 @@ BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 9 BuildRequires: javapackages-local >= 6 +Requires: java-headless >= 1.8 BuildArch: noarch %description