summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS7
-rw-r--r--lib/metadata/proteanos.sh2
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f665a07..45e3f1b 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,13 @@ Utilities:
* ob-buildopk now correctly checks for the "touch" utility's "-h"
option. Apologies for the noise.
+libopkbuild:
+
+ * Validation of ProteanOS source package versions has been relaxed
+ to allow for uploads of new upstream versions to non-trunk
+ distributions (like tzdata 2019a-0+rs1~1). This complies with the
+ latest draft of SPF 2.0.
+
opkbuild version 4.1.3
----------------------
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index 40d5d32..bd5ea91 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -21,7 +21,7 @@ _OB_NAME_RE_PROTEANOS='^[a-z0-9][a-z0-9+.-]+$'
_OB_VERSION_RE_PROTEANOS='^'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'[0-9a-z.~+]+'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+sip[1-9][0-9]*)?'
-_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(-[1-9][0-9]*)?'
+_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(-[0-9]+)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+[a-z0-9]+~[1-9][0-9]*)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'$'