Re: %doc: how to specify a Source<n> for the %doc directive?

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

 





Le 10/12/2015 12:41, Michael Schwendt a écrit :
On Thu, 10 Dec 2015 12:21:16 +0100, zosrothko wrote:

Hi

I have a rpm.spec with 2 Sources, one for the source code named Source0
and the second for the documentation named Source1 -- see below snippet
of the spec --. The execution of the %doc directive jumps into the
Source0 directory -- rendered in bold in the log below -- while it
should jumps into the Source1 directory _poco-1.7.0-all-doc_ in  as
specified by the second %setup

So how could I fix this directory change?
Use a single %setup invocation only, since it tells rpmbuild the base
builddir to enter for every spec file section and special macros, such
as %doc and %license.
This does not satisfy the initial requirements : the doc and source are produced into separate directory...

Why %doc could not have an additional parameter like the %setup one: -b <n> to specify which directory to use?
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx




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

  Powered by Linux