On Tue, Sep 15, 2015 at 2:41 PM, Richard Shaw <hobbes1...@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
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to