aboutsummaryrefslogtreecommitdiffhomepage
path: root/Manual.md
diff options
context:
space:
mode:
authorPiotr Wójcik <chocimier@tlen.pl>2021-06-17 21:19:35 +0200
committerPiotr <chocimier@tlen.pl>2021-06-21 18:10:56 +0200
commitbec0f791b78813c2bd2136e802ba185ade586871 (patch)
treeaf09bc1372f8ba67859a8eb50213922062329c04 /Manual.md
parentdbeaver: update to 21.1.1. (diff)
Manual.md: disallow variables in version back
- xbps-checkvers substitute whole parameters ignoring #, %, :N varieties, that's captious - templates can be updated mechanically with scripts like xupdate - easier to lint
Diffstat (limited to 'Manual.md')
-rw-r--r--Manual.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/Manual.md b/Manual.md
index 78f58d18e0d..d743276d3f0 100644
--- a/Manual.md
+++ b/Manual.md
@@ -462,9 +462,7 @@ the generated `binary packages` have been modified.
- `short_desc` A string with a brief description for this package. Max 72 chars.
- `version` A string with the package version. Must not contain dashes or underscore
-and at least one digit is required. Using bash's pattern substitution and prefix and
-suffix matching isn't supported, since this field needs to be parsed by
-`xbps-checkvers(1)`. Using variables in this field should be avoided.
+and at least one digit is required. Shell's variable substition usage is not allowed.
Neither `pkgname` or `version` should contain special characters which make it
necessary to quote them, so they shouldn't be quoted in the template.