From Fedora Project Wiki
Tags and Sections
- The
BuildRoot:
tag is unnecessary. - The
Group:
tag is unnecessary. - The
%clean
section is unnecessary. - It is not necessary to remove the contents of the buildroot as the first line of
%install
. - The
Packager:
tag should not be used. If you need to include information about the packager in the rpms you built, define the%packager
macro in your~/.rpmmacros
file instead. - The
Vendor:
tag should not be used. - The
Copyright:
tag should not be used. Use theLicense
tag instead, as detailed in Packaging:LicensingGuidelines . Contact the upstream author if there is any doubt about what license the software is distributed under. - The
Summary:
tag value should not end in a period. - The
PreReq:
tag should not be used. - The
Source:
tags document where to find the upstream sources for the package. In most cases this should be a complete URL to the upstream tarball. For special cases, please see the SourceURL Guidelines.