<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 23, 2015 at 9:16 PM, Taylor Braun-Jones <span dir="ltr"><<a href="mailto:taylor@braun-jones.org" target="_blank">taylor@braun-jones.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>To get the file name to match what the spec expected, I just had to:</div><div><br></div><div>mv SOURCES/kernel-rt-3.10.0-229.rt56.141.el7{,.centos}.tar.xz</div></blockquote></div><br>Actually, renaming the file didn't quite work. What did work was using --define "dist .el7" like so:</div><div class="gmail_extra"><br></div><div class="gmail_extra">rpmbuild --nodeps --define "%_topdir `pwd`" --define "dist .el7" -bs SPECS/kernel-rt.spec<br></div><div class="gmail_extra">mock -r epel-7-x86_64 --define "dist .el7" --rebuild SRPMS/kernel-rt-3.10.0-229.rt56.141.el7.src.rpm<br></div></div>