[Pkg-javascript-commits] [node-regenerate] 07/09: Ship a link instead of a copy for regenerate.js

Julien Puydt julien.puydt at laposte.net
Fri May 27 18:54:14 UTC 2016


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

jpuydt-guest pushed a commit to branch master
in repository node-regenerate.

commit 3f8e0e4c1e0b0ac512e5972086e35e780d01a166
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri May 27 20:37:14 2016 +0200

    Ship a link instead of a copy for regenerate.js
---
 debian/changelog               | 1 +
 debian/control                 | 2 +-
 debian/node-regenerate.install | 1 -
 debian/node-regenerate.links   | 1 +
 4 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f4f09b1..987344f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ node-regenerate (1.3.0-1) UNRELEASED; urgency=medium
   * Pushed standards-version up.
   * Fixed Vcs-* uris.
   * Updated year of copyright.
+  * Made the node- package link to the libjs- package.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Fri, 27 May 2016 20:28:27 +0200
 
diff --git a/debian/control b/debian/control
index f3fb6eb..f1e9ad4 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-javascript/node-regenerate.git
 
 Package: node-regenerate
 Architecture: all
-Depends: ${misc:Depends}, nodejs
+Depends: ${misc:Depends}, nodejs, libjs-regenerate (= ${binary:Version})
 Description: Unicode-aware regular expression generator (Node.js module)
  It allows you to easily generate JavaScript-compatible regular expressions
  based on a given set of Unicode symbols or code points.
diff --git a/debian/node-regenerate.install b/debian/node-regenerate.install
index e67d405..85fe15b 100644
--- a/debian/node-regenerate.install
+++ b/debian/node-regenerate.install
@@ -1,2 +1 @@
 package.json usr/lib/nodejs/regenerate/
-regenerate.js usr/lib/nodejs/regenerate/
diff --git a/debian/node-regenerate.links b/debian/node-regenerate.links
new file mode 100644
index 0000000..157b8ef
--- /dev/null
+++ b/debian/node-regenerate.links
@@ -0,0 +1 @@
+usr/share/javascript/regenerate/regenerate.js usr/lib/nodejs/regenerate/regenerate.js

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



More information about the Pkg-javascript-commits mailing list