Per Øyvind Karlsen wrote:
I did the other day a fresh mandriva cooker install and noticed
with rpm 4.6.0 a welcomed
change, the automatic creation and use of a local ~/rpmbuild for
user rather than /usr/src/rpm.
Since this makes it easier to just get a working rpm build
environment for user and also
removes the implicit encouragement of packaging using /usr/src/rpm
as root, would anyone
have anything against introducing same behaviour as rpm.org in
rpm5.org HEAD?
You can set that with the --with-path-sources configure option, if
scared of ~/.rpmmacros. I believe rpm.org uses "%{getenv:HOME}/rpmbuild"
There's also the --with-path-buildroot option, if you also want to
change "%{_tmppath}" for "%{_topdir}/BUILDROOT" like rpm.org does now.
Not sure that the default configuration matters all that much, as
just with the rpm.spec it's bound to be changed by vendors anyway ?
--anders
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List [email protected]