[SCM] bluedevil packaging branch, master, updated. debian/1.0-rc3-1-2-g4375612

George Kiagiadakis gkiagia-guest at alioth.debian.org
Mon Sep 27 18:04:09 UTC 2010


The following commit has been merged in the master branch:
commit 43756124771b3bcb1725df6c4d622ffdb5cb679b
Author: George Kiagiadakis <kiagiadakis.george at gmail.com>
Date:   Mon Sep 27 21:03:06 2010 +0300

    Change kdebluetooth's version to be the same as bluedevil's but with epoch 1 and generated from debian/changelog automatically.
---
 debian/changelog |    2 ++
 debian/rules     |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 82a58f9..7a9544b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ bluedevil (1.0~rc3-2) unstable; urgency=low
 
   * Remove the kbluetooth transitional package upon request by the release
     team, to unblock bluedevil's transition into squeeze.
+  * Change kdebluetooth's version to be the same as bluedevil's
+    but with epoch 1 and generated from debian/changelog automatically.
 
  -- George Kiagiadakis <kiagiadakis.george at gmail.com>  Mon, 27 Sep 2010 20:54:51 +0300
 
diff --git a/debian/rules b/debian/rules
index 9a17cec..524943a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+# add epoch 1 to the kdebluetooth package
+KDEBLUETOOTH_VERSION := $(shell dpkg-parsechangelog | grep '^Version: ' | sed 's/^Version: /1:/')
+
 override_dh_auto_configure:
 	dh_auto_configure --buildsystem=kde -- \
 			-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \
@@ -7,7 +10,7 @@ override_dh_auto_configure:
 			-DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed"
 
 override_dh_gencontrol:
-	dh_gencontrol -pkdebluetooth -- -v1:0.4.2-3+obsolete
+	dh_gencontrol -pkdebluetooth -- -v$(KDEBLUETOOTH_VERSION)
 	dh_gencontrol -pbluedevil
 
 %:

-- 
bluedevil packaging



More information about the pkg-kde-commits mailing list