[Fedora-packaging] Re: Phase out buildroot?
Pavel Alexeev (aka Pahan-Hubbitus)
forum at ru.bir.ru
Sun May 31 21:18:30 UTC 2009
Panu Matilainen wrote:
> There are no changes to rpm in this area that I recall. This could be
> done by just tweaking the build templates in redhat-rpm-config though,
> something like this in /usr/lib/rpm/redhat/macros:
>
> %__spec_install_pre %{___build_pre}\
> [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"\
> %{nil}
This is very good idea. With remove BuildRoot from spec it is brilliant.
AltLinux guidelines prohibit use BuildRoot tag in spec.
Pavel.
More information about the Fedora-packaging
mailing list