you have to set sourcerpm else createrepo will not work