Re: per package BuildRoot does not work

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

 



On Tue, Jun 07, 2011 at 11:55:21PM +0200, Marten Lehmann wrote:

> I tried to not specify a global "BuildRoot" but directly in each 
> %package section. But rpmbuild just takes the first occurence and uses 
> it globally and ignores the second. So I get dozends of "error: File not 
> found:" errors.
> 
> How can I rewrite the %files macro to use a different buildroot?

This is not possible.

You may want to put the two filesets in different directories and/or use
different filenames and then use the "alternatives" system to select one
of them (this even would allow you to install both packages).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux