From 80174b1f68847ce996920f3364db57b243a1ab7f Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 30 Oct 2025 17:17:27 -0400 Subject: [PATCH 1/8] Disable bootstrap --- dotnet10.0.spec | 5 ++++- sources | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dotnet10.0.spec b/dotnet10.0.spec index 018b061..bc894a6 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -1,4 +1,4 @@ -%bcond_without bootstrap +%bcond_with bootstrap # LTO triggers a compilation error for a source level issue. Given that LTO should not # change the validity of any given source and the nature of the error (undefined enum), I @@ -933,6 +933,9 @@ export COMPlus_LTTng=0 %changelog +* Thu Oct 30 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.9 +- Disable bootstrap + * Wed Oct 29 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.8 - Don't build with clang 21 diff --git a/sources b/sources index ea16200..9830f2e 100644 --- a/sources +++ b/sources @@ -1,6 +1,2 @@ SHA512 (dotnet-10.0.100-rc.1.25451.107.tar.gz) = 41de62257785dcd6f4d180b62f672b2a1fa599e8a63985ea1b578da340cca32a3905caf8699114ea370799bf3ba033bc6cc8e83e3498da34cf1cf178f7e982f7 SHA512 (dotnet-10.0.100-rc.1.25451.107.tar.gz.sig) = ae8723da5fb35f3c103ec8819d08bb9c21666ed08c4b1bcad97c5ac0c1b7bc60f668a59feac9c0c0ce795905dab281aeabecc6a1a66aa2fd8d9fa8bb8d701133 -SHA512 (dotnet-prebuilts-10.0.100-rc.1.25420.111-x64.tar.gz) = 105df63912a12d1bef77004421840cd5fd32658a030ae80557c82dd4dc1b7c9c5a55c0b9c4cf56624adb64e444c9e902cf1a959769f169f18d7281a7357aacb7 -SHA512 (dotnet-prebuilts-10.0.100-rc.1.25420.111-arm64.tar.gz) = e53a53728a1200f308125d539efa6b578e33a6e504a5709de4edcfe3d262c00e25fbd25eda535ff356027ccc69dc6314a76fa43b25d96529aee1e5cf5c4acbce -SHA512 (dotnet-prebuilts-10.0.100-rc.1.25451.107-ppc64le.tar.gz) = 3f455b2ebe7d921162b286db98eadfdbe79769655a3419a8c10910ea66baa986e8346cee8c73cb95cf1d150400702d1b12f55c5bdb037c9b94cc81c1e59102e6 -SHA512 (dotnet-prebuilts-10.0.100-rc.1.25451.107-s390x.tar.gz) = ee3fdf8d01d11a682ac04603794fbe90ae9d489506139909f20b70bf2a026ef0e4e293c6c42cea85491849239f4ed47c426fdb40248adcafea13b001b284a44e From 3790891e69de50cd6cdbd9ca6b1c3d26dc0ea9a1 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Mon, 3 Nov 2025 21:28:47 -0500 Subject: [PATCH 2/8] Update to .NET 10 RC 2 Update to .NET SDK 10.0.100-rc.2.25502.107 and Runtime 10.0.0-rc.2.25502.10. --- .gitignore | 2 ++ dotnet10.0.spec | 31 ++++++++++++++++--------------- release.json | 16 ++++++++-------- sources | 4 ++-- update-release | 2 -- 5 files changed, 28 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index e621e63..dd889ca 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,5 @@ /dotnet-prebuilts-10.0.100-rc.1.25420.111-arm64.tar.gz /dotnet-prebuilts-10.0.100-rc.1.25451.107-ppc64le.tar.gz /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 diff --git a/dotnet10.0.spec b/dotnet10.0.spec index bc894a6..bd14486 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -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.1.25451.107 +%global upstream_tag v10.0.100-rc.2.25502.107 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') %global hostfxr_version %{runtime_version} -%global runtime_version 10.0.0-rc.1.25451.107 -%global aspnetcore_runtime_version 10.0.0-rc.1.25451.107 -%global sdk_version 10.0.100-rc.1.25451.107 +%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 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.1.25451.107 -%global aspnetcore_runtime_rpm_version 10.0.0~rc.1.25451.107 -%global sdk_rpm_version 10.0.100~rc.1.25451.107 +%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 use_bundled_brotli 0 %global use_bundled_libunwind 1 @@ -77,14 +77,16 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 0.8%{?dist} +Release: 0.10%{?dist} Summary: .NET %{dotnetver} 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 -Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-%{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 +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 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} @@ -484,7 +486,7 @@ if [[ ${release_json_tag} != %{upstream_tag} ]]; then exit 1 fi -%setup -q -n dotnet-%{upstream_tag_without_v} +%setup -q -c -n dotnet-%{upstream_tag_without_v} # Remove all prebuilts and binaries rm -rf .dotnet/ @@ -829,10 +831,6 @@ rm %{buildroot}%{_libdir}/dotnet/ThirdPartyNotices.txt rm %{buildroot}%{_libdir}/dotnet/dotnet %endif -# Removed by upstream in .NET 10 RC 2 -rm -r %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0 -rmdir %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref - %check @@ -933,6 +931,9 @@ export COMPlus_LTTng=0 %changelog +* Sun Nov 02 2025 Omair Majid - 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 + * Thu Oct 30 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.9 - Disable bootstrap diff --git a/release.json b/release.json index b0e6839..f5f6bd4 100644 --- a/release.json +++ b/release.json @@ -1,11 +1,11 @@ { - "release": "10.0.0-rc.1", + "release": "10.0.0-rc.2", "channel": "10.0", - "tag": "v10.0.100-rc.1.25451.107", - "sdkVersion": "10.0.100-rc.1.25451.107", - "runtimeVersion": "10.0.0-rc.1.25451.107", - "aspNetCoreVersion": "10.0.0-rc.1.25451.107", + "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", "sourceRepository": "https://github.com/dotnet/dotnet", - "sourceVersion": "2db1f5ee2bdda2e8d873769325fabede32e420e0", - "officialBuildId": "20250901.7" -} + "sourceVersion": "89c8f6a112d37d2ea8b77821e56d170a1bccdc5a", + "officialBuildId": "20251002.7" +} \ No newline at end of file diff --git a/sources b/sources index 9830f2e..8958484 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (dotnet-10.0.100-rc.1.25451.107.tar.gz) = 41de62257785dcd6f4d180b62f672b2a1fa599e8a63985ea1b578da340cca32a3905caf8699114ea370799bf3ba033bc6cc8e83e3498da34cf1cf178f7e982f7 -SHA512 (dotnet-10.0.100-rc.1.25451.107.tar.gz.sig) = ae8723da5fb35f3c103ec8819d08bb9c21666ed08c4b1bcad97c5ac0c1b7bc60f668a59feac9c0c0ce795905dab281aeabecc6a1a66aa2fd8d9fa8bb8d701133 +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 diff --git a/update-release b/update-release index 4cc5870..a881b27 100755 --- a/update-release +++ b/update-release @@ -216,5 +216,3 @@ sed -i -E 's|^Release: [[:digit:]]+%|Release: '"$rpm_release"'%|' # Reset Release in changelog comment # See https://stackoverflow.com/questions/18620153/find-matching-text-and-replace-next-line sed -i -E '/^%changelog$/!b;n;s/-[[:digit:]]+$/-'"$rpm_release"'/' "$spec_file" - -./check-bundled-versions From c313538b52bab6af4181da394114e02a28b49154 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 5 Nov 2025 18:36:03 -0500 Subject: [PATCH 3/8] Don't install dotnet.sh on new operating systems Some of these were workarounds for real issues that have now been fixed. Some changes brings us closer to .NET provided by Microsoft. Other things need to be fixed properly upstream. --- dotnet10.0.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotnet10.0.spec b/dotnet10.0.spec index bd14486..6241752 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -768,8 +768,11 @@ find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.txt' -exec chmod -x {} \; find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \; %if %{is_latest_dotnet} + +%if 0%{?fedora} < 44 || 0%{?rhel} < 11 install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/ install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/ +%endif # Install dynamic completions install -dm 0755 %{buildroot}/%{bash_completions_dir} @@ -864,7 +867,9 @@ export COMPlus_LTTng=0 %license %{_libdir}/dotnet/ThirdPartyNotices.txt %doc %{_mandir}/man1/dotnet*.1.* %doc %{_mandir}/man7/dotnet*.7.* +%if 0%{?fedora} < 44 || 0%{?rhel} < 11 %config(noreplace) %{_sysconfdir}/profile.d/dotnet.sh +%endif %config(noreplace) %{_sysconfdir}/dotnet %dir %{_datadir}/bash-completion %dir %{bash_completions_dir} From 66aff3d7d374533598e7920d67a67074f8f40e9b Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 12 Nov 2025 09:20:40 -0500 Subject: [PATCH 4/8] Update to .NET SDK 10.0.100 and Runtime 10.0.0 --- .gitignore | 2 ++ dotnet10.0.spec | 35 +++++++++++++++++++---------------- release.json | 16 ++++++++-------- sources | 4 ++-- 4 files changed, 31 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index dd889ca..073a518 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,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 diff --git a/dotnet10.0.spec b/dotnet10.0.spec index 6241752..18d8196 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -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,16 +77,14 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 0.10%{?dist} +Release: 1%{?dist} Summary: .NET %{dotnetver} 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 -#Source1: https://github.com/dotnet/dotnet/releases/download/%%{upstream_tag}/dotnet-%%{upstream_tag_without_v}.tar.gz.sig -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} @@ -486,7 +484,7 @@ if [[ ${release_json_tag} != %{upstream_tag} ]]; then exit 1 fi -%setup -q -c -n dotnet-%{upstream_tag_without_v} +%setup -q -n dotnet-%{upstream_tag_without_v} # Remove all prebuilts and binaries rm -rf .dotnet/ @@ -558,6 +556,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 @@ -699,7 +699,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 @@ -729,9 +729,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 @@ -936,6 +936,9 @@ export COMPlus_LTTng=0 %changelog +* Tue Nov 11 2025 Omair Majid - 10.0.100-1 +- Update to .NET SDK 10.0.100 and Runtime 10.0.0 + * Sun Nov 02 2025 Omair Majid - 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 diff --git a/release.json b/release.json index f5f6bd4..f22dbfb 100644 --- a/release.json +++ b/release.json @@ -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" -} \ No newline at end of file + "sourceVersion": "b0f34d51fccc69fd334253924abd8d6853fad7aa", + "officialBuildId": "20251023.11" +} diff --git a/sources b/sources index 8958484..fb848a0 100644 --- a/sources +++ b/sources @@ -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) = 5420412a9f8f7b89d9c4e84ca53fcf8ffa92099381a2eca5ac3b0c9270cea9b82a11169cd54a4d490c0484508c02752553da1d95d604ca458022733ac2ea2f5d From 2ed15efdb531fe0b846f3410ae70a9f6f405e710 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 16 Nov 2025 21:24:42 -0500 Subject: [PATCH 5/8] Fix dotnet.sh conditional Less-than conditionals must always be accompanied by a check that the variable is defined, otherwise you get a false positive on all other OSs. Generally, it's safer to use a negated greater-than instead. --- dotnet10.0.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet10.0.spec b/dotnet10.0.spec index 18d8196..649d685 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -769,7 +769,7 @@ find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \; %if %{is_latest_dotnet} -%if 0%{?fedora} < 44 || 0%{?rhel} < 11 +%if ! (0%{?fedora} >= 44 || 0%{?rhel} >= 11) install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/ install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/ %endif @@ -867,7 +867,7 @@ export COMPlus_LTTng=0 %license %{_libdir}/dotnet/ThirdPartyNotices.txt %doc %{_mandir}/man1/dotnet*.1.* %doc %{_mandir}/man7/dotnet*.7.* -%if 0%{?fedora} < 44 || 0%{?rhel} < 11 +%if ! (0%{?fedora} >= 44 || 0%{?rhel} >= 11) %config(noreplace) %{_sysconfdir}/profile.d/dotnet.sh %endif %config(noreplace) %{_sysconfdir}/dotnet From b397b6233a8d15914baff1cf14d393c434868b5f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 17 Nov 2025 14:52:29 -0500 Subject: [PATCH 6/8] Build with clang20 in ELN This will need to be fixed soon, as RHEL 10 will soon also be getting llvm/clang 21, but in the meantime this lets us build. --- dotnet10.0.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet10.0.spec b/dotnet10.0.spec index 649d685..a7833c1 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -125,7 +125,7 @@ ExclusiveArch: aarch64 ppc64le s390x x86_64 %if ! %{use_bundled_brotli} BuildRequires: brotli-devel %endif -%if 0%{?fedora} >= 43 +%if 0%{?fedora} >= 43 || 0%{?rhel} > 10 BuildRequires: clang20 %else BuildRequires: clang From d28d822c71bdc033673cd4582968a1cac6d9fe24 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Tue, 9 Dec 2025 23:22:20 -0500 Subject: [PATCH 7/8] Update to .NET SDK 10.0.101 and Runtime 10.0.1 --- .gitignore | 2 ++ README.md | 6 ++++-- dotnet10.0.spec | 15 +++++++++------ gating.yaml | 1 - release.json | 14 +++++++------- sources | 4 ++-- update-release | 2 +- 7 files changed, 25 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 073a518..7911be4 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,5 @@ /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 +/dotnet-10.0.101.tar.gz +/dotnet-10.0.101.tar.gz.sig diff --git a/README.md b/README.md index 1e6c3fa..39a651b 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,10 @@ follow. This package uses CI tests as defined in `tests/ci.yml`. You can run them using [tmt](https://tmt.readthedocs.io/en/stable/overview.html). Creating a pull-request or running an official build will fire off tests and flag any -issues. We have enabled gating (via `gating.yaml`) on the tests. That prevents -a build that fails any test from being released until the failures are waived. +issues. The tests will show up as `tier0.functional` in results views. We have +enabled gating (via `gating.yaml`) on the tests. That prevents a build or an +update that fails any test from being released until the failures are +reviewed/waived. The tests themselves are contained in this external repository: https://github.com/redhat-developer/dotnet-regular-tests/ diff --git a/dotnet10.0.spec b/dotnet10.0.spec index a7833c1..954f441 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -14,13 +14,13 @@ # upstream can produce releases with a different tag than the SDK version #%%global upstream_tag v%%{runtime_version} -%global upstream_tag v10.0.100 +%global upstream_tag v10.0.101 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') %global hostfxr_version %{runtime_version} -%global runtime_version 10.0.0 -%global aspnetcore_runtime_version 10.0.0 -%global sdk_version 10.0.100 +%global runtime_version 10.0.1 +%global aspnetcore_runtime_version 10.0.1 +%global sdk_version 10.0.101 %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 }') @@ -809,7 +809,7 @@ test -f %{buildroot}%{_libdir}/dotnet/sdk/%{sdk_version}*/Sdks/Microsoft.NET.Sdk echo "Testing build results for debug symbols..." %{SOURCE101} -v %{buildroot}%{_libdir}/dotnet/ -%if %{include_macros} +%if %{is_latest_dotnet} && %{include_macros} install -dm 0755 %{buildroot}%{_rpmmacrodir}/ install -m 0644 %{SOURCE100} %{buildroot}%{_rpmmacrodir}/ %endif @@ -822,7 +822,7 @@ find %{buildroot}%{_libdir}/dotnet/sdk -type d | tail -n +2 | sed -E 's|%{buildr find %{buildroot}%{_libdir}/dotnet/sdk -type f -and -not -name '*.pdb' | sed -E 's|%{buildroot}||' >> dotnet-sdk-non-dbg-files find %{buildroot}%{_libdir}/dotnet/sdk -type f -name '*.pdb' | sed -E 's|%{buildroot}||' > dotnet-sdk-dbg-files -%if %{is_latest_dotnet} == 0 +%if ! %{is_latest_dotnet} # If this is an older version, self-test now, before we delete files. After we # delete files, we will not have everything we need to self-test in %%check. %{buildroot}%{_libdir}/dotnet/dotnet --info @@ -936,6 +936,9 @@ export COMPlus_LTTng=0 %changelog +* Wed Dec 10 2025 Omair Majid - 10.0.101-1 +- Update to .NET SDK 10.0.101 and Runtime 10.0.1 + * Tue Nov 11 2025 Omair Majid - 10.0.100-1 - Update to .NET SDK 10.0.100 and Runtime 10.0.0 diff --git a/gating.yaml b/gating.yaml index b7ab3d1..6b6a8a9 100644 --- a/gating.yaml +++ b/gating.yaml @@ -20,4 +20,3 @@ product_versions: decision_context: osci_compose_gate rules: - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.other-archs.functional} diff --git a/release.json b/release.json index f22dbfb..dbb5a24 100644 --- a/release.json +++ b/release.json @@ -1,11 +1,11 @@ { - "release": "10.0.0", + "release": "10.0.1", "channel": "10.0", - "tag": "v10.0.100", - "sdkVersion": "10.0.100", - "runtimeVersion": "10.0.0", - "aspNetCoreVersion": "10.0.0", + "tag": "v10.0.101", + "sdkVersion": "10.0.101", + "runtimeVersion": "10.0.1", + "aspNetCoreVersion": "10.0.1", "sourceRepository": "https://github.com/dotnet/dotnet", - "sourceVersion": "b0f34d51fccc69fd334253924abd8d6853fad7aa", - "officialBuildId": "20251023.11" + "sourceVersion": "fad253f51b461736dfd3cd9c15977bb7493becef", + "officialBuildId": "20251119.5" } diff --git a/sources b/sources index fb848a0..e600baa 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (dotnet-10.0.100.tar.gz) = 0c292fe98c9c60864be176829011384542e94625e0969007f198df9a520aab68517a8a807927c25e885915597f3d87ffc8c1ba797606d5896f305705f3c44c98 -SHA512 (dotnet-10.0.100.tar.gz.sig) = 5420412a9f8f7b89d9c4e84ca53fcf8ffa92099381a2eca5ac3b0c9270cea9b82a11169cd54a4d490c0484508c02752553da1d95d604ca458022733ac2ea2f5d +SHA512 (dotnet-10.0.101.tar.gz) = d9dd55d5ee23f356984e2edf5b075e76424ad9d91ce33aa923b9cd94bc0f2d612dee7b562dad266ceaca263f014f02a7507cd9066d9f2444cb3157e8d2824f6f +SHA512 (dotnet-10.0.101.tar.gz.sig) = 136970e2f8969ab06c09d87231a68be083aa44a4d358e6ac1a2bb3d75dfeea5a2ae1e51c0d80ddc0f2d8961bea3fa629ca35c02065bcefc2b9b9383c92a6345c diff --git a/update-release b/update-release index a881b27..5ed34a3 100755 --- a/update-release +++ b/update-release @@ -82,7 +82,7 @@ dotnet_major_minor_version=${dotnet_major_minor_version%.spec} echo "Updating .NET $dotnet_major_minor_version" -runtime_version=${positional_args[0]:-} +runtime_version=${positional_args[0]:-latest-release} sdk_version="" tag=v${runtime_version} created_release_json=0 From cefbf362fb54ac67f7effefca6eefaa51f11904e Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 14 Jan 2026 14:47:22 -0500 Subject: [PATCH 8/8] Update to .NET SDK 10.0.102 and Runtime 10.0.2 --- .gitignore | 2 ++ dotnet10.0.spec | 16 +++++++++------- release.json | 14 +++++++------- sources | 4 ++-- tests/ci.fmf | 6 ++++-- 5 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 7911be4..6c5a2a8 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,5 @@ /dotnet-10.0.100.tar.gz.sig /dotnet-10.0.101.tar.gz /dotnet-10.0.101.tar.gz.sig +/dotnet-10.0.102.tar.gz +/dotnet-10.0.102.tar.gz.sig diff --git a/dotnet10.0.spec b/dotnet10.0.spec index 954f441..4290827 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -14,13 +14,13 @@ # upstream can produce releases with a different tag than the SDK version #%%global upstream_tag v%%{runtime_version} -%global upstream_tag v10.0.101 +%global upstream_tag v10.0.102-sb1 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') %global hostfxr_version %{runtime_version} -%global runtime_version 10.0.1 -%global aspnetcore_runtime_version 10.0.1 -%global sdk_version 10.0.101 +%global runtime_version 10.0.2 +%global aspnetcore_runtime_version 10.0.2 +%global sdk_version 10.0.102 %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 }') @@ -83,8 +83,8 @@ License: 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APS 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 -Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-%{upstream_tag_without_v}.tar.gz.sig +Source0: https://github.com/dotnet/dotnet/archive/refs/tags/%{upstream_tag}.tar.gz#/dotnet-%{sdk_version}.tar.gz +Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-%{sdk_version}.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} @@ -699,7 +699,6 @@ find -depth -name 'artifacts' -type d -print -exec rm -rf {} \; ./build.sh \ --source-only \ --release-manifest %{SOURCE3} \ - --branding rtm \ %if %{without bootstrap} --with-sdk previously-built-dotnet \ %endif @@ -936,6 +935,9 @@ export COMPlus_LTTng=0 %changelog +* Tue Jan 13 2026 Omair Majid - 10.0.102-1 +- Update to .NET SDK 10.0.102 and Runtime 10.0.2 + * Wed Dec 10 2025 Omair Majid - 10.0.101-1 - Update to .NET SDK 10.0.101 and Runtime 10.0.1 diff --git a/release.json b/release.json index dbb5a24..6ab902c 100644 --- a/release.json +++ b/release.json @@ -1,11 +1,11 @@ { - "release": "10.0.1", + "release": "10.0.2", "channel": "10.0", - "tag": "v10.0.101", - "sdkVersion": "10.0.101", - "runtimeVersion": "10.0.1", - "aspNetCoreVersion": "10.0.1", + "tag": "v10.0.102-sb1", + "sdkVersion": "10.0.102", + "runtimeVersion": "10.0.2", + "aspNetCoreVersion": "10.0.2", "sourceRepository": "https://github.com/dotnet/dotnet", - "sourceVersion": "fad253f51b461736dfd3cd9c15977bb7493becef", - "officialBuildId": "20251119.5" + "sourceVersion": "1def04f336cc452f7633f2ef1f157669c37c283a", + "officialBuildId": "20260105.8" } diff --git a/sources b/sources index e600baa..a6b2b78 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (dotnet-10.0.101.tar.gz) = d9dd55d5ee23f356984e2edf5b075e76424ad9d91ce33aa923b9cd94bc0f2d612dee7b562dad266ceaca263f014f02a7507cd9066d9f2444cb3157e8d2824f6f -SHA512 (dotnet-10.0.101.tar.gz.sig) = 136970e2f8969ab06c09d87231a68be083aa44a4d358e6ac1a2bb3d75dfeea5a2ae1e51c0d80ddc0f2d8961bea3fa629ca35c02065bcefc2b9b9383c92a6345c +SHA512 (dotnet-10.0.102.tar.gz) = 6dfd36d64b51daf6bfd162a4dd436ab705dcbe6d6084607746c76b61b89926677d474ef4f6dae67fad93f03db0d304ff5260ac60c50dd6fe38326b74b2a282f6 +SHA512 (dotnet-10.0.102.tar.gz.sig) = dded7f84fdd73001211cc0f34d80ef28dfae3ffb3992942d1c8d99e7ad9250aac5ae03ef4afd58f9ea64b0afc8e6429703d0d3a777ec31523e74a3b2c5793809 diff --git a/tests/ci.fmf b/tests/ci.fmf index 3a7dcc7..1acb17c 100644 --- a/tests/ci.fmf +++ b/tests/ci.fmf @@ -1,7 +1,9 @@ summary: Basic smoke test provision: - disk: 20 - memory: 5120 + hardware: + disk: + - size: ">= 20 GiB" + memory: ">= 5120 MiB" prepare: how: install package: