2009/3/3 Anders F Björklund <[email protected]>

> 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.orgHEAD?
>>
>
> You can set that with the --with-path-sources configure option, if
> scared of ~/.rpmmacros. I believe rpm.org uses "%{getenv:HOME}/rpmbuild"

Yes, but what I also would like is the automatic creation of these
directories as well.

>
>
> 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 ?

Yes, to some degree, but if you provide a default for local users, the
default
will more likely be adopted and I can't see any reason why anyone would feel
very strongly about changing such a default.
Having this as a default which user can expect to find ~regardless of vendor
seems like a
convenient way to make life easier for users and for anyone helping out
users..

--
Regards,
Per Øyvind

Reply via email to