automatically include files in %doc only if they are not empty

Till Maas opensource at till.name
Thu Nov 27 11:55:07 UTC 2008


Hiyas,

on a package I recently packaged for Fedora, there is an empty TODO file 
included. Is there an easy way to mark this file in %files to be included 
only if it is not empty? This would make it easier to not forget to add the 
file in case it will be filed with some contents in a future release.

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20081127/244b4293/attachment.bin 


More information about the devel mailing list