%ignore zypp::Target::reset;
+#if ZYPP_VERSION > 631
namespace zypp
{
// Redefine nested class in global scope for SWIG
struct DistributionLabel {};
}
+#endif
%include <zypp/Target.h>
namespace zypp
{
typedef intrusive_ptr<Target> Target_Ptr;
%template(Target_Ptr) intrusive_ptr<Target>;
}
+#if ZYPP_VERSION > 631
%{
namespace zypp
{
typedef Target::DistributionLabel DistributionLabel;
}
%}
+#endif
\ No newline at end of file
-
+#if ZYPP_VERSION > 615
#ifdef SWIGRUBY
%rename("dryRun=") ZYppCommitPolicy::dryRun(bool);
%rename("rpmNoSignature=") ZYppCommitPolicy::rpmNoSignature(bool);
%include <zypp/DownloadMode.h>
%include <zypp/ZYppCommitPolicy.h>
+#endif
\ No newline at end of file