Change-Id: I3fc8d280626880906812321fcabd15d9f583a8fe
BuildRequires: patchelf
Requires: corefx-managed-ref
+Requires: libicu
%description
-Build target files (.Targets) and Tools (including NuGet.exe) for building
-C# Deivce API with xbuild in GBS environment.
+Provides dotnet-sdk for GBS environment
%define TOOLS_PATH /usr/share/dotnet-build-tools
%define CLI_PATH %{TOOLS_PATH}/cli
%build
# Prepare dotnet-cli
+%ifnarch x86_64
for file in $( find ./dotnet -name "dotnet" -type f )
do
patchelf --set-interpreter %{CLI_PATH}/deps/ld-linux-x86-64.so.2 ${file}
do
patchelf --set-rpath %{CLI_PATH}/deps/ ${file}
done
+%endif
# overrides
cp -f overrides/Microsoft.Build.Tasks.Core.dll dotnet/sdk/*/Microsoft.Build.Tasks.Core.dll