diff options
author | Michael Schroeder <mls@suse.de> | 2013-07-25 17:38:52 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-07-25 17:39:15 +0200 |
commit | 27c054b4871ce52ea23347651c40e0922ea34e96 (patch) | |
tree | 71e2c641b1ae1fdf2d778f30452341eb8ab01271 /bindings | |
parent | e8f6db53978a0c2de631e76658438a7c87e5c39d (diff) | |
download | libsolv-27c054b4871ce52ea23347651c40e0922ea34e96.tar.gz libsolv-27c054b4871ce52ea23347651c40e0922ea34e96.tar.bz2 libsolv-27c054b4871ce52ea23347651c40e0922ea34e96.zip |
rename rpmdb_pubkey to pubkey
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/solv.i | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bindings/solv.i b/bindings/solv.i index 1e2e7fe..0410466 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -410,8 +410,8 @@ typedef int bool; #ifdef ENABLE_RPMDB #include "repo_rpmdb.h" #endif -#ifdef ENABLE_RPMDB_PUBKEYS -#include "repo_rpmdb_pubkey.h" +#ifdef ENABLE_PUBKEY +#include "repo_pubkey.h" #endif #ifdef ENABLE_DEBIAN #include "repo_deb.h" @@ -1439,10 +1439,12 @@ rb_eval_string( return new_XSolvable($self->pool, repo_add_rpm($self, name, flags)); } #endif -#ifdef ENABLE_RPMDB_PUBKEYS +#ifdef ENABLE_PUBKEY +#ifdef ENABLE_RPMDB bool add_rpmdb_pubkeys(int flags = 0) { return repo_add_rpmdb_pubkeys($self, flags) == 0; } +#endif %newobject add_pubkey; XSolvable *add_pubkey(const char *key, int flags = 0) { return new_XSolvable($self->pool, repo_add_pubkey($self, key, flags)); |