Skip to content

Commit 7296700

Browse files
committed
Respin to require the correct jdk based on fedora version.
1 parent fe8c549 commit 7296700

2 files changed

Lines changed: 17 additions & 18 deletions

File tree

jss.spec

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Name: jss
1313
# Downstream release number:
1414
# - development/stabilization (unsupported): 0.<n> where n >= 1
1515
# - GA/update (supported): <n> where n >= 1
16-
%global release_number 0.3
16+
%global release_number 0.4
1717

1818
# Development phase:
1919
# - development (unsupported): alpha<n> where n >= 1
2020
# - stabilization (unsupported): beta<n> where n >= 1
2121
# - GA/update (supported): <none>
22-
%global phase beta3
22+
%global phase beta4
2323

2424
%if 0%{?rhel} && 0%{?rhel} >= 10
2525
%global enable_nss_version_pqc_def_flag -DENABLE_NSS_VERSION_PQC_DEF=ON
@@ -65,12 +65,12 @@ ExcludeArch: i686
6565

6666
# maven-local is a subpackage of javapackages-tools
6767

68-
%if 0%{?fedora} && 0%{?fedora} <= 39 || 0%{?rhel} && 0%{?rhel} <= 9
68+
%if 0%{?fedora} && 0%{?fedora} >= 43
6969

70-
%define java_devel java-17-openjdk-devel
71-
%define java_headless java-17-openjdk-headless
72-
%define java_home %{_jvmdir}/jre-17-openjdk
73-
%define maven_local maven-local-openjdk17
70+
%define java_devel java-25-openjdk-devel
71+
%define java_headless java-25-openjdk-headless
72+
%define java_home %{_jvmdir}/jre-25-openjdk
73+
%define maven_local maven-local-openjdk25
7474

7575
%else
7676

@@ -153,14 +153,14 @@ This only works with gcj. Other JREs require that JCE providers be signed.
153153
Summary: Java Security Services (JSS) Connector for Tomcat
154154

155155
# Tomcat
156-
BuildRequires: mvn(org.apache.tomcat:tomcat-catalina) >= 10.1.43
157-
BuildRequires: mvn(org.apache.tomcat:tomcat-coyote) >= 10.1.43
158-
BuildRequires: mvn(org.apache.tomcat:tomcat-juli) >= 10.1.43
156+
BuildRequires: mvn(org.apache.tomcat:tomcat-catalina) >= 10.1.36
157+
BuildRequires: mvn(org.apache.tomcat:tomcat-coyote) >= 10.1.36
158+
BuildRequires: mvn(org.apache.tomcat:tomcat-juli) >= 10.1.36
159159

160160
Requires: %{product_id} = %{version}-%{release}
161-
Requires: mvn(org.apache.tomcat:tomcat-catalina) >= 10.1.43
162-
Requires: mvn(org.apache.tomcat:tomcat-coyote) >= 10.1.43
163-
Requires: mvn(org.apache.tomcat:tomcat-juli) >= 10.1.43
161+
Requires: mvn(org.apache.tomcat:tomcat-catalina) >= 10.1.36
162+
Requires: mvn(org.apache.tomcat:tomcat-coyote) >= 10.1.36
163+
Requires: mvn(org.apache.tomcat:tomcat-juli) >= 10.1.36
164164

165165
# Tomcat JSS has been replaced with JSS Connector for Tomcat.
166166
# This will remove installed Tomcat JSS packages.
@@ -178,8 +178,7 @@ Conflicts: pki-servlet-engine <= 9.0
178178

179179
%description -n %{product_id}-tomcat
180180
JSS Connector for Tomcat is a Java Secure Socket Extension (JSSE)
181-
module for Apache Tomcat that uses Java Security Services (JSS),
182-
a Java interface to Network Security Services (NSS).
181+
module for Apache Tomcat that uses Java Security Services (JSS), a Java interface to Network Security Services (NSS).
183182

184183
################################################################################
185184
%package -n %{product_id}-tools

tomcat-10.1/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
<dependency>
2020
<groupId>org.apache.tomcat</groupId>
2121
<artifactId>tomcat-catalina</artifactId>
22-
<version>10.1.43</version>
22+
<version>10.1.36</version>
2323
</dependency>
2424

2525
<dependency>
2626
<groupId>org.apache.tomcat</groupId>
2727
<artifactId>tomcat-coyote</artifactId>
28-
<version>10.1.43</version>
28+
<version>10.1.36</version>
2929
</dependency>
3030

3131
<dependency>
3232
<groupId>org.apache.tomcat</groupId>
3333
<artifactId>tomcat-juli</artifactId>
34-
<version>10.1.43</version>
34+
<version>10.1.36</version>
3535
</dependency>
3636

3737
<dependency>

0 commit comments

Comments
 (0)