From: Petr Bred
Date: Sun, 14 Oct 2018 08:16:18 +0000 (+0300)
Subject: Fix nuget logic
X-Git-Tag: submit/tizen/20181014.101412^0
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7df4991c8ee3c1cc97875aeb3ee5ae8e98ff38b6;p=sdk%2Ftools%2Fnetcoredbg.git
Fix nuget logic
Signed-off-by: Petr Bred
---
diff --git a/packaging/netcoredbg.spec b/packaging/netcoredbg.spec
index 13fb217..c5326f8 100644
--- a/packaging/netcoredbg.spec
+++ b/packaging/netcoredbg.spec
@@ -57,8 +57,8 @@ This is a CoreCLR debugger for Tizen.
gzip -dc %{SOURCE0} | tar -xvf -
cd netcoredbg
cp %{SOURCE1001} ..
-mkdir packaging/pkgs/
-ln -s /nuget packaging/pkgs/nuget
+mkdir -p packaging/pkgs/nuget
+cp -r /nuget/* packaging/pkgs/nuget/
export CSVER=$(ls /nuget/microsoft.codeanalysis.common.*.nupkg | sort -n | tail -1 | cut -d "." -f4-6)
@@ -90,7 +90,7 @@ cmake ../netcoredbg \
-DBUILD_MANAGED=OFF
make %{?jobs:-j%jobs}
-%dotnet_build -s ../netcoredbg/packaging/pkgs ../netcoredbg/src/debug/netcoredbg
+%dotnet_build -s / -s ../netcoredbg/packaging/pkgs ../netcoredbg/src/debug/netcoredbg
%install
cd build