[Pkg-javascript-commits] [backbone] 71/97: Fix break and replace older libjs* package shipping also node* files. Closes: bug#694469. Thanks to Andreas Beckmann.
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 16:56:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository backbone.
commit 950e651b79d624b00227d590e30ac20ea22ca83d
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Nov 26 19:08:28 2012 +0100
Fix break and replace older libjs* package shipping also node* files. Closes: bug#694469. Thanks to Andreas Beckmann.
---
debian/control.in | 2 ++
debian/rules | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/debian/control.in b/debian/control.in
index 0355347..ab17eb3 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -33,6 +33,8 @@ Depends: ${misc:Depends},
node-underscore (>= 1.3.1~)
Recommends: libjs-jquery | libjs-zepto | libjs-ender,
libjs-json
+Breaks: ${cdbs:Breaks}
+Replaces: ${cdbs:Replaces}
Description: some Backbone for JavaScript applications - Node module
Node is an event-based server-side JavaScript engine.
.
diff --git a/debian/rules b/debian/rules
index 8d2df9f..ea72695 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,10 @@ DEB_UPSTREAM_URL = https://github.com/documentcloud/$(pkg)/archive
DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION)
DEB_UPSTREAM_TARBALL_MD5 = b6fe3d4de9dcd489a11ce7a3c7aac2c6
+# Handle package split
+CDBS_BREAKS_$(nodepkg) = libjs-backbone (<< 0.5.3-3)
+CDBS_REPLACES_$(nodepkg) = libjs-backbone (<< 0.5.3-3)
+
# Silence images in addition to the default debian files
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^docs/images/.*\.(jpg|png)|debian/(changelog|copyright(|_hints|_newhints))$
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list