- renamed ruby module to zypp
authorArvin Schnell <aschnell@suse.de>
Wed, 22 Aug 2007 10:57:14 +0000 (10:57 +0000)
committerArvin Schnell <aschnell@suse.de>
Wed, 22 Aug 2007 10:57:14 +0000 (10:57 +0000)
14 files changed:
VERSION.cmake
examples/ruby/exception.rb
examples/ruby/list_target_resolvables.rb
examples/ruby/mediasetaccess_example.rb
examples/ruby/parse1.rb
examples/ruby/parse2.rb
examples/ruby/play_with_pool_and_target.rb
examples/ruby/play_with_repos.rb
examples/ruby/test.rb
examples/ruby/test2.rb
libzypp-bindings.spec.cmake
package/libzypp-bindings.changes
swig/ruby/CMakeLists.txt
swig/zypp.i

index 2209c6d..d239824 100644 (file)
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "0")
 SET(VERSION_MINOR "4")
-SET(VERSION_PATCH "1")
+SET(VERSION_PATCH "2")
index daddd51..d797698 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 tmp_cache_path = TmpDir.new()
 tmp_raw_cache_path = TmpDir.new()
index da88a0d..f1d0d9b 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 z = ZYppFactory::instance.get_zypp
 # puts z.class
index 424a387..012eddf 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 a = MediaSetAccess.new("http://dist.suse.de/install/stable-x86", "/")
 p = a.provide_file("/content", 1)
index 3288b25..7d60e55 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 tmp_cache_path = TmpDir.new()
 tmp_raw_cache_path = TmpDir.new()
index b6240d4..6e08128 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 tmp_cache_path = TmpDir.new()
 tmp_raw_cache_path = TmpDir.new()
index 945424d..6774b86 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 z = ZYppFactory::instance.get_zypp
 
@@ -18,4 +18,3 @@ p.each do | pi |
   exit
 end
 
-
index 5babf55..c7cdf17 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 a = Arch.new("i386")
 puts a.to_s
index 1ad8b56..4bd1e9a 100644 (file)
@@ -1,6 +1,6 @@
 
-require 'rzypp'
-include Rzypp
+require 'zypp'
+include Zypp
 
 a = Arch.new("i386")
 puts a.inspect
index 0056627..ed80741 100644 (file)
@@ -1,8 +1,7 @@
 
-require 'rzypp'
+require 'zypp'
 require 'pathname'
-
-include Rzypp
+include Zypp
 
 z = ZYppFactory::instance.get_zypp
 
@@ -16,4 +15,3 @@ puts z.target.class
 puts t.class
 #puts t.methods
 
-
index 3158cae..491e9aa 100644 (file)
@@ -53,7 +53,7 @@ Group:          Development/Languages/Ruby
 
 %files -n ruby-zypp
 %defattr(-,root,root,-)
-%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/rzypp.so
+%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/zypp.so
 
 %package -n python-zypp
 Summary:        Python bindings for libzypp
index 6fa48b0..ac05747 100644 (file)
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Wed Aug 22 12:58:05 CEST 2007 - aschnell@suse.de
+
+- renamed ruby module to zypp
+
+-------------------------------------------------------------------
 Fri Aug 17 14:37:06 CEST 2007 - aschnell@suse.de
 
 - moved ruby files to vendor_ruby (bug #301127)
index 8000506..78108d7 100644 (file)
@@ -23,14 +23,14 @@ ADD_CUSTOM_TARGET( glue
    DEPENDS ${SWIG_OUTPUT}
 )
 
-ADD_LIBRARY( rzypp SHARED "${CMAKE_CURRENT_BINARY_DIR}/zypp_wrap.cxx" )
-SET_TARGET_PROPERTIES( rzypp PROPERTIES PREFIX "" )
-ADD_DEPENDENCIES( rzypp glue )
+ADD_LIBRARY( zypp SHARED "${CMAKE_CURRENT_BINARY_DIR}/zypp_wrap.cxx" )
+SET_TARGET_PROPERTIES( zypp PROPERTIES PREFIX "" )
+ADD_DEPENDENCIES( zypp glue )
 
 INCLUDE_DIRECTORIES( ${RUBY_INCLUDE_PATH} )
 INCLUDE_DIRECTORIES( ${ZYPP_INCLUDE_DIR} )
-TARGET_LINK_LIBRARIES( rzypp ${ZYPP_LIBRARY} )
-TARGET_LINK_LIBRARIES( rzypp ${RUBY_LIBRARY} )
+TARGET_LINK_LIBRARIES( zypp ${ZYPP_LIBRARY} )
+TARGET_LINK_LIBRARIES( zypp ${RUBY_LIBRARY} )
 
-INSTALL(TARGETS rzypp LIBRARY DESTINATION ${RUBY_VENDOR_ARCH_DIR} )
+INSTALL(TARGETS zypp LIBRARY DESTINATION ${RUBY_VENDOR_ARCH_DIR})
 
index c8109bb..722ca3f 100644 (file)
@@ -1,8 +1,4 @@
-#ifdef SWIGRUBY
-%module rzypp
-#else
 %module zypp
-#endif
 
 %{
 /* Includes the header in the wrapper code */