[Fedora-packaging] Packaging of /usr/share/doc/{%name}-{%version} directories not 100% clear

Alexander Todorov atodorov at redhat.com
Thu Nov 20 11:03:24 UTC 2014


На 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



More information about the packaging mailing list