[Pkg-sugar-commit] [sugar-toolkit-gtk3] 01/05: Modernize CDBS use: Let CDBS resolve if build is targeted experimental.
Jonas Smedegaard
dr at jones.dk
Mon Dec 12 18:22:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master-0.110
in repository sugar-toolkit-gtk3.
commit 1f9b171d80b447c670c36eccbcf859a04d865479
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Dec 12 16:21:43 2016 +0100
Modernize CDBS use: Let CDBS resolve if build is targeted experimental.
---
debian/rules | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 1647959..2ce83e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,12 +42,8 @@ pkg-python = python-sugar3
# * Switch git packaging branch
# * Track any release (else only current branch)
ifneq (,$(DEB_MAINTAINER_MODE))
-experimental := $(strip $(if \
- $(shell dpkg-parsechangelog \
- | grep -x 'Distribution: \(experimental\|UNRELEASED\)'),\
- yes))
-watch-limit = $(if $(experimental),,$(pkgbranch)\\.)
-debian-branch = $(if $(experimental),master,master-$(pkgbranch))
+watch-limit = $(if $(DEB_SUITE_EXP),,$(pkgbranch)\\.)
+debian-branch = $(if $(DEB_SUITE_EXP),master,master-$(pkgbranch))
clean::
perl -i -pe 's/\([\d.\\]*\.\*\)/($(watch-limit).*)/' \
debian/watch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-toolkit-gtk3.git
More information about the pkg-sugar-commit
mailing list