From 343c01b1ca0f8faf023c8079a606d266bfc30820 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 04 Aug 2019 20:33:45 -0400 Subject: SPF 2.0: Add backport version syntax --- diff --git a/specs/spf-2.0/metadata.mdwn b/specs/spf-2.0/metadata.mdwn index 9683fc6..dd0a749 100644 --- a/specs/spf-2.0/metadata.mdwn +++ b/specs/spf-2.0/metadata.mdwn @@ -129,7 +129,7 @@ Source Package Version Identifier [src-ver] In general, the syntax of source package version identifiers is: - [+sip][-][+~] + [+sip][-][+~][~bpu+] `` is the version of the original upstream package or the native package. It may only consist of lowercase Latin letters, digits, periods, @@ -162,3 +162,18 @@ to `` of a new upstream package version, source archive repack, or distribution packaging revision. It must be a string of one or more digits, the first of which must be greater than or equal to `1`. (A regular expression for this is `[1-9][0-9]*`.) + +If the package is to be backported from `trunk` or another distribution into a +different distribution other than `trunk`, the string `~bpu+` +must be included in the version identifier. `` is a numeric +distribution version identifier for the distribution to which the package is +backported. It must be a string of one or more digits, the first of which must +be greater than or equal to `1`. (A regular expression for this is +`[1-9][0-9]*`.) `` is a number that should be incremented on each +backport to distribution version `` while ``, ``, +``, ``, and `` remain constant. It should be reset to +`1` for the first backport to distribution version `` of a new upstream +package version, source archive repack, distribution packaging revision, or +installation into a distribution other than `trunk`. It must be a string of one +or more digits, the first of which must be greater than or equal to `1`. (A +regular expression for this is `[1-9][0-9]*`.) -- cgit v0.9.1