Fix enabling features in RPMs

fixes #7510