From: Michael Tremer Date: Wed, 13 Jan 2021 19:37:51 +0000 (+0000) Subject: libpakfire: Set pool to RPM format X-Git-Tag: 0.9.28~1285^2~871 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=924755547bcdd33b0bc6d60e157c8250255c50a2;p=pakfire.git libpakfire: Set pool to RPM format On Debian and other non-RPM distributions the default format might be something different which reconfigures evr comparison and the name of the "all" architecture. Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/pakfire.c b/src/libpakfire/pakfire.c index f90199bcb..b4ca51356 100644 --- a/src/libpakfire/pakfire.c +++ b/src/libpakfire/pakfire.c @@ -125,6 +125,7 @@ PAKFIRE_EXPORT int pakfire_create(Pakfire* pakfire, const char* path, const char // Initialize the pool p->pool = pool_create(); + pool_setdisttype(p->pool, DISTTYPE_RPM); // Set architecture of the pool pool_setarch(p->pool, p->arch);