Jeff's Home Page
RPM
4
RPM_Guide
Prev
RPM Guide
Next
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