libopkg: avoid aggregating multiple identical providers
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 14:56:14 +0000 (15:56 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 16 Feb 2017 16:02:30 +0000 (17:02 +0100)
commitd0c19b8412895628c77f421f1a6d4afcb8f1153d
treef64691880d0451badfcb11037b52d0237a043051
parente312c58db0d2c4c647a1bf64782965ad1f6560c1
libopkg: avoid aggregating multiple identical providers

Since we might do multiple parsing runs over the feed list files in the
future, ensure that we do not insert the abstract provider package multiple
times into the provided_by vector.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg_depends.c