https://bugzilla.redhat.com/show_bug.cgi?id=1802803
--- Comment #5 from Michael Cronenworth <mike(a)cchtml.com> ---
(In reply to Omair Majid from comment #4)
%files -n dotnet-host
%dir %{_libdir}/dotnet
And dotnet-host needs to be installed for any other subpackage in this
package to be installed. Can you help me figure out what other subpackage
needs to own /usr/lib64/dotnet?
You're right. I missed that %files line. No need to fix anything here.
fedora-review didn't catch it.
> - nethost.h is installed. Is it required for the runtime to run?
It should
> go into a -devel subpackage, ideally.
Supposedly, it's part of the runtime, since it is placed under
`/usr/lib64/dotnet/shared/`, and `shared` is just a short form of "Shared
Framework" aka "Runtime". I dont think the runtime itself requires it. It
sounds like this is a way to host the .NET Core runtime
(
https://docs.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting) in
a native application. If this is the only file, does it still make sense to
put it in a separate -devel package?
If it is not in use by the runtime then yes a -devel package is required by the
guidelines.
> -
> /usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.1.1/System.Security.
> Cryptography.Native.OpenSsl.a - is this static library necessary for the
> runtime to run? It needs to either be removed or go into a -static
> subpackage if it is not necessary.
This is a bit complicated and even upstream doesn't have a very good handle
on it:
https://github.com/dotnet/runtime/issues/3447. As I understand it,
some types of .NET applications require (or will require) the static
libraries (at build-time?).
Perhaps I should create a dotnet-runtime-3.1-devel subpackage and put the .h
and .a files in it? I wonder what impact that might have if the files are
not present and the user tries to build applications...
Looks like they are leaning to remove static libs.
Would a C header and a static library be necessary to build a C# app?
--
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