all: refactor creation of xxxConfig
cmd-self-upload-rpm: cosmetics