Oops, remove extra %endif in .spec file.