[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:42 UTC 2017


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

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

    Fix MANUAL_REVISION.
---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index a8ecae8..9891e7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,7 @@ DH_ALWAYS_EXCLUDE:=CVS:.svn:.svnignore:.hg:.hgignore
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-DEBVERSION = $(shell head -n 1 debian/changelog | sed -e 's/^[^(]*(\([^)]*\)).*//')
-UPVERSION = $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://' -e 's/-[0-9.]*(\+b[0-9])?$$//' -e 's/.dfsg[0-9]*$$//')
-REV = $(shell echo $(UPVERSION) | sed -e 's/^.*svn//' -e 's/\+rc[0-9]$$//')
+REV=$(shell dpkg-parsechangelog | awk '/^Version: / {print $$2}' | 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