How to test if the build distribution is Mageia?
I would like to build Vim packages for Mageia, but some parts of my spec file (which I am also using for building packages for CentOS, Fedora, openSUSE, RHEL and Scientific Linux) are dependent on the build target (i.e., the distribution the package is being built for). Is there some tag I can use to determine, in a conditional, whether the build system is Mageia? I have used the conditional:
... (do what I want to do for Mageia)
... (do what I want to do for non-Mageia systems)
but neither managed to detect whether the build system was Mageia.
Thanks for your time,
Brenton Horne: Linux enthusiast and writer of The Hornery.
Five favourite distros: Arch Linux, Fedora, openSUSE Tumbleweed, Sabayon Linux and Ubuntu.