[Pkg-sugar-commit] [sugar-toolkit] 01/07: Tidy rules file: Resolve branch from upstream version (not package name).

Jonas Smedegaard dr at jones.dk
Wed Jun 17 23:41:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository sugar-toolkit.

commit 885974acbe7e19d7e6e81128f8623ccaa9cb45a4
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Jun 16 08:10:52 2015 -0500

    Tidy rules file: Resolve branch from upstream version (not package name).
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d6d405e..6343de6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ include /usr/share/cdbs/1/class/python-autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 pkgbase = python-sugar-toolkit
-pkgbranch = $(lastword $(subst -,$(space),$(DEB_SOURCE_PACKAGE)))
+pkgbranch = $(basename $(DEB_UPSTREAM_VERSION))
 pkg = $(pkgbase)-$(pkgbranch)
 pkgmainbranch = 0.104
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-toolkit.git



More information about the pkg-sugar-commit mailing list