Packaging guidelines for documentation clairfication needed

Richard Shaw hobbes1069 at gmail.com
Tue Sep 15 20:29:36 UTC 2015


On Tue, Sep 15, 2015 at 2:41 PM, Richard Shaw <hobbes1069 at gmail.com> wrote:

> The other option being to move the documentation back to %buildroot and
> use relative paths...
>

Responding to myself here... That doesn't work because if I use the %doc
method in the doc subpackage then the files get installed to:
%{_docdir}/%{name}-doc/html

which is ridiculous, so I'm forced to use the other method.

I also use a conditional for %license for backwards compatibility:
%if 0%{?rhel} < 7 || 0%{?fedora} < 21
%doc COPYING
%else
%license COPYING
%endif

which will have to be updated to absolute paths... Ugh...

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150915/a7239d8e/attachment.html>


More information about the devel mailing list