Control: tags 900816 + patch
Control: tags 900816 + pending

Dear maintainer,

I've prepared an NMU for cdargs (versioned as 1.35-11.1) and
uploaded it to DELAYED/05. Please feel free to tell me if I
should delay it longer.
diff -Nru cdargs-1.35/debian/cdargs.emacsen-install cdargs-1.35/debian/cdargs.emacsen-install
--- cdargs-1.35/debian/cdargs.emacsen-install	2016-12-25 09:09:07.000000000 +0800
+++ cdargs-1.35/debian/cdargs.emacsen-install	2018-07-23 18:45:30.000000000 +0800
@@ -14,7 +14,9 @@
 # Create symlinks to the .el files (see section 6E in debian-emacs
 # polcy).  This makes complation easy, and also allows find-function
 # and find-library to work properly.
-(cd ${elc_dir} && cp -s ../../../emacs/site-lisp/cdargs/*.el .)
+if [ ${FLAVOR} != "emacs" ]; then
+    (cd ${elc_dir} && cp -s ../../../emacs/site-lisp/cdargs/*.el .)
+fi
 
 # Byte compile them
 (cd ${elc_dir} && ${FLAVOR} ${byte_compile_options} *.el > /dev/null 2>&1)
diff -Nru cdargs-1.35/debian/cdargs.emacsen-remove cdargs-1.35/debian/cdargs.emacsen-remove
--- cdargs-1.35/debian/cdargs.emacsen-remove	2016-12-25 09:12:56.000000000 +0800
+++ cdargs-1.35/debian/cdargs.emacsen-remove	2018-07-23 18:47:15.000000000 +0800
@@ -8,7 +8,11 @@
 
 echo remove/cdargs: purging byte-compiled files for ${FLAVOR}
 rm -f ${elc_dir}/*.elc
-rm -f ${elc_dir}/*.el
+
+if [ ${FLAVOR} != "emacs" ]; then
+    rm -f ${elc_dir}/*.el
+fi
+
 if test -e ${elc_dir}; then
   rmdir --ignore-fail-on-non-empty ${elc_dir}
 fi
diff -Nru cdargs-1.35/debian/changelog cdargs-1.35/debian/changelog
--- cdargs-1.35/debian/changelog	2016-12-25 09:38:04.000000000 +0800
+++ cdargs-1.35/debian/changelog	2018-07-23 18:47:15.000000000 +0800
@@ -1,3 +1,11 @@
+cdargs (1.35-11.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Modify cdargs.emacsen-{install,remove} to handle unversioned emacs.
+    (Closes: #900816).
+
+ -- David Bremner <brem...@debian.org>  Mon, 23 Jul 2018 18:47:15 +0800
+
 cdargs (1.35-11) unstable; urgency=medium
 
   * Bump debhelper compatibility level to 10

Reply via email to