export NUGET_PACKAGES=%{_builddir}/%{name}-%{version}/.packages
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/libicu-57.1
-./build.sh --portablebuild=false -configuration %{_buildtype} -architecture %{_barch} /p:NeedsPublishing=true /p:EnableSourceLink=false /p:EnableSourceControlManagerQueries=false
+./build.sh --portablebuild=false -configuration %{_buildtype} -architecture %{_barch} -keepnativesymbols /p:NeedsPublishing=true /p:EnableSourceLink=false /p:EnableSourceControlManagerQueries=false
%install
%define diagnosticsdir %{_datadir}/dotnet/shared/Microsoft.NETCore.App/%{dotnet_version}/SOS