[Rpm-maint] [PATCH] rpmbuild: clean up buildroot handling, set a default buildroot

Michael Schroeder mls at suse.de
Tue Feb 13 11:42:11 UTC 2007


On Mon, Feb 12, 2007 at 03:37:23PM -0500, Bill Nottingham wrote:
> +    /* If buildroot is not set, set to a default value. */
> +    if (!spec->gotBuildRootURL) {
> +        int err = setBuildRoot(spec, "%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)");
> +        
> +        if (err)
> +            return err;
> +    }

If you can set a default buildroot in /usr/lib/rpm/macros, why
is there a need to *insist* on a buildroot? This breaks
compatibility.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}



More information about the Rpm-maint mailing list