libxbps: the provides obj now expects exact pkgver strings.

This reduces extra allocs and simplifies the code, which was just
there to workaround some broken pkgs anyway.
This commit is contained in:
Juan RP
2015-01-10 07:26:23 +01:00
parent dc157614d0
commit 7b3a500139
4 changed files with 18 additions and 66 deletions

4
NEWS
View File

@@ -1,5 +1,9 @@
xbps-0.44 (???):
* libxbps: the provides obj (array of strings) now fully expects exact
pkgver strings, such as `foo-1.0_1`. Incomplete components such as
`pkgname` or `pkgname-9` are not accepted anymore.
* libxbps: detection of orphaned pkgs is now 66% faster (and even more in some cases).
This improves the performance of `xbps-remove -R` (recursively remove a pkg
and its dependencies) and `xbps-remove -o` (remove orphaned pkgs) marginally.