import dotnet5.0-5.0.206-1.el8_4

This commit is contained in:
CentOS Sources 2021-08-12 02:33:41 -04:00 committed by Andrew Lukoshko
parent 97d88019a4
commit 4adce24497
3 changed files with 15 additions and 11 deletions

View File

@ -1 +1 @@
82bc6f582cbc1d0fa2ffcf6608fadc5e2616a299 SOURCES/dotnet-v5.0.205.2-SDK.tar.gz
957f4ce0a0d13721d85cc51b0392942ff3af6c87 SOURCES/dotnet-v5.0.206-SDK.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/dotnet-v5.0.205.2-SDK.tar.gz
SOURCES/dotnet-v5.0.206-SDK.tar.gz

View File

@ -20,10 +20,10 @@
# until that's done, disable LTO. This has to happen before setting the flags below.
%define _lto_cflags %{nil}
%global host_version 5.0.8
%global runtime_version 5.0.8
%global host_version 5.0.9
%global runtime_version 5.0.9
%global aspnetcore_runtime_version %{runtime_version}
%global sdk_version 5.0.205
%global sdk_version 5.0.206
%global templates_version %{runtime_version}
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
@ -33,7 +33,7 @@
%global sdk_rpm_version %{sdk_version}
# upstream can update releases without revving the SDK version so these don't always match
%global src_version %{sdk_version}.2
%global src_version %{sdk_version}
%if 0%{?fedora} || 0%{?rhel} < 8
%global use_bundled_libunwind 0
@ -56,7 +56,7 @@
Name: dotnet5.0
Version: %{sdk_rpm_version}
Release: 2%{?dist}
Release: 1%{?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/
@ -333,7 +333,7 @@ ln -s %{_libdir}/dotnet/reference-packages/Private.SourceBuild.ReferencePackages
%endif
# Fix bad hardcoded path in build
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/runtime.*/src/installer/corehost/cli/hostmisc/pal.unix.cpp
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/dotnet-runtime.*/src/installer/corehost/cli/hostmisc/pal.unix.cpp
# Disable warnings
sed -i 's|skiptests|skiptests ignorewarnings|' repos/runtime.common.props
@ -341,11 +341,11 @@ sed -i 's|skiptests|skiptests ignorewarnings|' repos/runtime.common.props
%patch1 -p1
%patch2 -p1
pushd src/runtime.*
pushd src/dotnet-runtime.*
%patch100 -p1
popd
pushd src/sdk.*
pushd src/dotnet-sdk.*
%patch500 -p1
popd
@ -452,7 +452,7 @@ install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
install -dm 0755 %{buildroot}/%{_datadir}/bash-completion/completions
# dynamic completion needs the file to be named the same as the base command
install src/sdk.*/scripts/register-completions.bash %{buildroot}/%{_datadir}/bash-completion/completions/dotnet
install src/dotnet-sdk.*/scripts/register-completions.bash %{buildroot}/%{_datadir}/bash-completion/completions/dotnet
# TODO: the zsh completion script needs to be ported to use #compdef
#install -dm 755 %%{buildroot}/%%{_datadir}/zsh/site-functions
@ -529,6 +529,10 @@ echo "Testing build results for debug symbols..."
%changelog
* Fri Aug 06 2021 Omair Majid <omajid@redhat.com> - 5.0.206-1
- Update to .NET SDK 5.0.206 and Runtime 5.0.9
- Resolves: RHBZ#1990965
* Fri Jul 23 2021 Omair Majid <omajid@redhat.com> - 5.0.205-2
- Update to new upstream release for .NET SDK 5.0.205 and Runtime 5.0.8
- Resolves: RHBZ#1985446