From Fedora Project Wiki

< User:Tibbs

Revision as of 16:18, 3 October 2016 by Tibbs (talk | contribs) (Created page with "== Tags and Sections == * The <code>BuildRoot:</code> tag is unnecessary. * The <code>Group:</code> tag is unnecessary. * The <code>%clean</code> section is unnecessary. * It ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 the License 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.