scripts/metadata.pm: avoid adding dup names in provides list
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 5 Sep 2018 15:29:25 +0000 (15:29 +0000)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 10:28:12 +0000 (11:28 +0100)
commitf5cf9b265f7825e54286d4dfc994e56ec722c0c5
treea84a1dc9b481edd693b45ec162f564f7263303cf
parent0dbafc3a3a9becad5b50e9c2f8c86cc9eac0bfba
scripts/metadata.pm: avoid adding dup names in provides list

The need arises from building Open vSwitch kernel datapath modules, e.g.

 - kmod-openvswitch from Linux upstream
 - kmod-openvswitch-intree from openvswitch source code

where both provides virtual package "kmod-openvswitch" for userspace
packages to select and depend on

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(backported from 204081670b914795a494929777f09807b15f70f4)
scripts/metadata.pm