Update to .NET SDK 6.0.106 and Runtime 6.0.6

Resolves: RHBZ#2093431
This commit is contained in:
Omair Majid 2022-06-25 10:05:11 -04:00
parent 973fd178e7
commit 66e93e343b
4 changed files with 18 additions and 9 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/dotnet-v6.0.103.tar.gz
/dotnet-v6.0.104.tar.gz
/dotnet-v6.0.105.tar.gz
/dotnet-v6.0.106.tar.gz

View File

@ -20,10 +20,10 @@
# until that's done, disable LTO. This has to happen before setting the flags below.
%define _lto_cflags %{nil}
%global host_version 6.0.5
%global runtime_version 6.0.5
%global host_version 6.0.6
%global runtime_version 6.0.6
%global aspnetcore_runtime_version %{runtime_version}
%global sdk_version 6.0.105
%global sdk_version 6.0.106
%global sdk_feature_band_version %(echo %{sdk_version} | sed -e 's|[[:digit:]][[:digit:]]$|00|')
%global templates_version %{runtime_version}
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
@ -60,7 +60,7 @@
Name: dotnet6.0
Version: %{sdk_rpm_version}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: .NET Runtime and SDK
License: MIT and ASL 2.0 and BSD and LGPLv2+ and CC-BY and CC0 and MS-PL and EPL-1.0 and GPL+ and GPLv2 and ISC and OFL and zlib
URL: https://github.com/dotnet/
@ -469,14 +469,18 @@ export EXTRA_CFLAGS="$CFLAGS"
export EXTRA_CXXFLAGS="$CXXFLAGS"
export EXTRA_LDFLAGS="$LDFLAGS"
# https://gitlab.com/redhat/centos-stream/rpms/openssl/-/commit/78fb78d30755ae18fdaef28ef392f4e67c662ff6
export OPENSSL_ENABLE_SHA1_SIGNATURES=1
# Disable tracing, which is incompatible with certain versions of
# lttng See https://github.com/dotnet/runtime/issues/57784. The
# suggested compile-time change doesn't work, unfrotunately.
export COMPlus_LTTng=0
%if 0%{?rhel} > 8
# OpenSSL 3.0 in RHEL 9 has disabled SHA1, used by .NET for strong
# name signing. See https://github.com/dotnet/runtime/issues/67304
# https://gitlab.com/redhat/centos-stream/rpms/openssl/-/commit/78fb78d30755ae18fdaef28ef392f4e67c662ff6
export OPENSSL_ENABLE_SHA1_SIGNATURES=1
%endif
VERBOSE=1 ./build.sh \
%if %{without bootstrap}
--with-sdk previously-built-dotnet \
@ -561,7 +565,6 @@ echo "Testing build results for debug symbols..."
%{SOURCE10} -v %{buildroot}%{_libdir}/dotnet/
%check
%if 0%{?fedora} > 35
# lttng in Fedora > 35 is incompatible with .NET
@ -619,6 +622,10 @@ export COMPlus_LTTng=0
%changelog
* Thu Jun 23 2022 Omair Majid <omajid@redhat.com> - 6.0.106-1
- Update to .NET SDK 6.0.106 and Runtime 6.0.6
- Resolves: RHBZ#2093431
* Wed May 25 2022 Omair Majid <omajid@redhat.com> - 6.0.105-1
- Update to .NET SDK 6.0.105 and Runtime 6.0.5
- Resolves: RHBZ#2082266

View File

@ -1 +1 @@
SHA512 (dotnet-v6.0.105.tar.gz) = 5c3d392d0dce66e30505d8bbba07992f5c9b82c1c58bf9781615ea4d18e364f35df48e5c707d86242878258d70a75b66a33d5d3dd14f7e270cdf1a8c31870d3c
SHA512 (dotnet-v6.0.106.tar.gz) = 72f90ee49649986c20c23108ff02fddbd54409bd8a0f32fd4555dae8088fd3e15ac4e2954fbae9b8004b7f64c36914993db0b08863879a9e34103e5690cf2d2f

View File

@ -27,6 +27,7 @@
- dotnet-sdk-6.0
- dotnet-runtime-6.0
- expect
- file
- git
- jq
- lldb