scripts/package-metadata.pl: fix handling of virtual (PROVIDES) depends
authorJo-Philipp Wich <jo@mein.io>
Thu, 13 Oct 2016 00:48:32 +0000 (02:48 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 2 Nov 2016 00:01:34 +0000 (01:01 +0100)
commitf64360c7ca8b09e73840b4e633531b372f02bdaf
treef27e1be166c8f1412deaa2a34d985e6851d22c87
parentb7f7e9fe424bc80bf89d3ebb18adcac412e4047f
scripts/package-metadata.pl: fix handling of virtual (PROVIDES) depends

Currently the code emitting dependencies for provide candidates is overwriting
the specification calculated by the previous conditional dependency handling
code, rendering dependencies on virtual PROVIDES packages in conjunction with
conditional dependencies unusable.

Instead of overwriting, append the PROVIDES dependency spec in order to fix
using DEPENDS on virtual provider packages in conjunction with conditions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
scripts/package-metadata.pl