[Pkg-javascript-commits] [unorm.js] 11/19: Re-arrange packaging due to several path changes in new upstream release.

Mike Gabriel sunweaver at debian.org
Thu Dec 15 10:49:10 UTC 2016


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

sunweaver pushed a commit to branch master
in repository unorm.js.

commit 66c11108e1382562875f9b6469cf4c467b9996e0
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun May 26 20:56:48 2013 +0200

    Re-arrange packaging due to several path changes in new upstream release.
---
 debian/changelog                               |  5 +++--
 debian/libjs-unorm.install                     |  2 +-
 debian/node-unorm.examples                     |  2 +-
 debian/node-unorm.install                      |  2 +-
 debian/node-unorm.links                        |  1 -
 debian/patches/001_debian-unorm-examples.patch | 10 ----------
 debian/patches/series                          |  1 -
 debian/rules                                   |  7 -------
 8 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 140cc6a..1bc41ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
-unorm.js (1.0.5-1) UNRELEASED; urgency=low
+unorm.js (1.0.5-1) unstable; urgency=low
 
   * New upstream release.
+  * Re-arrange packaging due to several path changes in new upstream release.
   * /debian/docs:
     + Install package.json into doc folder.
 
- -- Mike Gabriel <sunweaver at debian.org>  Sun, 26 May 2013 20:47:16 +0200
+ -- Mike Gabriel <sunweaver at debian.org>  Sun, 26 May 2013 20:56:03 +0200
 
 unorm.js (1.0.3-2) unstable; urgency=low
 
diff --git a/debian/libjs-unorm.install b/debian/libjs-unorm.install
index 1d059db..acbd612 100644
--- a/debian/libjs-unorm.install
+++ b/debian/libjs-unorm.install
@@ -1 +1 @@
-unorm.js usr/share/javascript/unorm/
+lib/unorm.js usr/share/javascript/unorm/
diff --git a/debian/node-unorm.examples b/debian/node-unorm.examples
index a5c8735..4cd66f8 100644
--- a/debian/node-unorm.examples
+++ b/debian/node-unorm.examples
@@ -1 +1 @@
-example.js
\ No newline at end of file
+examples/*
\ No newline at end of file
diff --git a/debian/node-unorm.install b/debian/node-unorm.install
index 252bb78..e4ca2f9 100644
--- a/debian/node-unorm.install
+++ b/debian/node-unorm.install
@@ -1 +1 @@
-unorm.js usr/lib/nodejs/
+lib/unorm.js usr/lib/nodejs/
diff --git a/debian/node-unorm.links b/debian/node-unorm.links
deleted file mode 100644
index 4a33c0f..0000000
--- a/debian/node-unorm.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/nodejs/unorm.js usr/share/doc/node-unorm/examples/lib/unorm.js
\ No newline at end of file
diff --git a/debian/patches/001_debian-unorm-examples.patch b/debian/patches/001_debian-unorm-examples.patch
deleted file mode 100644
index a063d72..0000000
--- a/debian/patches/001_debian-unorm-examples.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-Description: Adapt module import in example files to Debian package
-Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
---- a/example.js
-+++ b/example.js
-@@ -1,4 +1,4 @@
--var unorm = require('unorm');
-+var unorm = require('./lib/unorm');
- 
- // Function to display Unicode codepoints of a string.
- function codepoints(string) {
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 65aefd7..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-001_debian-unorm-examples.patch
diff --git a/debian/rules b/debian/rules
index 26fe52a..218df65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,3 @@
 
 %:
 	dh $@
-
-override_dh_auto_install:
-	cp -a index.js unorm.js
-
-override_dh_auto_clean:
-	rm -f unorm.js
-

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



More information about the Pkg-javascript-commits mailing list