From e0cb209bffd2f617c1ffd572767a93d1916fc64d Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Tue, 12 Dec 2023 15:15:45 -0500 Subject: [PATCH] Don't modify apphost hardcoded path Instead, rely on the path being set through /etc/dotnet/install_location. For more details, see https://github.com/dotnet/designs/blob/main/accepted/2020/install-locations.md --- dotnet8.0.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/dotnet8.0.spec b/dotnet8.0.spec index 30817bf..23fc804 100644 --- a/dotnet8.0.spec +++ b/dotnet8.0.spec @@ -429,9 +429,6 @@ popd %autopatch -p1 -M 999 -# Fix bad hardcoded path in build -sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/runtime/src/native/corehost/hostmisc/pal.unix.cpp - %if ! %{use_bundled_libunwind} sed -i -E 's|( /p:BuildDebPackage=false)|\1 --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' src/runtime/eng/SourceBuild.props %endif