I have been using RPM to build thousands of packages for various SuSE and RedHat Linux distributions. We recently acquired Red Hat 6 servers and I noticed that the RPM on that server sets a “BuildRoot” by default. I need to override this since we already have a well-defined structure for our tool chains. Modifying all of the spec files is not an option since the packages all install in various ways. I tried re-defining the %{buildroot} and %{_buildrootdir} macros in my local macros file, but it looks like RPM ignores this. How can I unset the BuildRoot so that my builds will behave as they have with other operating systems ? Thanks in advance.
Kris
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses. |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list