From bac2b928603d579cb7bb71a8984a3fa3cd847613 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 3 Dec 2014 21:58:36 +0200 Subject: [PATCH] Add utopic and precise to Ubuntu packaging Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- packaging/ubuntu/make-package.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh index 02a7bf02c..41c294ad8 100644 --- a/packaging/ubuntu/make-package.sh +++ b/packaging/ubuntu/make-package.sh @@ -28,10 +28,17 @@ cp ../subsurface/packaging/ubuntu/debian/rules debian/rules cp ../subsurface/packaging/ubuntu/debian/source.lintian-overrides debian/source.lintian-overrides # do something clever with changelog mv debian/changelog debian/autocl -head -1 debian/autocl | sed -e 's/unstable/trusty/' > debian/changelog +head -1 debian/autocl | sed -e 's/)/~trusty)/' -e 's/unstable/trusty/' > debian/changelog cat ../subsurface/packaging/ubuntu/debian/changelog >> debian/changelog tail -1 debian/autocl >> debian/changelog rm -f debian/autocl debuild -S +prev=trusty +for rel in utopic precise +do + sed -i "s/${prev}/${rel}/g" debian/changelog + debuild -S + prev=${rel} +done