Orion Poplawski wrote:
Where is the appropriate place to put documentation that a package will install during %install in the location specified by --docdir? I've tried using %{_docdir}/%{name}-%{version}, but the %doc macro will clean out that directory before copying over any files listed, wiping out anything installed during %install.
It's an either/or thing. You either let %install put the stuff in %{_docdir}/%{name}-%{version} *or* you do it manually with %doc.
If you want/need stuff done in %install, you need to put it somewhere else.
-- Rex