[Pkg-sugar-commit] [sugar-artwork] 01/02: Really fix revive transitional replaces/breaks for sugar-artwork-0.88. Closes: Bug#874417. Thanks to Andreas Beckmann.
Jonas Smedegaard
dr at jones.dk
Thu Sep 7 11:46:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository sugar-artwork.
commit b9ec6079815938ada5656f453ef634bf0b731f28
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Sep 7 13:42:16 2017 +0200
Really fix revive transitional replaces/breaks for sugar-artwork-0.88. Closes: Bug#874417. Thanks to Andreas Beckmann.
---
debian/rules | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index dfe1446..4b38198 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,15 +55,20 @@ depends = $(pkg-icon)
recommends = fonts-dejavu-core, librsvg2-common
suggests = $(pkg-gtk2)
-# Transitional quirk: split into engine and theme packages
-# * TODO: Drop when stretch is obsolete
-obsoletes +=, sugar-artwork-0.88 (<= 0.88.1-4)
-
CDBS_BUILD_DEPENDS +=, $(bdeps)
CDBS_DEPENDS_$(pkg) +=, $(depends)
CDBS_RECOMMENDS_$(pkg) = $(recommends)
CDBS_SUGGESTS_$(pkg) = $(suggests)
+# Transitional quirk: split into engine and theme packages
+# * TODO: Drop when stretch is obsolete
+obsoletes +=, sugar-artwork-0.88 (<= 0.88.1-4)
+define sugar-relations
+CDBS_REPLACES_$($1) +=, $(obsoletes)
+CDBS_BREAKS_$($1) +=, $(obsoletes)
+endef
+$(foreach p,pkg pkg-icon pkg-gtk2,$(eval $(call sugar-relations,$(value p))))
+
# Multiarch quirks
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-artwork.git
More information about the pkg-sugar-commit
mailing list