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

Jonas Smedegaard dr at jones.dk
Tue Jun 16 02:23:25 UTC 2015


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

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

commit 6aaea998b7a4e9e11e65ddd80bf7a83fba0efee0
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Jun 15 17:11:33 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 a4f5f40..1c80820 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-autotools.mk
 
 pkgbase = python-sugar
-pkgbranch = $(lastword $(subst -,$(space),$(DEB_SOURCE_PACKAGE)))
+pkgbranch = $(basename $(DEB_UPSTREAM_VERSION))
 pkg = $(pkgbase)-$(pkgbranch)
 
 DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE:%-$(pkgbranch)=%)

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



More information about the pkg-sugar-commit mailing list