<div dir="ltr">Hey there,<div><br></div><div>I&#39;m trying to create an RPM for a package I am trying to build, however, it does not succeed on EPEL 6. The SRPM builds for F22, EPEL 7, F21, however, it does not build correctly for EPEL 6. </div><div><br></div><div>Here is the error I am getting:</div><div><br></div><div><div>RPM build errors:</div><div>     File must begin with &quot;/&quot;: GPLv2+</div><div>     File must begin with &quot;/&quot;: LICENSE</div></div><div><br></div><div>This occurs when mock tries to process the %doc and %license sections of the SPEC. This only occurs when building for EPEL 6. Here is the link to the SPEC: </div><div><br></div><div><a href="https://github.com/fedora-infra/mote/blob/master/files/mote.spec">https://github.com/fedora-infra/mote/blob/master/files/mote.spec</a><br></div><div><br></div><div>I don&#39;t know why it is not happening for F22 or EPEL 7, but it seems to break the EPEL 6 build. </div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks,</div><div>Chaoyi</div></div>