From 7ecab65bad430f8dbef6f80e0e61490d871da767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Tue, 24 Oct 2023 19:00:18 +0000 Subject: [PATCH] ring: manual fix version and add version check. --- helpers/make-ring | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helpers/make-ring b/helpers/make-ring index 02f1855..a43b20d 100644 --- a/helpers/make-ring +++ b/helpers/make-ring @@ -22,6 +22,9 @@ VERSION=2 . ./config +# Fix version number due to source origin change. +export FULLVERSION="$(sed 's|ubuntu0.1||' <<< $FULLVERSION)" + # Add trisquel aramo's dependencies sed -i "/# Qt client/i # trisquel's aramo dependencies" debian/control for i in "libgl1-mesa-dev" \ @@ -62,6 +65,7 @@ echo "Applying $patch" patch --no-backup-if-mismatch -Np1 < $patch done -changelog "Backport ring/jammi to aramo from debian sid" +changelog "Backport ring/jammi to aramo from mantic" +head -n1 debian/changelog | grep -q ubuntu && echo "error: update upstream version" && exit compile