From 6b71f79f221555f06f748bbb9e5409df7d2aa978 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 4 Sep 2025 18:04:21 -0400 Subject: [PATCH] Drop netstandard-targeting-pack-2.1 It's being removed by upstream in RC 1. See https://github.com/dotnet/source-build/issues/5324. Remove it from RHEL early, so we never provide this from dotnet10.0. Otherwise, users will not have an upgrade path back to the supported verison of this subpackage (provided by dotnet9.0). Related: RHEL-98678 --- dotnet10.0.spec | 17 +++++++++-------- sources | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/dotnet10.0.spec b/dotnet10.0.spec index f17dbd2..63a75df 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -9,7 +9,7 @@ %global dotnetver 10.0 # Only the package for the latest dotnet version should provide RPMs like -# dotnet-host and netstandard-targeting-pack-2.1 +# dotnet-host %global is_latest_dotnet 1 # upstream can produce releases with a different tag than the SDK version @@ -77,7 +77,7 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 0.7%{?dist} +Release: 0.8%{?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 @@ -372,7 +372,6 @@ Requires: aspnetcore-runtime-%{dotnetver}%{?_isa} >= %{aspnetcore_runtime_ Requires: dotnet-apphost-pack-%{dotnetver}%{?_isa} >= %{runtime_rpm_version}-%{release} Requires: dotnet-targeting-pack-%{dotnetver}%{?_isa} >= %{runtime_rpm_version}-%{release} Requires: aspnetcore-targeting-pack-%{dotnetver}%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release} -Requires: netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release} Requires: dotnet-templates-%{dotnetver}%{?_isa} >= %{sdk_rpm_version}-%{release} @@ -439,9 +438,6 @@ applications using the .NET SDK. %dotnet_targeting_pack dotnet-apphost-pack-%{dotnetver} %{runtime_rpm_version} Microsoft.NETCore.App %{dotnetver} Microsoft.NETCore.App.Host.%{runtime_id} %dotnet_targeting_pack dotnet-targeting-pack-%{dotnetver} %{runtime_rpm_version} Microsoft.NETCore.App.Ref %{dotnetver} Microsoft.NETCore.App.Ref %dotnet_targeting_pack aspnetcore-targeting-pack-%{dotnetver} %{aspnetcore_runtime_rpm_version} Microsoft.AspNetCore.App %{dotnetver} Microsoft.AspNetCore.App.Ref -%if %{is_latest_dotnet} -%dotnet_targeting_pack netstandard-targeting-pack-2.1 %{sdk_rpm_version} NETStandard.Library 2.1 NETStandard.Library.Ref -%endif %package -n dotnet-sdk-%{dotnetver}-source-built-artifacts @@ -810,10 +806,11 @@ find %{buildroot}%{_libdir}/dotnet/sdk -type f -name '*.pdb' | sed -E 's|%{buil rm %{buildroot}%{_libdir}/dotnet/LICENSE.txt rm %{buildroot}%{_libdir}/dotnet/ThirdPartyNotices.txt rm %{buildroot}%{_libdir}/dotnet/dotnet -# Provided by netstandard-targeting-pack-2.1 from another SRPM -rm -rf %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0 %endif +# Removed by upstream in .NET 10 RC 1 +rm -r %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/ + %check @@ -913,6 +910,10 @@ export COMPlus_LTTng=0 %changelog +* Thu Sep 04 2025 Omair Majid - 10.0.100~preview.7.25380.108-0.8 +- Drop netstandard-targeting-pack-2.1 +- Related: RHEL-98678 + * Sat Aug 23 2025 Omair Majid - 10.0.100~preview.7.25380.108-0.7 - Update to .NET 10 Preview 7 - Related: RHEL-98678 diff --git a/sources b/sources index 13ecfbc..79a2227 100644 --- a/sources +++ b/sources @@ -1,6 +1,6 @@ SHA512 (dotnet-10.0.100-preview.7.25380.108.tar.gz) = b184ee69be14d98ed7c1bb4533b80f17f068460768359686c76c158a6751a36d4b2d5650d3cf4d54d300c42850d7e1400ed7ebfce86471742c1782748d2b89ec SHA512 (dotnet-10.0.100-preview.7.25380.108.tar.gz.sig) = 4bbe073298bcd2e39a01bb8a441d6a0b7072e8d5f2fb341a31999be44218cd5b1cfd748f0372162c1813e651b895afccd04248e6e54c4f397910175233d94645 -SHA512 (dotnet-prebuilts-10.0.100-preview.7.25322.101-arm64.tar.gz) = dbdae008f37dc6e9f17442d91c1713ab6bcd8378657135ae34544a569c211c93124e16df04498d508e54c564c9aeee67af7768e45ae305aa8289b7b6650536a9 SHA512 (dotnet-prebuilts-10.0.100-preview.7.25322.101-x64.tar.gz) = 0416ebb4d413352ec0573e50d9be2180f52c0716ed3dce780b741322276ef69a485a8b969fb8ced75b0019587cee4b12972a75c58626997fb146aa8d30dd6048 +SHA512 (dotnet-prebuilts-10.0.100-preview.7.25322.101-arm64.tar.gz) = dbdae008f37dc6e9f17442d91c1713ab6bcd8378657135ae34544a569c211c93124e16df04498d508e54c564c9aeee67af7768e45ae305aa8289b7b6650536a9 SHA512 (dotnet-prebuilts-10.0.100-preview.7.25380.108-ppc64le.tar.gz) = 85ba57a93596e2ed0b655b076513f512e5e43004f4cd09c5a5a0579856b2c870a88f26d2ea31017096df6234e5bb51f53c49e6f1ea272cab4dc2011d21fbe68c SHA512 (dotnet-prebuilts-10.0.100-preview.7.25380.108-s390x.tar.gz) = f297e251c22ee692ba7d02166486bae905b92031e2c0641ab62eace3ac2851fac23f45ba2b26865137346e75363571bf2a22a4b2cc8a81f806e5ef35f03f4f1b