The "NEW" rpm functionality was implemented years ago from Jeff Johnson (<a href="https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-August/001348.html">https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-August/001348.html</a>).<br>
<br>In RPM 5 (<a href="http://rpm5.org">http://rpm5.org</a>) it work well <br><br>Also the test case (<a href="http://rpm.org/attachment/ticket/10/a.spec">http://rpm.org/attachment/ticket/10/a.spec</a>) work correctly in RPM5.<br>
<br>Regards<br><br><div class="gmail_quote">On Thu, Dec 4, 2008 at 10:18 AM, Panu Matilainen <span dir="ltr"><<a href="mailto:pmatilai@laiskiainen.org">pmatilai@laiskiainen.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, 1 Dec 2008, Xavier Toth wrote:<br>
<br>
> My spec files which build on Fedora 9 rpm <a href="http://4.4.2.3" target="_blank">4.4.2.3</a> don't build on<br>
> Fedora 10 rpm <a href="http://4.6.0." target="_blank">4.6.0.</a> It appears that the Buildroot definition is being<br>
> ignored. If I use --buildroot on the command line they build but this<br>
> isn't a good solution. Is this a rpmbuild bug or feature? Is it<br>
> specific to Fedora possibly?<br>
<br>
</div>Buildroot from spec is ignored on purpose in rpm <a href="http://4.6.0." target="_blank">4.6.0.</a> That specs should<br>
(have to) define their own buildroot is simply bad design and a leftover<br>
from ancient times.<br>
<br>
There's one known bug wrt the new buildroot handling, namely that specs<br>
which have subpackages whose version differs from the main package<br>
version doesn't work right: <a href="http://rpm.org/ticket/10" target="_blank">http://rpm.org/ticket/10</a><br>
<font color="#888888"><br>
- Panu -<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
</div></div></blockquote></div><br>