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 (without an upgrade path back to the supported verison of this subpackage). Resolves: RHEL-111815
This commit is contained in:
parent
ad5e9f4ea4
commit
5ccbd549eb
@ -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.6%{?dist}
|
||||
Release: 0.7%{?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 %{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
|
||||
@ -799,10 +795,10 @@ 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
|
||||
|
||||
rm -r %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0
|
||||
|
||||
|
||||
|
||||
%check
|
||||
@ -903,6 +899,10 @@ export COMPlus_LTTng=0
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 04 2025 Omair Majid <omajid@redhat.com> - 10.0.100~preview.6.25358.103-0.7
|
||||
- Drop netstandard-targeting-pack-2.1
|
||||
- Resolves: RHEL-111815
|
||||
|
||||
* Thu Aug 07 2025 Omair Majid <omajid@redhat.com> - 10.0.100~preview.6.25358.103-0.6
|
||||
- Disable bootstrap
|
||||
- Resolves: RHEL-98674
|
||||
|
||||
Loading…
Reference in New Issue
Block a user