Skip to content

Commit 34803c9

Browse files
committed
Revert "Require Java 17 or Java 21 for RPM installations and Java 21 for Fedora installations (#544)"
This reverts commit 2b23075 Ref: - #730 - #729
1 parent 50f0043 commit 34803c9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

rpm/build/SPECS/jenkins.spec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ BuildRoot: %{_tmppath}/build-%{name}-%{version}
1919
# So either we make a hard requirement on the OpenJDK or none at all
2020
# Only workaround would be to use a java virtual package, see https://github.com/keystep/virtual-java-rpm
2121
# TODO: If re-enable, fix the matcher for Java 17
22-
# Fedora 42+ removes openjdk-{8,11,17}. Jenkins now uses Eclipse Temurin JDK 21.
23-
%if 0%{?fedora}
24-
Requires: java >= 21
25-
%else
26-
Requires: java >= 17
27-
%endif
22+
# Requires: java >= 1:1.8.0
2823
Requires: procps
2924
Requires(pre): /usr/sbin/useradd, /usr/sbin/groupadd
3025
BuildArch: noarch

0 commit comments

Comments
 (0)