This enhancement bug filing is to provide a patch to mageia-release that generates a /usr/lib/rpm/macros.d/macros.dist file that provides the following macros: * %{dist}, defined as .mga6 * %{mageia}, defined as 6 * %{mga6}, defined as 1 These are "generic" comparisons that are globally useful for version checks or whatnot. Reproducible: Steps to Reproduce:
Created attachment 7124 [details] Patch to generate a dist.macros file and add to mageia-release-common Patch attached
Note that the macros are dynamically generated at build time to match the Mageia version targeted. It just so happens that Cauldron is representing Mageia 6 at the moment. :)
Fixed in SVN
Status: NEW => RESOLVEDResolution: (none) => FIXED