Hello community,

here is the log from the commit of package rrdtool for openSUSE:Factory checked 
in at 2013-07-12 20:57:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rrdtool (Old)
 and      /work/SRC/openSUSE:Factory/.rrdtool.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rrdtool"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rrdtool/rrdtool.changes  2013-06-06 
15:06:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rrdtool.new/rrdtool.changes     2013-07-12 
20:57:41.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jul 10 15:02:53 UTC 2013 - [email protected]
+
+- rename rrdtool-lua_lib64.patch to rrdtool-lua-ruby_lib64.patch 
+  since it sets libdir for ruby as well
+- Package ruby bindings into ruby-rrdtool package
+
+-------------------------------------------------------------------

Old:
----
  rrdtool-lua_lib64.patch

New:
----
  rrdtool-lua-ruby_lib64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rrdtool.spec ++++++
--- /var/tmp/diff_new_pack.ttvu0X/_old  2013-07-12 20:57:42.000000000 +0200
+++ /var/tmp/diff_new_pack.ttvu0X/_new  2013-07-12 20:57:42.000000000 +0200
@@ -48,7 +48,7 @@
 Release:        0
 %define cgilib_version 0.7
 Source:         http://oss.oetiker.ch/rrdtool/pub/rrdtool-%{version}.tar.gz
-Patch1:         rrdtool-lua_lib64.patch
+Patch1:         rrdtool-lua-ruby_lib64.patch
 Patch2:         rrdtool-tclversion.patch
 Patch3:         rrdtool-tclsegfault.patch
 Source1:        
http://www.infodrom.org/projects/cgilib/download/cgilib-%{cgilib_version}.tar.gz
@@ -243,4 +243,21 @@
 %{tcl_archdir}/*
 %{_libdir}/tclrrd*.so
 
+%package -n ruby-rrdtool
+Summary:        Ruby bindings for rrdtool
+Group:          Productivity/Scientific/Math
+Requires:       ruby
+
+%description -n ruby-rrdtool
+A tool to log and analyze data gathered from all kinds of data sources.
+The data analysis part of RRDtool is based on the ability to quickly
+generate graphical representations of the data values collected over a
+definable time period.
+
+This package contains the Ruby bindings
+
+%files -n ruby-rrdtool
+%defattr(-, root, root)
+%{rb_archdir}/RRD.so
+
 %changelog

++++++ rrdtool-lua-ruby_lib64.patch ++++++
Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -27550,7 +27550,7 @@ fi
 if test "${enable_ruby_site_install+set}" = set; then
   enableval=$enable_ruby_site_install; RUBY_MAKE_OPTIONS=
 else
-  RUBY_MAKE_OPTIONS="sitedir=$langpref/lib/ruby"
+  RUBY_MAKE_OPTIONS="sitedir=$langpref/lib64/ruby"
 fi
 
 
@@ -29316,7 +29316,7 @@ fi
           done
         fi
 
-        LUA_RRD_LIBDIR="$langpref/lib/lua/$lua_vdot"
+        LUA_RRD_LIBDIR="$langpref/lib64/lua/$lua_vdot"
         # if lua 5.0 can't find compat-5.1, force installation of
         # compat-5.1.lua together with RRDtool.
         if test "$lua_vdot" = "5.0" -a "$LUA_HAVE_COMPAT51" != 
"HAVE_COMPAT51"; then
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -675,7 +675,7 @@ fi
 dnl pass additional ruby options when generating Makefile from Makefile.PL
 AC_ARG_ENABLE(ruby-site-install,
 AS_HELP_STRING([--enable-ruby-site-install],[by default the rrdtool ruby 
modules are installed together with rrdtool in $prefix/lib/ruby. You have to 
add $prefix/lib/ruby/$ruby_version/$sitearch to your $: variable for ruby to 
find the RRD.so file.]),
-[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir=$langpref/lib/ruby"])
+[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir=$langpref/lib64/ruby"])
 
     
 AC_ARG_WITH(ruby-options,
@@ -782,7 +782,7 @@ LUA_EOF
           done
         fi
 
-        LUA_RRD_LIBDIR="$langpref/lib/lua/$lua_vdot"
+        LUA_RRD_LIBDIR="$langpref/lib64/lua/$lua_vdot"
         # if lua 5.0 can't find compat-5.1, force installation of
         # compat-5.1.lua together with RRDtool.
         if test "$lua_vdot" = "5.0" -a "$LUA_HAVE_COMPAT51" != 
"HAVE_COMPAT51"; then
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to