1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

spec: Make it possible for %check_commands to prevent %clean-ing.

This commit is contained in:
Petr Rockai 2013-12-15 21:12:06 +01:00 committed by Petr Rockai
parent 00dee59702
commit d567d0d307

View File

@ -45,4 +45,5 @@ test -e %{_sourcedir}/source.inc || cp source.inc build.inc packages.inc macros.
%{?check_commands}
%clean
rm -rf $RPM_BUILD_ROOT
pwd
test -n rpm-no-clean || rm -rf $RPM_BUILD_ROOT