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.
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.
On Mon, Aug 21, 2023 at 03:17:21PM +0200, 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.
The main item I see missing is conditionalization of the sub-packages, which is important for anyone wanting to rebuild the same spec on RHEL/EPEL where most of mingw is not present.
https://docs.fedoraproject.org/en-US/packaging-guidelines/MinGW/#_disabling_...
With regards, Daniel