osmith submitted this change.
OBS: support epoch in strongswan-epdg version
In the related commit, an epoch has been added to the strongswan-epdg
version. Adjust the code that replaces the version to suppor this.
Related: https://gitea.osmocom.org/ims-volte-vowifi/strongswan-epdg/commit/872be0a935a1ed5e4b926a7640da8bacac036e4a
Change-Id: I7abcf82a78fd4c4f6d29d2717dad5c70bc50e683
---
M scripts/obs/lib/debian.py
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py
index 91c9dac..3c0c2a5 100644
--- a/scripts/obs/lib/debian.py
+++ b/scripts/obs/lib/debian.py
@@ -113,7 +113,7 @@
pass
# Debian versions must start with a digit
- if version.startswith("osmo-epdg-"):
+ if "osmo-epdg-" in version:
version = f"{version.replace('osmo-epdg-', '', 1)}-osmo-epdg"
version = version.replace("-", ".")
To view, visit change 37649. To unsubscribe, or for help writing mail filters, visit settings.