Till Maas wrote :
A lot of specs and the template specs from rpmdev-newspec use
following:
%install
rm -rf $RPM_BUILD_ROOT
# racing time
mkdir -p $RPM_BUILD_ROOT/bla/foo
The solution is to make the following mandatory:
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT # this fails when $RPM_BUILD_ROOT already exists
Other solutions :
- Use mach or mock
- Use a _tmppath inside your $HOME (thus buildroot will be too)
We all do one or the other, or even both, right? :-)
Matthias
--
Clean custom Red Hat Linux rpm packages :
http://freshrpms.net/
Fedora Core release 6 (Zod) - Linux kernel 2.6.19-1.2911.6.5.fc6
Load : 0.07 0.20 0.32