From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Tags and Sections == | == Tags and Sections == | ||
* The <code> | * The <code>Copyright:</code>, <code>Packager:</code>, <code>Vendor:</code> and <code>PreReq:</code> tags MUST NOT be used. | ||
* The <code> | * The <code>BuildRoot:</code> tag and <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>Summary:</code> tag value SHOULD NOT end in a period. | * The <code>Summary:</code> tag value SHOULD NOT end in a period. | ||
* 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:
andPreReq:
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.