From b9e285d220d38729101bed96ed18f20be8d3d0ad Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 21 Jan 2021 18:53:18 -0500 Subject: [PATCH] Fix non-bootstrap build on aarch64 --- dotnet5.0.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dotnet5.0.spec b/dotnet5.0.spec index bd6c36e..7bccb47 100644 --- a/dotnet5.0.spec +++ b/dotnet5.0.spec @@ -360,6 +360,13 @@ pushd src/sdk.* %patch500 -p1 popd +%if %{without bootstrap} +%ifnarch x86_64 +mkdir -p artifacts/obj/%{runtime_arch}/Release +cp artifacts/obj/x64/Release/PackageVersions.props artifacts/obj/%{runtime_arch}/Release/PackageVersions.props +%endif +%endif + cat source-build-info.txt find -iname 'nuget.config' -exec echo {}: \; -exec cat {} \; -exec echo \;