summaryrefslogtreecommitdiff
path: root/swig/ZYppCommitPolicy.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/ZYppCommitPolicy.i')
-rw-r--r--swig/ZYppCommitPolicy.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/swig/ZYppCommitPolicy.i b/swig/ZYppCommitPolicy.i
index 2e23231..b0bce36 100644
--- a/swig/ZYppCommitPolicy.i
+++ b/swig/ZYppCommitPolicy.i
@@ -1,4 +1,4 @@
-
+#if ZYPP_VERSION > 615
#ifdef SWIGRUBY
%rename("dryRun=") ZYppCommitPolicy::dryRun(bool);
%rename("rpmNoSignature=") ZYppCommitPolicy::rpmNoSignature(bool);
@@ -7,3 +7,4 @@
%include <zypp/DownloadMode.h>
%include <zypp/ZYppCommitPolicy.h>
+#endif \ No newline at end of file