On Thu, 10 Dec 2015 12:21:16 +0100, zosrothko wrote:
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.