From: Arne Fitzenreiter Date: Mon, 21 Nov 2016 19:28:03 +0000 (+0100) Subject: Explicetly set libsolv disttype X-Git-Tag: 0.9.28~1299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2539f45d7c4417b44497c5d5968c3b85ea4d3738;p=pakfire.git Explicetly set libsolv disttype This will define what is assumed to be "noarch" and on Debian/Ubuntu-based systems this will default to something else. If MULTI_SEMANTICS is enabled in libsolv, this will allow us to use "noarch" as independent architecture. Signed-off-by: Arne Fitzenreiter --- diff --git a/src/_pakfire/pool.c b/src/_pakfire/pool.c index 6cb8287fa..fa23fadb7 100644 --- a/src/_pakfire/pool.c +++ b/src/_pakfire/pool.c @@ -58,6 +58,7 @@ PyObject* Pool_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { pool_setdebuglevel(self->_pool, 1); #endif + pool_setdisttype(self->_pool, DISTTYPE_RPM); pool_setarch(self->_pool, arch); if (self->_pool == NULL) { Py_DECREF(self);