summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--lib/metadata/proteanos.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 45e3f1b..750cb49 100644
--- a/NEWS
+++ b/NEWS
@@ -14,8 +14,8 @@ 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.
+ distributions (like tzdata 2019a-0+rs1~1) and extended to allow
+ backports. 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 bd5ea91..2713423 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -23,6 +23,8 @@ _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}'(-[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}'(~bpu[1-9][0-9]*'
+_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'\+[1-9][0-9]*)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'$'
_ob_validate_source_name()