On 8 August 2013 16:03, Michael J Gruber <michaeljgruber+fedora-lists@gmail.com> wrote:
Building an F20 (master) package on F18 does not work, then, even with
the proposed conditional %{_pkgdocdir}. Wouldn't a conditional based on
the Fedora version be a much more robust suggestion to deal with this?

I've personally changed my packages to always pull docs with the %doc directive in the %files section, but I don't know if that's feasible enough for all cases. So far it worked for me; the same spec file works across el6, f18, f19 and f20.

Regards,
--Simone

--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/