Add NuGet.Config to root (/) path for global setting
authorWonYoung Choi <wy80.choi@samsung.com>
Tue, 4 Oct 2016 11:07:27 +0000 (20:07 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Tue, 4 Oct 2016 11:07:27 +0000 (20:07 +0900)
Change-Id: I5e9bc4f0afe37afec04d46076c7ffb75af9e9c8c

packaging/dotnet-build-tools.spec

index 981af69..c84c2c7 100644 (file)
@@ -27,6 +27,7 @@ C# Deivce API with xbuild in GBS environment.
 mkdir -p %{buildroot}%{NuGetDir}
 mkdir -p %{buildroot}%{_bindir}
 install -p -m 755 tools/nuget/* %{buildroot}%{NuGetDir}
+install -p -m 644 tools/nuget/NuGet.Config %{buildroot}
 ln -s %{NuGetDir}/nuget %{buildroot}%{_bindir}/nuget
 ln -s %{NuGetDir}/NuGet.exe %{buildroot}%{_bindir}/nuget.exe
 
@@ -63,3 +64,4 @@ install -p -m 644 tasks/GBS/* %{buildroot}%{TargetDir}
 %{XBuildDir}/*
 %{_datadir}/dotnet-gbs/*
 /nuget/*.nupkg
+/NuGet.Config