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.

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to