1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +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} %{?check_commands}
%clean %clean
rm -rf $RPM_BUILD_ROOT pwd
test -n rpm-no-clean || rm -rf $RPM_BUILD_ROOT