summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-07-25 17:38:52 +0200
committerMichael Schroeder <mls@suse.de>2013-07-25 17:39:15 +0200
commit27c054b4871ce52ea23347651c40e0922ea34e96 (patch)
tree71e2c641b1ae1fdf2d778f30452341eb8ab01271 /examples
parente8f6db53978a0c2de631e76658438a7c87e5c39d (diff)
downloadlibsolv-27c054b4871ce52ea23347651c40e0922ea34e96.tar.gz
libsolv-27c054b4871ce52ea23347651c40e0922ea34e96.tar.bz2
libsolv-27c054b4871ce52ea23347651c40e0922ea34e96.zip
rename rpmdb_pubkey to pubkey
Diffstat (limited to 'examples')
-rw-r--r--examples/solv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/solv.c b/examples/solv.c
index 293e45d..9b6bd48 100644
--- a/examples/solv.c
+++ b/examples/solv.c
@@ -64,8 +64,8 @@
#include "repo_rpmdb.h"
#include "pool_fileconflicts.h"
#endif
-#ifdef ENABLE_RPMDB_PUBKEY
-#include "repo_rpmdb_pubkey.h"
+#ifdef ENABLE_PUBKEY
+#include "repo_pubkey.h"
#endif
#ifdef ENABLE_DEBIAN
#include "repo_deb.h"
@@ -1008,7 +1008,7 @@ static Pool *
read_sigs()
{
Pool *sigpool = pool_create();
-#if defined(ENABLE_RPMDB_PUBKEY)
+#if defined(ENABLE_PUBKEY) && defined(ENABLE_RPMDB)
Repo *repo = repo_create(sigpool, "rpmdbkeys");
repo_add_rpmdb_pubkeys(repo, 0);
#endif