Update to .NET SDK 10.0.100 and Runtime 10.0.0

Resolves: RHEL-125748
This commit is contained in:
Omair Majid 2025-11-12 13:15:31 -05:00
parent ca314aea2e
commit 0c5803864a
4 changed files with 32 additions and 25 deletions

2
.gitignore vendored
View File

@ -66,3 +66,5 @@
/dotnet-prebuilts-10.0.100-rc.1.25451.107-s390x.tar.gz
/dotnet-source-10.0.100-rc.2.25502.107.tar.gz
/dotnet-source-10.0.100-rc.2.25502.107.tar.gz.sig
/dotnet-10.0.100.tar.gz
/dotnet-10.0.100.tar.gz.sig

View File

@ -14,20 +14,20 @@
# upstream can produce releases with a different tag than the SDK version
#%%global upstream_tag v%%{runtime_version}
%global upstream_tag v10.0.100-rc.2.25502.107
%global upstream_tag v10.0.100
%global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||')
%global hostfxr_version %{runtime_version}
%global runtime_version 10.0.0-rc.2.25502.107
%global aspnetcore_runtime_version 10.0.0-rc.2.25502.107
%global sdk_version 10.0.100-rc.2.25502.107
%global runtime_version 10.0.0
%global aspnetcore_runtime_version 10.0.0
%global sdk_version 10.0.100
%global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|')
%global templates_version %{aspnetcore_runtime_version}
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
%global runtime_rpm_version 10.0.0~rc.2.25502.107
%global aspnetcore_runtime_rpm_version 10.0.0~rc.2.25502.107
%global sdk_rpm_version 10.0.100~rc.2.25502.107
%global runtime_rpm_version %{runtime_version}
%global aspnetcore_runtime_rpm_version %{aspnetcore_runtime_version}
%global sdk_rpm_version %{sdk_version}
%global use_bundled_brotli 0
%global use_bundled_libunwind 1
@ -77,15 +77,14 @@
Name: dotnet%{dotnetver}
Version: %{sdk_rpm_version}
Release: 0.10%{?dist}
Release: 2%{?dist}
Summary: .NET Runtime and SDK
License: 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
URL: https://github.com/dotnet/
#Source0: https://github.com/dotnet/dotnet/archive/refs/tags/%%{upstream_tag}.tar.gz#/dotnet-%%{upstream_tag_without_v}.tar.gz
Source0: https://builds.dotnet.microsoft.com/dotnet/source-build/dotnet-source-%{upstream_tag_without_v}.tar.gz
Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-source-%{upstream_tag_without_v}.tar.gz.sig
Source0: https://github.com/dotnet/dotnet/archive/refs/tags/%{upstream_tag}.tar.gz#/dotnet-%{upstream_tag_without_v}.tar.gz
Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-%{upstream_tag_without_v}.tar.gz.sig
Source2: https://dotnet.microsoft.com/download/dotnet/release-key-2023.asc
Source3: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/release.json
%if %{with bootstrap}
@ -463,7 +462,7 @@ if [[ ${release_json_tag} != %{upstream_tag} ]]; then
exit 1
fi
%setup -q -c -n dotnet-source-%{upstream_tag_without_v}
%setup -q -n dotnet-%{upstream_tag_without_v}
# Remove all prebuilts and binaries
rm -rf .dotnet/
@ -535,6 +534,8 @@ rm -rf prereqs/packages/archive/dotnet-sdk*.tar.gz
%autopatch -p1 -M 999
sed -i -E 's/trap.*tempDir.*EXIT//' eng/source-build-toolset-init.sh
%if ! %{use_bundled_brotli}
rm -r src/runtime/src/native/external/brotli/
%endif
@ -667,7 +668,7 @@ find -depth -name 'artifacts' -type d -print -exec rm -rf {} \;
./build.sh \
--source-only \
--release-manifest %{SOURCE3} \
--branding default \
--branding rtm \
%if %{without bootstrap}
--with-sdk previously-built-dotnet \
%endif
@ -697,9 +698,9 @@ sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE102} > dotnet.sh
%install
install -dm 0755 %{buildroot}%{_libdir}/dotnet
ls artifacts/assets/Release/
find artifacts/assets/Release/
mkdir -p built-sdk
tar xf artifacts/assets/Release/Sdk/%{sdk_version}/dotnet-sdk-%{sdk_version}*-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
tar xf artifacts/assets/Release/dotnet-sdk-%{sdk_version}*-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
# Delete bundled certificates: we want to use the system store only,
# except for when we have no other choice and ca-certificates doesn't
@ -899,6 +900,10 @@ export COMPlus_LTTng=0
%changelog
* Wed Nov 12 2025 Omair Majid <omajid@redhat.com> - 10.0.100-2
- Update to .NET SDK 10.0.100 and Runtime 10.0.0
- Resolves: RHEL-125748
* Fri Oct 17 2025 Omair Majid <omajid@redhat.com> - 10.0.100~rc.2.25502.107-0.10
- Update to .NET SDK 10.0.100-rc.2.25502.107 and Runtime 10.0.0-rc.2.25502.107
- Resolves: RHEL-121559

View File

@ -1,11 +1,11 @@
{
"release": "10.0.0-rc.2",
"release": "10.0.0",
"channel": "10.0",
"tag": "v10.0.100-rc.2.25502.107",
"sdkVersion": "10.0.100-rc.2.25502.107",
"runtimeVersion": "10.0.0-rc.2.25502.107",
"aspNetCoreVersion": "10.0.0-rc.2.25502.107",
"tag": "v10.0.100",
"sdkVersion": "10.0.100",
"runtimeVersion": "10.0.0",
"aspNetCoreVersion": "10.0.0",
"sourceRepository": "https://github.com/dotnet/dotnet",
"sourceVersion": "89c8f6a112d37d2ea8b77821e56d170a1bccdc5a",
"officialBuildId": "20251002.7"
}
"sourceVersion": "b0f34d51fccc69fd334253924abd8d6853fad7aa",
"officialBuildId": "20251023.11"
}

View File

@ -1,2 +1,2 @@
SHA512 (dotnet-source-10.0.100-rc.2.25502.107.tar.gz) = eefa03f6e409274c3d5a29317c6e26badb991019bc9c8faa2172b7ead937032bf8829474da4dc5badfb92d33e2140c6d0121f8f996c8ec146f9efddc9b2770ca
SHA512 (dotnet-source-10.0.100-rc.2.25502.107.tar.gz.sig) = 4dec13df46b91f641630623778cd2509a0bb68b47975735f1e623a445f02648268f19dae7b4b1912ab855d099f35afd78506808f667d67d2774ef594a3af8191
SHA512 (dotnet-10.0.100.tar.gz) = 0c292fe98c9c60864be176829011384542e94625e0969007f198df9a520aab68517a8a807927c25e885915597f3d87ffc8c1ba797606d5896f305705f3c44c98
SHA512 (dotnet-10.0.100.tar.gz.sig) = 2343e062401151166218bd57b8ad1e23c6772d325a5e4304ab040a0d06eca85f04dd0543431e10068ecc60db55fe11d5c4f3a6d04f2c0f67741f4659f7e69572