[Pkg-javascript-commits] [node-es5-shim] 01/01: Don't ship copies but links in node-es5-shim

Julien Puydt julien.puydt at laposte.net
Sun May 15 05:30:29 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-es5-shim.

commit 8e8db9c84e40699b2c45d0ddb7eeb08c8d46a090
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun May 15 07:27:46 2016 +0200

    Don't ship copies but links in node-es5-shim
---
 debian/changelog             | 1 +
 debian/control               | 2 +-
 debian/node-es5-shim.install | 2 --
 debian/node-es5-shim.links   | 2 ++
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6759fe3..68724d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ node-es5-shim (4.5.8-1) unstable; urgency=medium
   * New upstream release.
   * Bump standards-version up.
   * Use https in Vcs-* fields.
+  * Made node-es5-shim ship links to libjs-es5-shim.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Sat, 14 May 2016 14:45:03 +0200
 
diff --git a/debian/control b/debian/control
index 973880b..08bc353 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-es5-shim.git
 
 Package: node-es5-shim
 Architecture: all
-Depends: nodejs, ${misc:Depends}
+Depends: nodejs, ${misc:Depends}, libjs-es5-shim (= ${binary:Version})
 Description: ECMAScript 5 compat. shims for old JavaScript engines (Node.js)
  The es5-shim library monkey-patches a JavaScript context to contain
  all ECMAScript 5 methods that can be faithfully emulated with a
diff --git a/debian/node-es5-shim.install b/debian/node-es5-shim.install
index d6ca87c..6062160 100644
--- a/debian/node-es5-shim.install
+++ b/debian/node-es5-shim.install
@@ -1,3 +1 @@
-es5-sham.js usr/lib/nodejs/es5-shim/
-es5-shim.js usr/lib/nodejs/es5-shim/
 package.json usr/lib/nodejs/es5-shim/
diff --git a/debian/node-es5-shim.links b/debian/node-es5-shim.links
new file mode 100644
index 0000000..2c74dba
--- /dev/null
+++ b/debian/node-es5-shim.links
@@ -0,0 +1,2 @@
+usr/share/javascript/es5-shim.js usr/lib/nodejs/es5-shim/es5-shim.js
+usr/share/javascript/es5-sham.js usr/lib/nodejs/es5-shim/es5-sham.js

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



More information about the Pkg-javascript-commits mailing list