diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | 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@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) { |