From df1608d47d3f990ea63b4c9767e2da4d069dde4e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 26 Dec 2014 15:53:02 +0100 Subject: [PATCH] xbps-pkgdb: drop `packaged-with` from pkgdb; unnecessary and obsolete. --- NEWS | 3 +++ bin/xbps-pkgdb/check_pkg_unneeded.c | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 61e64fd1..545e0dda 100644 --- a/NEWS +++ b/NEWS @@ -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): diff --git a/bin/xbps-pkgdb/check_pkg_unneeded.c b/bin/xbps-pkgdb/check_pkg_unneeded.c index f750efcf..d2249304 100644 --- a/bin/xbps-pkgdb/check_pkg_unneeded.c +++ b/bin/xbps-pkgdb/check_pkg_unneeded.c @@ -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");