[SCM] SETI at home packaging branch, master, updated. debian/5.13+cvs20060510-4-62-g768bb0b

Guo Yixuan culu.gyx at gmail.com
Mon May 21 14:24:36 UTC 2012


The following commit has been merged in the master branch:
commit 768bb0b9ffbe6e8133d62027802cefcf35e97e62
Author: Guo Yixuan <culu.gyx at gmail.com>
Date:   Mon May 21 22:18:44 2012 +0800

    improve version parsing
    
    correctly handle situation where version is like 6.12-1

diff --git a/debian/rules b/debian/rules
index e9b7a91..b187c3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,7 +52,7 @@ endif
 
 
 UPSTREAM_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | \
-  cut -d ' ' -f 2 | cut -d '+' -f 1 | cut -d '~' -f 1)
+  cut -d ' ' -f 2 | cut -d '-' -f 1 | cut -d '+' -f 1 | cut -d '~' -f 1)
 APP_INFO_VERSION = $(subst .,,$(UPSTREAM_VERSION))
 
 

-- 
SETI at home packaging



More information about the pkg-boinc-commits mailing list