xbps-pkgdb: drop packaged-with from pkgdb; unnecessary and obsolete.

This commit is contained in:
Juan RP 2014-12-26 15:53:02 +01:00
parent 7baf7fe4cd
commit df1608d47d
2 changed files with 4 additions and 0 deletions

3
NEWS
View File

@ -1,5 +1,8 @@
xbps-0.43 (???):
* xbps-pkgdb(8): the `packaged-with` string obj is removed from pkgdb.
Since 0.42 that object is unnecessary and is being obsoleted.
* libfetch: fix races in the cache connection code.
xbps-0.42 (2014-12-22):

View File

@ -54,6 +54,7 @@ check_pkg_unneeded(struct xbps_handle *xhp _unused, const char *pkgname, void *a
xbps_dictionary_remove(pkgd, "remove-and-update");
xbps_dictionary_remove(pkgd, "transaction");
xbps_dictionary_remove(pkgd, "skip-obsoletes");
xbps_dictionary_remove(pkgd, "packaged-with");
if (xbps_dictionary_get_cstring_nocopy(pkgd, "repository-origin", &repo)) {
xbps_dictionary_set_cstring(pkgd, "repository", repo);
xbps_dictionary_remove(pkgd, "repository-origin");