Commit f8e078bc authored by Rocky Automation's avatar Rocky Automation 📺
Browse files

import dotnet5.0-5.0.205-2.el8_4

parent 76068413
67aeddf92407bc57d9b3398274b2cfe340446e04 SOURCES/dotnet-v5.0.205-SDK.tar.gz
82bc6f582cbc1d0fa2ffcf6608fadc5e2616a299 SOURCES/dotnet-v5.0.205.2-SDK.tar.gz
SOURCES/dotnet-v5.0.205-SDK.tar.gz
SOURCES/dotnet-v5.0.205.2-SDK.tar.gz
......@@ -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}.rocky.1
Release: 2%{?dist}.rocky.1
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/
......@@ -334,7 +334,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
......@@ -342,11 +342,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
......@@ -454,7 +454,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
......@@ -531,9 +531,13 @@ echo "Testing build results for debug symbols..."
%changelog
* Fri Jul 16 2021 Release Engineering <releng@rockylinux.org> - 5.0.205-1.rocky.1
* Thu Jul 29 2021 Release Engineering <releng@rockylinux.org> - 5.0.205-2.rocky.1
- Add Rocky Linux specific changes
* 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment