SPECS: privoxy.spec - up to 3.0.10 - not defined %_docdir issue

Tomasz Wittner tomasz.wittner at gmail.com
Sun Oct 12 23:23:44 CEST 2008


On Sunday 12 of October 2008, 19:15, twittner wrote:
> Author: twittner                     Date: Sun Oct 12 17:15:39 2008 GMT
> Module: SPECS                         Tag: HEAD
[...]
> - rel. 0.1 - rpm -E '%_docdir' shows that this macro is not defined
1. Ditto:
$ rpm -E '%_docdir'
%_docdir

$ q rpm-build-macros
rpm-build-macros-0:1.478-1 noarch th-x86-64.pld-linux.org
What should be fixed?

2. Why %doc macro puts documentation files 
in /usr/share/doc/%{name}-%{version} directory instead 
of /usr/share/doc/%{name} ?
What we gain by adding -%{version} to directory name? (my answer: nothing but 
unnecessary troubles).Many programs expects that their documentation is 
located 
in /usr/share/doc/%{name} - privoxy, fluid from fltk-devel are good examples.

-- 
Tomasz Wittner


More information about the pld-devel-en mailing list