fixing createrepo requirement
(cherry picked from commit 95f58c3254a1284a58f488e3e6ce98ec56b183c1)
Merge pull request #2266 from jlsherrill/spec_fix

fixing createrepo requirement