#294 Updated MinGW Packaging Guidelines
Closed: Fixed None Opened 6 years ago by epienbro.


We (the Fedora MinGW SIG) have just prepared an updated set of packaging guidelines for our mingw packages. Could you please review and approve our updated packaging guidelines?

The draft packaging guidelines can be found at https://fedoraproject.org/wiki/PackagingDrafts/MinGWCrossCompiler
The diff against the current MinGW packaging guidelines can be found at https://fedoraproject.org/w/index.php?title=PackagingDrafts%2FMinGWCrossCompiler&diff=337954&oldid=302743

The following changes are done in the updated packaging guidelines:
1. Removed all references to %mingw_make_install as it shouldn't be used any more
2. Removed the Group tag as it isn't needed any more according to http://fedoraproject.org/wiki/Packaging/Guidelines#Group_tag
3. Added RPM macros for cross-compiling Qt4 and Qt5 based libraries/applications (%mingw{,32,64}-qmake-qt{4,5})
4. Added a column to various tables to indicate in which version of mingw-filesystem the RPM macro in question was added
5. Make it more clear that packages don't need to BuildRequires: mingw-filesystem (as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=895566)
6. Added a section explaining what to do with executables
7. Replaced the section about man/info pages with a more generic section about files which shouldn't be bundled when they are already part of native packages
7a. autoconf macro files shouldn't be bundled in mingw packages any more


Draft + "Executables which are required for proper functionality of the libraries must be packaged in the matching mingw32/mingw64 subpackage. All other executables are discouraged, but may be packaged in optional (dependent) subpackages at a packager's discretion." passes (+1:5, 0:0, -1:1)

Announcement text:

Several changes have been made to the MinGW packaging guidelines to reflect new macros and changes to accepted practice: https://fedoraproject.org/wiki/Packaging:MinGW

Metadata Update from @tibbs:
- Issue assigned to tibbs

2 years ago

Login to comment on this ticket.