RPM Community Forums

Mailing List Message of <rpm-devel>

Re: RPM: rpm/build/ files.c

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 07 Jul 2008 - 17:21:05 CEST
Message-id: <9DC6639D-EC0F-46A8-8A65-AF5765E29057@mac.com>

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
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.