Control: tag -1 patch

Hi! I have a debdiff fixing this.

The README.Debian file mentioned vim-addons, and I removed the file. As far as 
I can see, vim-tabular was activated automatically in the postinst script.
diffstat for vim-tabular-1.0 vim-tabular-1.0

 README.Debian            |   19 -------------------
 control                  |    4 ++--
 vim-tabular.install      |    9 ++++-----
 vim-tabular.neovim-addon |    1 +
 vim-tabular.postinst     |   41 -----------------------------------------
 vim-tabular.preinst      |   38 --------------------------------------
 vim-tabular.prerm        |   39 ---------------------------------------
 vim-tabular.vim-addon    |    1 +
 vim-tabular.yaml         |    8 --------
 9 files changed, 8 insertions(+), 152 deletions(-)

diff -Nru vim-tabular-1.0/debian/control vim-tabular-1.0/debian/control
--- vim-tabular-1.0/debian/control	2020-03-18 04:53:16.000000000 +0300
+++ vim-tabular-1.0/debian/control	2020-03-18 05:09:15.000000000 +0300
@@ -2,7 +2,7 @@
 Section: editors
 Priority: optional
 Maintainer: Andrea Capriotti <capri...@debian.org>
-Build-Depends: debhelper-compat (= 12)
+Build-Depends: debhelper-compat (= 12), dh-sequence-vim-addon
 Standards-Version: 4.5.0
 Homepage: https://github.com/godlygeek/tabular
 Vcs-Git: https://salsa.debian.org/debian/vim-tabular.git
@@ -10,7 +10,7 @@
 
 Package: vim-tabular
 Architecture: all
-Depends: vim, vim-addon-manager, ${misc:Depends}
+Depends: ${misc:Depends}, ${vim-addon:Depends}
 Description: Vim script for text filtering and alignment
  Sometimes, it's useful to line up text. Naturally, it's nicer to have the
  computer do this for you, since aligning things by hand quickly becomes
diff -Nru vim-tabular-1.0/debian/README.Debian vim-tabular-1.0/debian/README.Debian
--- vim-tabular-1.0/debian/README.Debian	2020-03-18 04:52:22.000000000 +0300
+++ vim-tabular-1.0/debian/README.Debian	1970-01-01 03:00:00.000000000 +0300
@@ -1,19 +0,0 @@
-vim-tabular for Debian
-----------------------
-Enabling the addons
-===================
-
-This package provides a "tabular" addon for the vim text editor.
-It is not enabled by default. To enable it for you only, run:
-
-$ vim-addons install tabular
-
-Similarly, to enable it for all users of this system just
-execute (as root):
-
-# vim-addons -w install tabular
-
-vim-addons is provided by the vim-addon-manager package, have a look at its
-manpage for more information.
-
- -- Andrea Capriotti <capri...@debian.org>  Mon, 27 Jan 2014 15:56:06 +0100
diff -Nru vim-tabular-1.0/debian/vim-tabular.install vim-tabular-1.0/debian/vim-tabular.install
--- vim-tabular-1.0/debian/vim-tabular.install	2020-03-18 04:52:22.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.install	2020-03-18 05:09:15.000000000 +0300
@@ -1,5 +1,4 @@
-doc/                          usr/share/vim/addons
-plugin/                       usr/share/vim/addons
-autoload/                     usr/share/vim/addons
-after/                        usr/share/vim/addons
-debian/vim-tabular.yaml     usr/share/vim/registry
+after    usr/share/vim-tabular
+autoload usr/share/vim-tabular
+doc      usr/share/vim-tabular
+plugin   usr/share/vim-tabular
diff -Nru vim-tabular-1.0/debian/vim-tabular.neovim-addon vim-tabular-1.0/debian/vim-tabular.neovim-addon
--- vim-tabular-1.0/debian/vim-tabular.neovim-addon	1970-01-01 03:00:00.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.neovim-addon	2020-03-18 05:09:15.000000000 +0300
@@ -0,0 +1 @@
+usr/share/vim-tabular tabular
diff -Nru vim-tabular-1.0/debian/vim-tabular.postinst vim-tabular-1.0/debian/vim-tabular.postinst
--- vim-tabular-1.0/debian/vim-tabular.postinst	2020-03-18 04:52:22.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.postinst	1970-01-01 03:00:00.000000000 +0300
@@ -1,41 +0,0 @@
-#! /bin/bash
-# postinst script for vim-tabular
-#
-# see: dh_installdeb(1)
-
-set -e
-
-
-# summary of how this script can be called:
-#       * <postinst> `configure' <most-recently-configured-version>
-#       * <old-postinst> `abort-upgrade' <new version>
-#       * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#         <new-version>
-#       * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#         <failed-install-package> <version> `removing'
-#         <conflicting-package> <version>
-#
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
-    configure)
-        vim-addon-manager -w install tabular
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru vim-tabular-1.0/debian/vim-tabular.preinst vim-tabular-1.0/debian/vim-tabular.preinst
--- vim-tabular-1.0/debian/vim-tabular.preinst	2020-03-18 04:52:22.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.preinst	1970-01-01 03:00:00.000000000 +0300
@@ -1,38 +0,0 @@
-#!/bin/sh
-# preinst script for vim-tabular
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    install|upgrade)
-        if [ "$(vim-addons status | grep tabular | awk '{print $3}')" = "installed" ] ; then
-                vim-addon-manager -w remove tabular
-        fi
-    ;;
-
-    abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru vim-tabular-1.0/debian/vim-tabular.prerm vim-tabular-1.0/debian/vim-tabular.prerm
--- vim-tabular-1.0/debian/vim-tabular.prerm	2020-03-18 04:52:22.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.prerm	1970-01-01 03:00:00.000000000 +0300
@@ -1,39 +0,0 @@
-#!/bin/sh
-# prerm script for vim-tabular
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade|deconfigure)
-            vim-addon-manager -w remove tabular
-    ;;
-
-    failed-upgrade)
-    ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru vim-tabular-1.0/debian/vim-tabular.vim-addon vim-tabular-1.0/debian/vim-tabular.vim-addon
--- vim-tabular-1.0/debian/vim-tabular.vim-addon	1970-01-01 03:00:00.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.vim-addon	2020-03-18 05:09:15.000000000 +0300
@@ -0,0 +1 @@
+usr/share/vim-tabular tabular
diff -Nru vim-tabular-1.0/debian/vim-tabular.yaml vim-tabular-1.0/debian/vim-tabular.yaml
--- vim-tabular-1.0/debian/vim-tabular.yaml	2020-03-18 04:52:22.000000000 +0300
+++ vim-tabular-1.0/debian/vim-tabular.yaml	1970-01-01 03:00:00.000000000 +0300
@@ -1,8 +0,0 @@
-addon: tabular
-description: "Vim script for text filtering and alignment"
-disabledby: "let g:tabular_loaded = 1"
-files:
-  - after/plugin/TabularMaps.vim
-  - autoload/tabular.vim
-  - doc/Tabular.txt
-  - plugin/Tabular.vim

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to