vim: variants conflict with each other

This adds conflicts between the variants,
because they provide the same files, and it should not be
possible to install them side by side. Otherwise, it might happen that
half files would be from one variant and the other half from the
other.

Also, adds provides as if you request to install ``vim`` and
``vim-full``, then the request could be satisfied even they collide,
because ``vim-full`` provides ``vim`` package.

Signed-off-by: Karel Kočí <cynerd@email.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[add commit message]
(cherry picked from commit 46c058468a)
This commit is contained in:
Karel Kočí 2022-08-22 14:31:21 +02:00 committed by Josef Schlehofer
parent 268efbeddd
commit d4cc947570
No known key found for this signature in database
GPG Key ID: B950216FE4329F4C
1 changed files with 4 additions and 0 deletions

View File

@ -41,12 +41,16 @@ endef
define Package/vim-full
$(call Package/vim/Default)
TITLE+= (Normal)
PROVIDES:=vim
CONFLICTS:=vim
endef
define Package/vim-fuller
$(call Package/vim/Default)
TITLE+= (Big)
PROVIDES:=vim vim-full
CONFLICTS:=vim vim-full
endef
define Package/vim-runtime