[GuidelinesChange] Prepping BuildRoot For %install
Michael Schroeder
mls at suse.de
Wed Apr 11 14:04:38 UTC 2007
On Wed, Apr 11, 2007 at 03:58:33PM +0200, Till Maas wrote:
> On Di April 10 2007, Michael Schroeder wrote:
>
> > %__spec_build_pre %{___build_pre}\
> > %{?buildroot: %__rm -rf "$RPM_BUILD_ROOT"\
> > %__mkdir_p `dirname "$RPM_BUILD_ROOT"`\
> > %__mkdir "$RPM_BUILD_ROOT"\
> > }
> >
> > (This actually fixes a tiny security issue, that's why there are
> > two mkdir calls...)
>
> When you really need the first of the two mkdir invocations, the security
> issue is not fixed:
> https://www.redhat.com/archives/fedora-packaging/2007-March/msg00061.html
Yes, I know, but it's in most cases a moot issue because the
buildroot is in /var/tmp.
Cheers,
Michael.
--
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
More information about the fedora-devel-list
mailing list