On Jul 7, 2008, at 9:00 AM, Jeff Johnson wrote:
>
> The other necessary rpmbuild extension is to permit identical paths
> with
> different content using %{buildroot} as a prefix to distinguish
> identical
> paths in subpkgs with different stat(2) data or content.
>
> I can think of a couple approaches to permitting multiple %buildroots.
>
> One way is to permit multiple colon-separated path prefixes with
> ordering implicitly used to determine which subpkg uses which
> buildroot.
>
> Another way would be the analogue of, say, "%description foo" with
> a collection of %{buildroot_foo} macros with conventionally created
> names.
>
> A third way might be with subdirs/smlinks in the existing %
> {buildroot} top
> level directory.
>
> Dunno which way I like best yet, which is why I haven't attempted
> an implementation.
>
Just happened to encounter the ancient RFE (w patch attached) for adding
multiple subdirs (essentially the 3rd option above) as buildroot's in
bugzilla.
Here's the link:
https://bugzilla.redhat.com/show_bug.cgi?id=116448
hth
73 de Jeff
Received on Mon Jul 7 17:21:27 2008