[SCM] SETI at home packaging branch, master, updated. debian/6.12_svn1305-2-22-ga07f22f

Guo Yixuan culu.gyx at gmail.com
Mon Jun 4 09:43:40 UTC 2012


The following commit has been merged in the master branch:
commit 9f8711cf541deb7a0b7b353b7c4366bd676df30f
Author: Guo Yixuan <culu.gyx at gmail.com>
Date:   Mon Jun 4 01:04:28 2012 +0800

    Add support for epoch.

diff --git a/debian/rules b/debian/rules
index fc3c653..d152418 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,8 +64,10 @@ ifeq ($(DEB_BUILD_GNU_CPU),i686)
 endif
 
 
+# Get upstream version from debian version.
 UPSTREAM_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | \
-  cut -d ' ' -f 2 | cut -d '-' -f 1 | cut -d '+' -f 1 | cut -d '~' -f 1)
+  cut -d ' ' -f 2 | cut -d '-' -f 1 | cut -d '+' -f 1 | cut -d '~' -f 1 | perl -pe 's/^.*?://')
+# Remove dot "." in upstream version for use in app_info.xml
 APP_INFO_VERSION = $(subst .,,$(UPSTREAM_VERSION))
 
 

-- 
SETI at home packaging



More information about the pkg-boinc-commits mailing list