[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.9.4
Modestas Vainius
modax at alioth.debian.org
Sun Feb 20 10:47:34 UTC 2011
The following commit has been merged in the master branch:
commit dbd414dc190291008b64d62b10dd57da745c995e
Author: Modestas Vainius <modestas at vainius.eu>
Date: Sun Feb 20 12:26:57 2011 +0200
Fix "dpkg: * has bad syntax: invalid character in revision number" error.
It used to be spit by debhelper kde buildsystem. It wasn't fatal though.
---
debian/changelog | 2 ++
perllib/Debian/Debhelper/Buildsystem/kde.pm | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8c6bd26..6113307 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
pkg-kde-tools (0.9.4) UNRELEASED; urgency=low
* Bump Standards-Verstion to 3.9.1: no changes needed.
+ * Fix "dpkg: * has bad syntax: invalid character in revision number" error
+ which debhelper kde buildsystem used to spit (it wasn't fatal though).
-- Modestas Vainius <modax at debian.org> Tue, 03 Aug 2010 01:44:35 +0300
diff --git a/perllib/Debian/Debhelper/Buildsystem/kde.pm b/perllib/Debian/Debhelper/Buildsystem/kde.pm
index c88961b..1f84451 100644
--- a/perllib/Debian/Debhelper/Buildsystem/kde.pm
+++ b/perllib/Debian/Debhelper/Buildsystem/kde.pm
@@ -50,7 +50,7 @@ sub configure {
my @flags = $this->get_kde4_flags();
# Skip RPATH if kdelibs5-dev is older than 4:4.4.0
- my $kdever = `dpkg-query -f='\${Version}\n' -W kdelibs5-dev 2>/dev/null`;
+ my $kdever = `dpkg-query -f='\${Version}' -W kdelibs5-dev 2>/dev/null`;
if ($kdever &&
system("dpkg", "--compare-versions", $kdever, "lt", "4:4.4.0") == 0)
{
--
Debian Qt/KDE packaging tools
More information about the pkg-kde-commits
mailing list