https://bugzilla.redhat.com/show_bug.cgi?id=2114685

Salman Butt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #2 from Salman Butt <[email protected]> ---
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
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to