Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=491317
--- Comment #19 from Erik van Pienbroek erik-fedora@vanpienbroek.nl 2009-06-19 12:18:18 EDT --- (In reply to comment #17)
the other reason for these much comment because as we discussed earlier and as i wrote in http://fedoraproject.org/wiki/MinGW/Packaging_issues#devel_package_split if we start to create static sub-packages then we've to rethink the packaging to create devel subpackages similar to the native case. mainly in this case as there're binaries in the main packages not just dlls.
Yeah, this is an issue which should probably be brought up on the mailing list so we can decide which direction we want to go with subpackages. The question which type of executables are allowed also needs to be discussed there as win32 applications aren't really welcome in Fedora (only libraries).
I had one remaining question: - Why are the binaries split across two packages?
To comply with the Fedora packaging guidelines, the %define's at the top of the .spec file need to be changed to %global's as mentioned in http://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_over_... It's okay to just replace all occurences of '%define' with '%global'
In the latest .spec (0.10.23-1) you've added %{_mingw32_libdir}/*.a to the -static subpackage. The *.a also catches the .dll.a files while those should be in the main package. -> All the *.dll.a files need to be part of the main package -> All the *.a (NOT *.dll.a) files need to be part of the -static subpackage