[Mageia-sysadm] Seems bs got a little broken by the changes for tainted...
Christiaan Welvaart
cjw at daneel.dyndns.org
Mon May 30 10:36:27 CEST 2011
On Mon, 30 May 2011, Thomas Backlund wrote:
> the last rpms have dual dots after .mga1
>
> And this does not happend on local build...
This is likely because mkrel adds a dot even if %distro_section is defined
as %nil (but not when it is undefined). Below an example of how to fix it
in mkrel. I'm not a rpm macro guru so maybe it can be improved.
%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release}%([ -n "%{?distro_section}" ] && echo -n ".")%{?distro_section}
Christiaan
More information about the Mageia-sysadm
mailing list