Product SiteDocumentation Site

8.2.3.5. The clean section

The clean section cleans up the files that the commands in the other section create:
%clean
rm -rf $RPM_BUILD_ROOT
The clean section starts with a %clean statement