[SCM] Packaging of KVIrc branch, experimental, updated. debian/4%4.9.2_git20170827-1

Andrey Rahmatullin wrar at moszumanska.debian.org
Sun Aug 27 19:43:43 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kvirc.git;a=commitdiff;h=35a61af

The following commit has been merged in the experimental branch:
commit 35a61af9f53d555eefd36e8df5e61c258bc8198d
Author: Andrey Rahmatullin <wrar at debian.org>
Date:   Sun Aug 27 22:35:24 2017 +0500

    Use DEB_VERSION instead of dpkg-parsechangelog in $REV.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6946982..9a480be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,11 @@
 #! /usr/bin/make -f
 
+include /usr/share/dpkg/pkg-info.mk
+
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-REV=$(shell dpkg-parsechangelog | awk '/^Version: / {print $$2}' | sed 's/.*~git/git/' | rev | cut -c 3- | rev)
+REV=$(shell echo $(DEB_VERSION) | sed 's/.*~git/git/' | rev | cut -c 3- | rev)
 
 # We don't install all files upstream wants to. Those files get added to
 # the following variable which gives us a cleaner buildd output (idea taken

-- 
Packaging of KVIrc



More information about the pkg-kde-commits mailing list