[Tizen] Remove system DLLs from tools rpm.
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>
Fri, 30 Sep 2022 10:20:38 +0000 (13:20 +0300)
committerMikhail Kurinnoi <m.kurinnoi@samsung.com>
Fri, 30 Sep 2022 10:20:38 +0000 (13:20 +0300)
packaging/coreclr-diagnostics.spec

index 2de063ebc1d18d6d551469ef0ab2ea0bf175c71b..d9946528ffb88eaa26cca4ae2ef2590f78f1ef94 100755 (executable)
@@ -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