1
0
2023-10-18 18:09:08 +00:00
committed by Git OBS Bridge
parent d74eb8008c
commit 3f7f84674f
3 changed files with 9 additions and 7 deletions

View File

@@ -20,6 +20,7 @@
%{!?arm6:%global arm6 armv3l armv4b armv4l armv4tl armv5b armv5l armv5teb armv5tel armv5tejl armv6l armv6hl}
%global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm} s390x riscv64
%global debug 0
%global make make
%global is_release 1
%global buildoutputdir build
# Convert an absolute path to a relative path. Each symbolic link is
@@ -32,7 +33,8 @@
# Standard JPackage naming and versioning defines.
%global featurever 21
%global interimver 0
%global buildver 35
%global updatever 1
%global buildver 12
%global openjdk_repo jdk21u
%global openjdk_tag jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}+%{buildver}
%global openjdk_dir %{openjdk_repo}-jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}-%{buildver}
@@ -276,9 +278,9 @@ Summary: OpenJDK %{featurever} Runtime Environment
Group: Development/Languages/Java
Requires: jpackage-utils
Requires: mozilla-nss
Requires(posttrans):java-ca-certificates
# Post requires update-alternatives to install tool update-alternatives.
Requires(post): update-alternatives
Requires(posttrans):java-ca-certificates
# Postun requires update-alternatives to uninstall tool update-alternatives.
Requires(postun):update-alternatives
Recommends: tzdata-java8
@@ -448,7 +450,7 @@ sed -e "s:@NSS_LIBDIR@:%{NSS_LIBDIR}:g" %{SOURCE12} > nss.cfg
# Setup nss.fips.cfg
sed -e "s:@NSS_LIBDIR@:%{NSS_LIBDIR}:g" %{SOURCE13} > nss.fips.cfg
sed -i -e "s:@NSS_SECMOD@:sql\:/etc/pki/nssdb:g" nss.fips.cfg
sed -i -e "s:@NSS_SECMOD@:sql\:%{_sysconfdir}/pki/nssdb:g" nss.fips.cfg
%build
@@ -505,7 +507,7 @@ bash ../configure \
%endif
--disable-warnings-as-errors
make --no-print-directory \
%{make} --no-print-directory \
LOG=trace \
%{imagestarget}