Also accept %check or %clean as end of %install