diff --git a/dotnet5.0.spec b/dotnet5.0.spec index 91a080233f570d393ff193ef56110e79966e7a36..ceb46267e60ded5093b5112e632445196fcb4960 100644 --- a/dotnet5.0.spec +++ b/dotnet5.0.spec @@ -1,3 +1,5 @@ +%define anolis_os_version %(source /etc/os-release; echo ${VERSION}) +%define anolis_release .0.1 %bcond_with bootstrap # Avoid provides/requires from private libraries @@ -52,11 +54,12 @@ %global runtime_arch arm64 %endif +%global runtime_id anolis.%{anolis_os_version}-%{runtime_arch} %{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}} Name: dotnet5.0 Version: %{sdk_rpm_version} -Release: 1%{?dist} +Release: 1%{anolis_release}%{?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/ @@ -516,6 +519,9 @@ rm -rf %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0 %changelog +* Thu Feb 10 2022 Ma Hailiang - 5.0.211-1.0.1 +- Fix sdk suffix for Anolis OS + * Fri Jan 28 2022 Omair Majid - 5.0.211-1 - Update to .NET SDK 5.0.211 and Runtime 5.0.14 - Resolves: RHBZ#2047767