Merge changes made to SLE11 to be included in trunk
authorJosef Reidinger <jreidinger@suse.cz>
Tue, 28 Feb 2012 13:11:58 +0000 (13:11 +0000)
committerJosef Reidinger <jreidinger@suse.cz>
Tue, 28 Feb 2012 13:11:58 +0000 (13:11 +0000)
Merge remote branch 'origin/SuSE-SLE-11-SP2-Branch'

Conflicts:
CMakeLists.txt
libzypp-bindings.spec.cmake
package/libzypp-bindings.changes

1  2 
swig/Callbacks.i

@@@ -34,8 -34,9 +34,10 @@@ static Target_Type action_abort(
      if (value == Qnil)
        value = ID2SYM(rb_intern("abort"));
      return value;
+ #else
+   return Target_String("abort");
  #endif
 +    return 0; // fallback
    }
  
  static Target_Type action_retry()
      if (value == Qnil)
        value = ID2SYM(rb_intern("retry"));
      return value;
+ #else
+   return Target_String("retry");
  #endif
 +    return 0; // fallback
    }
  
  static Target_Type action_ignore()
      if (value == Qnil)
        value = ID2SYM(rb_intern("ignore"));
      return value;
+ #else
+   return Target_String("ignore");
  #endif
 +    return 0; // fallback
    }
  
  /*
@@@ -73,11 -76,9 +79,10 @@@ static Target_Type error_no_error(
      if (value == Qnil)
        value = ID2SYM(rb_intern("no_error"));
      return value;
- #endif
- #if defined(SWIGPYTHON)
+ #else
    return Target_String("no_error");
  #endif
 +    return 0; // fallback
    }
  
  static Target_Type error_not_found()
      if (value == Qnil)
        value = ID2SYM(rb_intern("not_found"));
      return value;
- #endif
- #if defined(SWIGPYTHON)
+ #else
    return Target_String("not_found");
  #endif
 +    return 0; // fallback
    }
  
  static Target_Type error_io()
      if (value == Qnil)
        value = ID2SYM(rb_intern("io"));
      return value;
- #endif
- #if defined(SWIGPYTHON)
+ #else
    return Target_String("io");
  #endif
 +    return 0; // fallback
    }
  
  static Target_Type error_invalid()
      if (value == Qnil)
        value = ID2SYM(rb_intern("invalid"));
      return value;
- #endif
- #if defined(SWIGPYTHON)
+ #else
    return Target_String("invalid");
  #endif
 +    return 0; // fallback
    }
  
  /*