[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: still confusion with the %doc directive in a spec file
- From: Giulio Orsero <giulioo tiscalinet it>
- To: rpm-list redhat com
- Subject: Re: still confusion with the %doc directive in a spec file
- Date: Mon, 31 Dec 2001 10:56:34 +0100
On Mon, 31 Dec 2001 04:41:38 -0500 (EST), you wrote:
> first, even though i've defined:
> BuildRoot: %{_tmppath}/${name}-root
>if i try to use a shortcut in the %files section of
> %doc README ChangeLog (etc etc)
>
>the build looks for these doc files, and finds them, in ~/rpm/BUILD.
~/rpm/BUILD
has no meaning, unless you say you defined %_topdir as ~/rpm
>*not* in an RPM-specific subdirectory for this particular RPM that i'm
>building, but in the shared BUILD directory. this makes no sense. can
>someone explain this? it would have made far more sense if this %doc
>shortcut looked in, say, the RPM-specific build root directory.
>comments?
%doc are never searched in the BuildRoot.
They are usually searched in
%_topdir/BUILD/<package-directory>
Maybe show a trimmed down spec file you are using that show the problem you
see.
--
giulioo@pobox.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]