[Pkg-javascript-devel] Bug#817255: node-clean-css: diff for NMU version 1.0.12-2
Tobias Frost
tobi at debian.org
Sat May 28 15:08:26 UTC 2016
Control: tags 817255 + patch
Dear maintainer,
I've prepared an Team-Uplod for node-clean-css (versioned as 1.0.12-2). The diff
is attached to this message.
The changes will be pushed to collab-maint.
Regards.
diff -Nru node-clean-css-1.0.12/debian/changelog node-clean-css-1.0.12/debian/changelog
--- node-clean-css-1.0.12/debian/changelog 2013-07-21 18:04:39.000000000 +0200
+++ node-clean-css-1.0.12/debian/changelog 2016-05-28 17:06:12.000000000 +0200
@@ -1,3 +1,15 @@
+node-clean-css (1.0.12-2) UNRELEASED; urgency=medium
+
+ [ Tobias Frost ]
+ * Team upload. (Collab-maint)
+ * Don't install package.json to /usr/share/doc, but to /usr/share/
+ (Closes: #817255)
+
+ [ David Prévot ]
+ * Fix cleancss.1 manpage
+
+ -- Mike Gabriel <sunweaver at debian.org> Sun, 21 Jul 2013 18:04:36 +0200
+
node-clean-css (1.0.12-1) unstable; urgency=low
* New upstream release.
diff -Nru node-clean-css-1.0.12/debian/cleancss.1 node-clean-css-1.0.12/debian/cleancss.1
--- node-clean-css-1.0.12/debian/cleancss.1 2013-05-26 14:25:22.000000000 +0200
+++ node-clean-css-1.0.12/debian/cleancss.1 2016-05-28 16:37:57.000000000 +0200
@@ -15,7 +15,7 @@
\fBcleancss\fR \kx
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
'in \n(.iu+\nxu
-\fI[options] <source\-file>\fR
+.RI [ options ]\ source\-file
'in \n(.iu-\nxu
.ad b
'hy
@@ -44,10 +44,14 @@
.TP
\*(T<\fB\-\-s1\fR\*(T>
Remove all special comments but the first one
-\*(T<\fB\-r, \-\-root\-path [root\-path]\fR\*(T>
+.TP
+\*(T<\fB\-r, \-\-root\-path \fIroot\-path\fR\*(T>
Set a root path to which resolve absolute @import rules
-\*(T<\fB\-o, \-\-output [output\-file]\fR\*(T>
-Use [output\-file] as output instead of stdout
+.TP
+\*(T<\fB\-o, \-\-output \fIoutput\-file\fR\*(T>
+Use
+.I output\-file
+as output instead of stdout
.SH EXAMPLES
$ cleancss one.css
.PP
@@ -58,7 +62,7 @@
$ cat one.css two.css three.css | cleancss | \ \\
gzip \-9 \-c > merged\-minified\-and\-gzipped.css.gz
.SH "SEE ALSO"
-\fB/usr/share/doc/node\-clean\-css\fR
+\fI/usr/share/doc/node\-clean\-css\fR
.SH AUTHOR
This manual has been written for the Debian project by
Mike Gabriel <mike.gabriel at das\-netzwerkteam.de> and may be used by others.
diff -Nru node-clean-css-1.0.12/debian/node-clean-css.docs node-clean-css-1.0.12/debian/node-clean-css.docs
--- node-clean-css-1.0.12/debian/node-clean-css.docs 2013-05-26 13:27:30.000000000 +0200
+++ node-clean-css-1.0.12/debian/node-clean-css.docs 2016-05-28 16:58:55.000000000 +0200
@@ -1,5 +1,3 @@
README.md
-package.json
test
bench
-
diff -Nru node-clean-css-1.0.12/debian/node-clean-css.install node-clean-css-1.0.12/debian/node-clean-css.install
--- node-clean-css-1.0.12/debian/node-clean-css.install 2013-05-26 14:46:31.000000000 +0200
+++ node-clean-css-1.0.12/debian/node-clean-css.install 2016-05-28 16:47:04.000000000 +0200
@@ -1 +1,2 @@
lib/* usr/lib/nodejs/clean-css/
+package.json usr/share/node-clean-css/
diff -Nru node-clean-css-1.0.12/debian/patches/002_load-global-cleancss.patch node-clean-css-1.0.12/debian/patches/002_load-global-cleancss.patch
--- node-clean-css-1.0.12/debian/patches/002_load-global-cleancss.patch 2013-05-26 13:42:23.000000000 +0200
+++ node-clean-css-1.0.12/debian/patches/002_load-global-cleancss.patch 2016-05-28 16:43:24.000000000 +0200
@@ -12,7 +12,7 @@
var commands = require('commander');
-var packageConfig = fs.readFileSync(path.join(path.dirname(fs.realpathSync(process.argv[1])), '../package.json'));
-+var packageConfig = fs.readFileSync('/usr/share/doc/node-clean-css/package.json');
++var packageConfig = fs.readFileSync('/usr/share/node-clean-css/package.json');
var buildVersion = JSON.parse(packageConfig).version;
var isWindows = process.platform == 'win32';
More information about the Pkg-javascript-devel
mailing list