Support numeric expansion in rpm.expandMacro()