На 20.11.2014 в 12:55, Michael Schwendt написа:
> %dir %{_docdir}/%{name}-%{version}
> %doc %{_docdir}/%{name}-%{version}/some_file
>
> or
>
> %doc %{_docdir}/%{name}-%{version}
>
> in their spec files.
They do that so the directory gets _removed_ when *uninstalling* the package.
Did you test that case, too?
Are you completely sure?
alsa-lib does specify:
%doc COPYING TODO
without the name-version directory and that directory IS removed when `yum
remove alsa-libs'.
--
Alex