metadata: always resolve dependencies through provides list
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 8 Jan 2018 11:17:30 +0000 (12:17 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 13 Jan 2018 18:54:44 +0000 (19:54 +0100)
commit47d6b05ad328e80e4ee05e48aa95462f3518c014
treec1caa85b174473b25be2f5889cf4857529f13caf
parent565de8b8a8b3532d07abba7a083763ac31ca28ee
metadata: always resolve dependencies through provides list

Instead of adding virtual packages to the normal package list, keep a
separate list for provides, make each package provide itself, and resolve
all dependencies through this list. This allows to use PROVIDES to replace
existing packages.

Fixes FS#837.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
scripts/feeds
scripts/metadata.pm
scripts/package-metadata.pl