[Fedora-packaging] %doc removal behavior
Braden McDaniel
braden at endoframe.com
Thu Oct 15 06:13:29 UTC 2009
On Thu, 2009-10-15 at 00:07 +0300, Jussi Lehtola wrote:
> On Wed, 2009-10-14 at 15:36 -0400, Braden McDaniel wrote:
> > On 10/14/09 5:38 AM, Jussi Lehtola wrote:
> > > Just use %doc to place the files in %{_docdir}, e.g.
> > > %doc doc/*
> >
> > The problem with that is that it does *not* put the files in %{_docdir}
> > when it is used for a subpackage. Instead, the files are put in
> > /usr/share/doc/subpackagename-%{version}. I don't want that.
>
> Sorry, I must have misread your question.
>
> If you only use %docs with absolute paths, then rpm doesn't seem to
> remove %{_docdir}. If you use paths relative to the builddir, then rm
> -rf is run.
Ah, lovely. Thanks.
> PS. This list is actually off-topic for this kind of discussion, next
> time mail fedora-devel-list instead.
I'm sorry. I wasn't sure if this was exclusively for policy discussion;
and a look at previous traffic here didn't make it obvious. But I'll
direct future queries of this sort to fedora-devel-list.
--
Braden McDaniel <braden at endoframe.com>
More information about the Fedora-packaging
mailing list