Let %install rm -f $RPM_BUILD_ROOT.

This commit is contained in:
Ralf Corsepius
2005-04-13 16:08:21 +00:00
parent b46104c7c1
commit f85f2f0f09
2 changed files with 3 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
cd build
make prefix=$RPM_BUILD_ROOT%{_prefix} \
mandir=$RPM_BUILD_ROOT%{_mandir} \

View File

@@ -255,7 +255,6 @@ cd ..
%install
export PATH="%{_bindir}:${PATH}"
test $RPM_BUILD_ROOT = "%{_defaultbuildroot}" && \
rm -rf $RPM_BUILD_ROOT
cd build