From 228c63f226f020d9c07ee7934fce58f648521e90 Mon Sep 17 00:00:00 2001 From: Lukas Holecek <hluk@email.cz> Date: Thu, 28 Sep 2017 08:56:03 +0200 Subject: [PATCH] Fix creating packages for Ubuntu --- utils/debian/create_source_packages.sh | 4 ++++ utils/debian/update_changelog.sh | 2 ++ 2 files changed, 6 insertions(+) diff --git a/utils/debian/create_source_packages.sh b/utils/debian/create_source_packages.sh index 3284df990..436bcf755 100755 --- a/utils/debian/create_source_packages.sh +++ b/utils/debian/create_source_packages.sh @@ -8,6 +8,10 @@ distros=( artful ) +sed -i 's/quilt/native/' 'debian/source/format' +echo 9 > 'debian/compat' +rm -f debian/watch + for distro in "${distros[@]}"; do ./utils/debian/update_changelog.sh "$distro" debuild -S diff --git a/utils/debian/update_changelog.sh b/utils/debian/update_changelog.sh index ae75ebb31..10657dd69 100755 --- a/utils/debian/update_changelog.sh +++ b/utils/debian/update_changelog.sh @@ -9,6 +9,8 @@ if [ "$distro" == "trusty" ]; then cp debian/rules{-qt4,} else git checkout HEAD debian/control debian/rules + sed -i 's/debhelper .*,/debhelper (>= 9),/' 'debian/control' + sed -i 's/Standards-Version:.*/Standards-Version: 3.9.7/' 'debian/control' fi git checkout HEAD debian/changelog -- GitLab