[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Howto use %exclude with %doc files



Hi all,

I was in #rpm yesterday asking how to use %exclude with %doc files and
from the information that jasonc gave me (thanks!) it seems I'll need to
do this manually. Just checking in to see if anyone else has any
suggestions. Basically what I would like to do is:

%files
%doc README-*
%exclude README-package.txt

%files package
%doc README-package.txt

This does not work. Google had several examples with %exclude but they
all use non %doc files. Does anyone know how to handle this other than
manually listing the files in the %doc section?

Thanks,
Patrick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]