* Dmitriy Perlow <dap@open.by> [2014-05-18 14:03]:
Johannes Kastl <mail@ojkastl.de> Sun, 18 May 2014 14:43:33 +0300:
Hi everybody,
Hello!
I tried to compile lxc with the original spec, that is being delivered from upstream. Some changes in the BuildRequires (package names etc.), but then it compiles.
That is, up to the point where some files/directories are not owned by any package. The original spec's file section contains:
%{_datadir}/doc/* %{_datadir}/lxc/*
doc and lxc directories content is owned but not directories.
As soon as I change this to the following, it compiles alright.
%{_datadir}/doc/ %{_datadir}/lxc/
doc and lxc directories content is owned and directories too.
It is a good idea for lxc but package should not own anything from filesystem package and %{_datadir}/doc is there. So the correct should be %{_datadir}/lxc %{_datadir}/doc/lxcsubdir1 %{_datadir}/doc/lxcsubdir2 etc.
Moreover, documentation belongs into %_defaultdocdir/<packagename> on openSUSE which expands to /usr/share/doc/packages/<packagename> and not /usr/share/doc/<packagename>. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org