import dotnet5.0-5.0.205-2.el8_4

This commit is contained in:
CentOS Sources 2021-07-29 07:33:46 -04:00 committed by Andrew Lukoshko
parent adde01dba4
commit 97d88019a4
3 changed files with 12 additions and 8 deletions

View File

@ -1 +1 @@
67aeddf92407bc57d9b3398274b2cfe340446e04 SOURCES/dotnet-v5.0.205-SDK.tar.gz
82bc6f582cbc1d0fa2ffcf6608fadc5e2616a299 SOURCES/dotnet-v5.0.205.2-SDK.tar.gz

2
.gitignore vendored
View File

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

View File

@ -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}
%global src_version %{sdk_version}.2
%if 0%{?fedora} || 0%{?rhel} < 8
%global use_bundled_libunwind 0
@ -56,7 +56,7 @@
Name: dotnet5.0
Version: %{sdk_rpm_version}
Release: 1%{?dist}
Release: 2%{?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/dotnet-runtime.*/src/installer/corehost/cli/hostmisc/pal.unix.cpp
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/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/dotnet-runtime.*
pushd src/runtime.*
%patch100 -p1
popd
pushd src/dotnet-sdk.*
pushd src/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/dotnet-sdk.*/scripts/register-completions.bash %{buildroot}/%{_datadir}/bash-completion/completions/dotnet
install src/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 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
* Thu Jul 08 2021 Andrew Slice <andrew.slice@redhat.com> - 5.0.205-1
- Update to .NET SDK 5.0.205 and Runtime 5.0.8
- Added a patch to remove references to the tests directory from other patches.