From Fedora Project Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
== Tags and Sections ==
== Tags and Sections ==
* The <code>BuildRoot:</code> tag SHOULD NOT be used.
* The <code>Copyright:</code>, <code>Packager:</code>, <code>Vendor:</code> and <code>PreReq:</code> tags MUST NOT be used.
* The <code>Group:</code> tag is unnecessary.
* The <code>BuildRoot:</code> tag and <code>%clean</code> section SHOULD NOT be used.
* The <code>%clean</code> section SHOULD NOT be used.
* The contents of the buildroot SHOULD NOT be removed in the first line of <code>%install</code>.
* The contents of the buildroot SHOULD NOT be removed in the first line of <code>%install</code>.
* The <code>Packager:</code> tag MUST NOT be used.
* The <code>Vendor:</code> tag MUST NOT be used.
* The <code>Copyright:</code> tag MUST NOT be used.  Use the <code>License</code> tag instead, as detailed in [[Packaging:LicensingGuidelines]].
* The <code>Summary:</code> tag value SHOULD NOT end in a period.
* The <code>Summary:</code> tag value SHOULD NOT end in a period.
* The <code>PreReq:</code> tag MUST NOT be used.
* The <code>Source:</code> 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 [[Packaging:SourceURL|SourceURL Guidelines]].
* The <code>Source:</code> 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 [[Packaging:SourceURL|SourceURL Guidelines]].
* The <code>Group:</code> tag is unnecessary.

Latest revision as of 16:23, 3 October 2016

Tags and Sections

  • The Copyright:, Packager:, Vendor: and PreReq: tags MUST NOT be used.
  • The BuildRoot: tag and %clean section SHOULD NOT be used.
  • The contents of the buildroot SHOULD NOT be removed in the first line of %install.
  • The Summary: tag value SHOULD NOT end in a period.
  • 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.
  • The Group: tag is unnecessary.