Re: %doc removal behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux