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-fugitive was activated automatically in the postinst script.
diffstat for vim-fugitive-3.4 vim-fugitive-3.4

 README.Debian             |   19 -------------------
 control                   |    4 ++--
 vim-fugitive.install      |   13 ++++++-------
 vim-fugitive.neovim-addon |    1 +
 vim-fugitive.postinst     |   41 -----------------------------------------
 vim-fugitive.preinst      |   38 --------------------------------------
 vim-fugitive.prerm        |   39 ---------------------------------------
 vim-fugitive.vim-addon    |    1 +
 vim-fugitive.yaml         |   11 -----------
 9 files changed, 10 insertions(+), 157 deletions(-)

diff -Nru vim-fugitive-3.4/debian/control vim-fugitive-3.4/debian/control
--- vim-fugitive-3.4/debian/control	2021-10-06 19:42:53.000000000 +0300
+++ vim-fugitive-3.4/debian/control	2021-10-06 19:42:53.000000000 +0300
@@ -2,7 +2,7 @@
 Section: editors
 Priority: optional
 Maintainer: Andrea Capriotti <capri...@debian.org>
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: debhelper-compat (= 13), dh-sequence-vim-addon
 Standards-Version: 4.6.0
 Rules-Requires-Root: no
 Homepage: https://github.com/tpope/vim-fugitive
@@ -11,7 +11,7 @@
 
 Package: vim-fugitive
 Architecture: all
-Depends: vim, vim-addon-manager, ${misc:Depends}
+Depends: ${misc:Depends}, ${vim-addon:Depends}
 Description: Vim plugin to work with Git
  vim-fugitive is a wrapper for Vim that complements the command
  line interface to Git. The plugin provides an interactive status
diff -Nru vim-fugitive-3.4/debian/README.Debian vim-fugitive-3.4/debian/README.Debian
--- vim-fugitive-3.4/debian/README.Debian	2014-01-28 20:14:50.000000000 +0400
+++ vim-fugitive-3.4/debian/README.Debian	1970-01-01 03:00:00.000000000 +0300
@@ -1,19 +0,0 @@
-vim-fugitive for Debian
------------------------
-Enabling the addons
-===================
-
-This package provides a "fugitive" addon for the vim text editor.
-It is not enabled by default. To enable it for you only, run:
-
-$ vim-addons install fugitive
-
-Similarly, to enable it for all users of this system just
-execute (as root):
-
-# vim-addons -w install fugitive
-
-vim-addons is provided by the vim-addon-manager package, have a look at its
-manpage for more information.
-
- -- Andrea Capriotti <capri...@debian.org>  Tue, 28 Jan 2014 14:08:36 +0100
diff -Nru vim-fugitive-3.4/debian/vim-fugitive.install vim-fugitive-3.4/debian/vim-fugitive.install
--- vim-fugitive-3.4/debian/vim-fugitive.install	2021-10-06 19:42:53.000000000 +0300
+++ vim-fugitive-3.4/debian/vim-fugitive.install	2021-10-06 19:42:53.000000000 +0300
@@ -1,7 +1,6 @@
-autoload/                       usr/share/vim/addons
-ftdetect/                       usr/share/vim/addons
-ftplugin/			usr/share/vim/addons
-plugin/                         usr/share/vim/addons
-syntax/				usr/share/vim/addons
-doc/                            usr/share/vim/addons
-debian/vim-fugitive.yaml        usr/share/vim/registry
+autoload usr/share/vim-fugitive
+doc      usr/share/vim-fugitive
+ftdetect usr/share/vim-fugitive
+ftplugin usr/share/vim-fugitive
+plugin   usr/share/vim-fugitive
+syntax   usr/share/vim-fugitive
diff -Nru vim-fugitive-3.4/debian/vim-fugitive.neovim-addon vim-fugitive-3.4/debian/vim-fugitive.neovim-addon
--- vim-fugitive-3.4/debian/vim-fugitive.neovim-addon	1970-01-01 03:00:00.000000000 +0300
+++ vim-fugitive-3.4/debian/vim-fugitive.neovim-addon	2021-10-06 19:42:53.000000000 +0300
@@ -0,0 +1 @@
+usr/share/vim-fugitive fugitive
diff -Nru vim-fugitive-3.4/debian/vim-fugitive.postinst vim-fugitive-3.4/debian/vim-fugitive.postinst
--- vim-fugitive-3.4/debian/vim-fugitive.postinst	2014-06-27 16:34:54.000000000 +0400
+++ vim-fugitive-3.4/debian/vim-fugitive.postinst	1970-01-01 03:00:00.000000000 +0300
@@ -1,41 +0,0 @@
-#! /bin/bash
-# postinst script for vim-fugitive
-#
-# 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 fugitive
-    ;;
-
-    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-fugitive-3.4/debian/vim-fugitive.preinst vim-fugitive-3.4/debian/vim-fugitive.preinst
--- vim-fugitive-3.4/debian/vim-fugitive.preinst	2014-06-27 16:35:43.000000000 +0400
+++ vim-fugitive-3.4/debian/vim-fugitive.preinst	1970-01-01 03:00:00.000000000 +0300
@@ -1,38 +0,0 @@
-#!/bin/sh
-# preinst script for vim-fugitive
-#
-# 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 fugitive | awk '{print $3}')" = "installed" ] ; then
-                vim-addon-manager -w remove fugitive
-        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-fugitive-3.4/debian/vim-fugitive.prerm vim-fugitive-3.4/debian/vim-fugitive.prerm
--- vim-fugitive-3.4/debian/vim-fugitive.prerm	2014-06-27 16:35:16.000000000 +0400
+++ vim-fugitive-3.4/debian/vim-fugitive.prerm	1970-01-01 03:00:00.000000000 +0300
@@ -1,39 +0,0 @@
-#!/bin/sh
-# prerm script for vim-fugitive
-#
-# 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 fugitive
-    ;;
-
-    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-fugitive-3.4/debian/vim-fugitive.vim-addon vim-fugitive-3.4/debian/vim-fugitive.vim-addon
--- vim-fugitive-3.4/debian/vim-fugitive.vim-addon	1970-01-01 03:00:00.000000000 +0300
+++ vim-fugitive-3.4/debian/vim-fugitive.vim-addon	2021-10-06 19:42:53.000000000 +0300
@@ -0,0 +1 @@
+usr/share/vim-fugitive fugitive
diff -Nru vim-fugitive-3.4/debian/vim-fugitive.yaml vim-fugitive-3.4/debian/vim-fugitive.yaml
--- vim-fugitive-3.4/debian/vim-fugitive.yaml	2021-10-06 19:42:53.000000000 +0300
+++ vim-fugitive-3.4/debian/vim-fugitive.yaml	1970-01-01 03:00:00.000000000 +0300
@@ -1,11 +0,0 @@
-addon: fugitive
-description: "A Git wrapper so awesome, it should be illegal"
-disabledby: "let g:loaded_fugitive = 1"
-files:
-  - autoload/fugitive.vim
-  - ftdetect/fugitive.vim
-  - ftplugin/fugitiveblame.vim
-  - plugin/fugitive.vim
-  - syntax/fugitive.vim
-  - syntax/fugitiveblame.vim
-  - doc/fugitive.txt

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

Reply via email to