"Must contain /" error when building SRPM for Epel 6

Chaoyi Zha cydrobolt at fedoraproject.org
Sat Jun 6 01:56:08 UTC 2015


Hey there,

I'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.

Here is the error I am getting:

RPM build errors:
     File must begin with "/": GPLv2+
     File must begin with "/": LICENSE

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:

https://github.com/fedora-infra/mote/blob/master/files/mote.spec

I don't know why it is not happening for F22 or EPEL 7, but it seems to
break the EPEL 6 build.

Any help would be appreciated.

Thanks,
Chaoyi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150606/08c5107a/attachment.html>


More information about the devel mailing list