some fixing to be conform with mageia standards.