need INSTALL_LOCATION realclean to properly clean up

This commit is contained in:
2024-05-03 13:44:12 +02:00
parent 11661455f1
commit 2db99d46a7

View File

@@ -213,7 +213,7 @@ shopt -s extglob
# and install will delete our buildroot!
%clean
%{__make} realclean
%{__make} INSTALL_LOCATION=%{buildroot}%{prog_folder} realclean
%{__rm} -f modules/RELEASE.*.local
%{__rm} -rf %{buildroot}
%{__cp} %{_rpmdir}/*/%{name}*%{version}-%{release}.*.rpm %{_sourcedir}