From 21cecf9a9e4bb8d885bd40b3dfa29c6bf404c0cb Mon Sep 17 00:00:00 2001 From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> Date: Mon, 14 Sep 2015 10:38:03 -0400 Subject: [PATCH] packaging: Fix version number on deb based distribution - Package was generated without new version being set, hence the system complains about the version being older that the installed one. This patch adds the command line that was used before by joulupukki to set new version in changelog Issue: #80006 Change-Id: I8d603d3ac7dcf26bd99b6c77f587ba059997bbbe --- .packer.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.packer.json b/.packer.json index bf2cc115e3..7e6ecb4537 100644 --- a/.packer.json +++ b/.packer.json @@ -35,6 +35,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -44,6 +45,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -53,6 +55,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -62,6 +65,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -71,6 +75,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -80,6 +85,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -89,6 +95,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -98,6 +105,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", @@ -107,6 +115,7 @@ "mkdir -p /sources/ring-daemon", "cd /sources/ring-daemon", "/ring-daemon/debian/rules get-orig-source", + "dch --newversion $(dpkg-parsechangelog --show-field Version) \"Automatic nightly release\"", "dch --release --distribution \"unstable\" debian/changelog", "dpkg-buildpackage -uc -us", "cd .. ", -- GitLab