1 Index: git/configure.ac
2 ===================================================================
3 --- git.orig/configure.ac 2009-10-05 17:05:14.000000000 +0100
4 +++ git/configure.ac 2009-10-05 21:02:48.000000000 +0100
12 AC_MSG_CHECKING([for available nbtk version])
13 PKG_CHECK_EXISTS(nbtk-1.2,
14 Index: git/src/mai-package.c
15 ===================================================================
16 --- git.orig/src/mai-package.c 2009-10-05 17:05:06.000000000 +0100
17 +++ git/src/mai-package.c 2009-10-05 21:01:57.000000000 +0100
21 /* FIXME make conditional. */
22 -#include <rpm/rpmlib.h>
23 +#include <libopkg/opkg.h>
25 #include "mai-model-priv.h"
26 #include "mai-package.h"
29 if (priv->package_id &&
31 - rpmvercmp (version, priv->version) < 0)
32 + opkg_compare_versions (version, priv->version) < 0)
34 g_debug (" skipping '%s'", version);
39 /* FIXME support deb. */
40 - return rpmvercmp (priv->version, version);
41 + return opkg_compare_versions (priv->version, version);