[Pkg-javascript-commits] [ltx] 28/80: Rename libnode-ltx → node-ltx. Replace and conflict with (and temporarily provide) old package name.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:50:10 UTC 2016


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

js pushed a commit to branch master
in repository ltx.

commit 12af0fc76160bc97d097c00e6b111f9fb8725def
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Nov 29 23:58:01 2011 +0700

    Rename libnode-ltx → node-ltx. Replace and conflict with (and temporarily provide) old package name.
---
 debian/control.in | 5 ++++-
 debian/rules      | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 8428375..91f2a84 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -9,11 +9,14 @@ Homepage: https://github.com/astro/ltx
 Vcs-Git: git://git.debian.org/git/collab-maint/ltx
 Vcs-Browser: http://git.debian.org/?p=collab-maint/ltx.git
 
-Package: libnode-ltx
+Package: node-ltx
 Architecture: all
 Depends: ${misc:Depends},
  node-node-expat | libnode-node-expat,
  nodejs
+Conflicts: libnode-ltx
+Replaces: libnode-ltx
+Provides: libnode-ltx
 Description: XML DOM builder library for Node
  Node is an event-based server-side JavaScript engine.
  .
diff --git a/debian/rules b/debian/rules
index 901efe0..16250a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+libpkgname = node-ltx
+
 # suppress optional build-dependencies
 CDBS_BUILD_DEPENDS_rules_upstream-tarball =
 CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
@@ -29,4 +31,4 @@ DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
 DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
 DEB_UPSTREAM_TARBALL_MD5 = d09a301da8caab0cbffffc777296d630
 
-DEB_INSTALL_DOCS_libnode-ltx += README.markdown
+DEB_INSTALL_DOCS_$(libpkgname) += README.markdown

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



More information about the Pkg-javascript-commits mailing list