update to 17.0.11_4 [release 17.0.11_4-1mamba;Sat Feb 24 2024]

This commit is contained in:
Silvan Calarco 2024-02-25 10:34:15 +01:00
parent a9d8e3208a
commit 97c54f840d

View File

@ -6,7 +6,7 @@
%define altverjdk %(expr 61 + %javaver) %define altverjdk %(expr 61 + %javaver)
# bootstrap with external binary java environment # bootstrap with external binary java environment
%define bootstrap 1 #% define bootstrap 1
%define archbuild %{_target_cpu} %define archbuild %{_target_cpu}
@ -45,7 +45,7 @@
%define bootopt --with-boot-jdk=$HOME/zulu17.46.19-ca-jdk17.0.9-linux_x64 %define bootopt --with-boot-jdk=$HOME/zulu17.46.19-ca-jdk17.0.9-linux_x64
%endif %endif
%ifarch %{ix86} %ifarch %{ix86}
%define bootopt --with-boot-jdk=$HOME/zulu11.43.55-ca-jdk11.0.9.1-linux_i686 %define bootopt --with-boot-jdk=$HOME/zulu17.48.15-ca-jdk17.0.10-linux_i686
%endif %endif
%ifarch arm %ifarch arm
%define bootopt --with-boot-jdk=$HOME/zulu11.43.100-ca-jdk11.0.9.1-linux_aarch32sf %define bootopt --with-boot-jdk=$HOME/zulu11.43.100-ca-jdk11.0.9.1-linux_aarch32sf
@ -58,7 +58,7 @@
%define _jvmdir /usr/lib/jvm %define _jvmdir /usr/lib/jvm
Name: java-openjdk17 Name: java-openjdk17
Version: 17.0.10_2 Version: 17.0.11_4
Release: 1mamba Release: 1mamba
Summary: OpenJDK Java %{javaver} environment Summary: OpenJDK Java %{javaver} environment
Group: System/Libraries/Java Group: System/Libraries/Java
@ -89,17 +89,13 @@ BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
#BuildRequires: apache-ant
#BuildRequires: apache-ant-nodeps
BuildRequires: binutils BuildRequires: binutils
BuildRequires: bison BuildRequires: bison
BuildRequires: ca-certificates BuildRequires: ca-certificates
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: debianutils BuildRequires: debianutils
#BuildRequires: desktop-file-utils
BuildRequires: flex BuildRequires: flex
BuildRequires: gawk BuildRequires: gawk
#BuildRequires: gdb
BuildRequires: ksh BuildRequires: ksh
BuildRequires: mercurial BuildRequires: mercurial
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -112,20 +108,14 @@ BuildRequires: xorg-proto-devel
BuildRequires: zip BuildRequires: zip
BuildRequires: ca-certificates BuildRequires: ca-certificates
BuildRequires: jpackage-utils BuildRequires: jpackage-utils
#BuildRequires: tzdata-java
BuildRequires: libnss-devel BuildRequires: libnss-devel
BuildRequires: llvm-devel BuildRequires: llvm-devel
#BuildRequires: lsb-core
%if "%{?bootstrap}" != "1" %if "%{?bootstrap}" != "1"
BuildRequires: java-environment >= 10 BuildRequires: java-environment >= 10
%endif %endif
%if "%{stage1}" == "1" %if "%{stage1}" == "1"
BuildRequires: eclipse-ecj BuildRequires: eclipse-ecj
%endif %endif
#BuildRequires: java-rhino
#BuildRequires: xalan-j2
#BuildRequires: xerces-j2
#BuildRequires: xml-commons-apis
%ifarch arm %ifarch arm
BuildRequires: libatomic-devel BuildRequires: libatomic-devel
%endif %endif
@ -151,9 +141,6 @@ Provides: %{_bindir}/rmic
Provides: %{_bindir}/serialver Provides: %{_bindir}/serialver
Provides: java-environment = %{javaver} Provides: java-environment = %{javaver}
Provides: java-environment-openjdk = %{javaver} Provides: java-environment-openjdk = %{javaver}
#Provides: java-openjdk = %{javaver}
#Provides: java-openjdk
#Obsoletes: java-openjdk
Provides: sun-java Provides: sun-java
%description %description
@ -185,16 +172,10 @@ Requires: sazanami-fonts
Requires: cjkuni-ukai-ttf-fonts Requires: cjkuni-ukai-ttf-fonts
Requires: cjkuni-uming-ttf-fonts Requires: cjkuni-uming-ttf-fonts
Requires: jpackage-utils Requires: jpackage-utils
#Requires: java-rhino
Requires: menu-java Requires: menu-java
#Requires: openssl
#Requires: tzdata-java
Provides: java-runtime = %{javaver} Provides: java-runtime = %{javaver}
Provides: java-runtime-openjdk = %{javaver} Provides: java-runtime-openjdk = %{javaver}
Requires: %{name}-headless = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-headless = %{?epoch:%epoch:}%{version}-%{release}
#Provides: java-openjdk-runtime = %{javaver}
#Provides: java-openjdk-runtime
#Obsoletes: java-openjdk-runtime
%description runtime %description runtime
OpenJDK Java %{javaver} runtime environment OpenJDK Java %{javaver} runtime environment
@ -233,12 +214,9 @@ OpenJDK Java %{javaver} API documentation.
#-D -T #-D -T
%build %build
#:<< ___EOF # Prevent use of ccache because is not supported
#if [[ ${CARCH} = i686 ]]; then export PATH=%{_bindir}:$PATH
# echo "Removing '-fno-plt' from CFLAGS and CXXFLAGS to prevent build fail with this architecture" export JAVA_HOME=%{_jvmdir}/java-17
# _CFLAGS=${CFLAGS/-fno-plt/}
# _CXXFLAGS=${CXXFLAGS/-fno-plt/}
# fi
bash configure \ bash configure \
%{?bootopt} \ %{?bootopt} \
@ -255,15 +233,14 @@ bash configure \
--with-lcms=system \ --with-lcms=system \
--with-zlib=system \ --with-zlib=system \
--with-harfbuzz=system \ --with-harfbuzz=system \
%ifnarch %{ix86}
--with-jvm-features=zgc \ --with-jvm-features=zgc \
%endif
--enable-unlimited-crypto \ --enable-unlimited-crypto \
--disable-warnings-as-errors --disable-warnings-as-errors
make images legacy-jre-image docs make images legacy-jre-image docs
#find %{buildoutputdir} -iname '*.so' -exec chmod +x {} \;
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -515,6 +492,9 @@ fi
#%doc README #%doc README
%changelog %changelog
* Sat Feb 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.11_4-1mamba
- update to 17.0.11_4
* Thu Nov 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.10_2-1mamba * Thu Nov 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.10_2-1mamba
- update to 17.0.10_2 - update to 17.0.10_2