Hi
Please check out [1] for a sample unified native/mingw spec with
autotools build. Specific remarks:
- Add %{?mingw_debug_package}
- Explicit BR on mingw-binutils probably unnecessary
- Try %global _configure ../configure instead of cloning the entire
source tree
- Add %mingw_debug_install_post
Sandro
[1]
https://src.fedoraproject.org/rpms/gtkspell3/blob/rawhide/f/gtkspell3.spec
On 21.08.23 15:17, Marián Konček wrote:
> I opened a PR adding mingw subpackages to libsodium according to my
> best knowledge (which is not too large related to mingw packaging):
>
https://src.fedoraproject.org/rpms/libsodium/pull-request/3
>
> I talked with the maintainer and it could be accepted, but I would
> like someone more experienced from
>
https://fedoraproject.org/wiki/MinGW to take a look and tell me if i
> missed some simplifications.
>
> Thanks.
>