This commit is contained in:
parent
948919edd0
commit
a649d0c472
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 29 14:50:29 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- The binaries are compatible with java 1.8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 15 05:13:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Mon Apr 15 05:13:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -19,6 +19,9 @@
|
|||||||
%global source_name error-prone
|
%global source_name error-prone
|
||||||
%global artifactId error_prone_annotations
|
%global artifactId error_prone_annotations
|
||||||
%global group_name google-errorprone
|
%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
|
Name: %{group_name}-annotations
|
||||||
Version: 2.26.1
|
Version: 2.26.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -32,6 +35,7 @@ BuildRequires: ant
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 9
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: javapackages-local >= 6
|
BuildRequires: javapackages-local >= 6
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -26,6 +26,7 @@ Group: Development/Libraries/Java
|
|||||||
URL: https://errorprone.info
|
URL: https://errorprone.info
|
||||||
Source0: %{source_name}-%{version}.tar.xz
|
Source0: %{source_name}-%{version}.tar.xz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
|
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
|
||||||
BuildRequires: mvn(com.google.auto.service:auto-service)
|
BuildRequires: mvn(com.google.auto.service:auto-service)
|
||||||
@ -42,6 +43,7 @@ common programming mistakes at compile-time.
|
|||||||
%package annotation
|
%package annotation
|
||||||
Summary: @BugPattern annotation
|
Summary: @BugPattern annotation
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
|
|
||||||
%description annotation
|
%description annotation
|
||||||
@BugPattern annotation for Google Error Prone
|
@BugPattern annotation for Google Error Prone
|
||||||
@ -49,6 +51,7 @@ Group: Development/Libraries/Java
|
|||||||
%package docgen_processor
|
%package docgen_processor
|
||||||
Summary: @BugPattern annotation processor
|
Summary: @BugPattern annotation processor
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
|
|
||||||
%description docgen_processor
|
%description docgen_processor
|
||||||
JSR-269 annotation processor for @BugPattern annotation
|
JSR-269 annotation processor for @BugPattern annotation
|
||||||
@ -56,6 +59,7 @@ JSR-269 annotation processor for @BugPattern annotation
|
|||||||
%package type_annotations
|
%package type_annotations
|
||||||
Summary: error-prone type annotations
|
Summary: error-prone type annotations
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
|
|
||||||
%description type_annotations
|
%description type_annotations
|
||||||
Google Error Prone type annotations
|
Google Error Prone type annotations
|
||||||
|
Loading…
Reference in New Issue
Block a user