[Pkg-sugar-commit] [sugar-toolkit] 04/10: Tidy rules file: Resolve branch from upstream version (not package name).
Jonas Smedegaard
dr at jones.dk
Tue Jun 16 18:19:12 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 b91f02a4ca9cab2bc994e71262014787e1e0e8ac
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 413cbb8..2be9477 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)
DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE:%-$(pkgbranch)=%)
--
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