From: Mikhail Kurinnoi Date: Fri, 30 Sep 2022 10:20:38 +0000 (+0300) Subject: [Tizen] Remove system DLLs from tools rpm. X-Git-Tag: accepted/tizen/unified/riscv/20231226.055542~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae360267d6efea8ac3f6281e32fc2a420941d7ca;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git [Tizen] Remove system DLLs from tools rpm. --- diff --git a/packaging/coreclr-diagnostics.spec b/packaging/coreclr-diagnostics.spec index 2de063ebc..d9946528f 100755 --- a/packaging/coreclr-diagnostics.spec +++ b/packaging/coreclr-diagnostics.spec @@ -212,6 +212,11 @@ for name in counters dump gcdump stack trace; do cp -f %{_artifacts}/dotnet-${name}/%{_buildtype}/netcoreapp*/publish/*.dll %{buildroot}%{toolsdir} done cp -f %{_artifacts}/dotnet-dump/%{_buildtype}/netcoreapp*/publish/*/sosdocsunix.txt %{buildroot}%{toolsdir} +# remove CoreCLR system DLLs +rm -f %{buildroot}%{toolsdir}/System.Collections.Immutable.dll +rm -f %{buildroot}%{toolsdir}/System.Reflection.Metadata.dll +rm -f %{buildroot}%{toolsdir}/System.Runtime.CompilerServices.Unsafe.dll + %files %manifest %{name}.manifest