[Fedora-packaging] Removing file from .spec

Thomas Janssen thomasj at fedoraproject.org
Thu Nov 5 06:55:25 UTC 2009

2009/11/5 Tareq Al Jurf <taljurf at fedoraproject.org>:
> I have a spec file for a program that i'm packaging
> i was told to remove the INSTALL document from %files
> when i do that i get
>> error: Installed (but unpackaged) file(s) found:
>>    /usr/share/doc/invulgotracker/
>>> RPM build errors:
>>>     Installed (but unpackaged) file(s) found:
>>>    /usr/share/doc/invulgotracker/INSTALL

Normal documentation is in %doc of your spec. Not in %files. So add it
to the %doc line or rm the file in %prep. Depends on what's in this

LG Thomas

Dubium sapientiae initium

More information about the Fedora-packaging mailing list