scripts/package-metadata.pl: fix generation of dependencies on virtual packages
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 23 Sep 2016 21:17:09 +0000 (23:17 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 23 Sep 2016 21:17:09 +0000 (23:17 +0200)
commit6177b649ca8cd11545fe945245b449236ac4bd50
tree6b659b7b5d87b77549c0d12bd74557a9e6a4f1e7
parent4f272dd0323151a1390a8675bafebead0e2a69ad
scripts/package-metadata.pl: fix generation of dependencies on virtual packages

Dependencies on purely virtual packages (satisfied by PROVIDES) that were
not using "selects" ("+" flag) would be prepended with the prefix
"PACKAGE_" twice, breaking the first alternative.

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