https://bugzilla.redhat.com/show_bug.cgi?id=2114685
Salman Butt <cn137(a)protonmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cn137(a)protonmail.com
--- Comment #2 from Salman Butt <cn137(a)protonmail.com> ---
UNOFFICIAL REVIEW / RECOMMENDATION
----------------------------
Please see
https://blog.bigfont.ca/dotnet-restore-without-an-internet-connection/
for information on building without a network connection
Spec File Additions: (VERSION = needs to be replaced with number)
# Macro defs for dotnet builds
%global __dotnet_publish_dest %{_builddir}/__publish
%define __dotnet_build() \
/usr/bin/dotnet restore --source %{1} \
/usr/bin/dotnet publish --no-restore -o %{__dotnet_publish_dest}
BuildRequires: dotnet-sdk-VERSION
BuildRequires: systemd
Requires: dotnet-runtime-VERSION
Requires: aspnetcore-runtime-VERSION
%build
#dotnet restore --source .nuget/packages
#dotnet publish --no-restore
%__dotnet_build .nuget/packages
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2114685