[packages/tomoe] - fix config on ruby 2.3 - rel 12

baggins baggins at pld-linux.org
Sun Nov 26 11:04:27 CET 2017


commit 8c7e64207baa46fcd84bb029a0518336f2e6f69e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 26 11:04:00 2017 +0100

    - fix config on ruby 2.3
    - rel 12

 tomoe-ruby.patch | 3 ++-
 tomoe.spec       | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tomoe.spec b/tomoe.spec
index aad4919..7bf16ab 100644
--- a/tomoe.spec
+++ b/tomoe.spec
@@ -8,7 +8,7 @@ Summary:	Handwritten input system for Japanese and Chinese
 Summary(pl.UTF-8):	System wprowadzania pisma ręcznego dla japońskiego i chińskiego
 Name:		tomoe
 Version:	0.6.0
-Release:	20
+Release:	21
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/tomoe/%{name}-%{version}.tar.gz
@@ -184,6 +184,7 @@ Plik nagłówkowy biblioteki Ruby/Tomoe.
 %{__sed} -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' data/xml2est.rb
 
 %build
+%{__gtkdocize}
 %{__libtoolize}
 %{__aclocal} -I macros
 %{__autoconf}
diff --git a/tomoe-ruby.patch b/tomoe-ruby.patch
index aef91a2..e98429d 100644
--- a/tomoe-ruby.patch
+++ b/tomoe-ruby.patch
@@ -5,8 +5,9 @@
    changequote(<<, >>)
    for var_name in archdir sitearchdir CFLAGS LIBRUBYARG libdir \
 -                  sitelibdir sitearchdir; do
+-    rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
 +                  vendorlibdir vendorarchdir rubyhdrdir sitehdrdir arch; do
-     rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"`
++    rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
      eval "rbconfig_$var_name=\"$rbconfig_tmp\""
    done
 +  rbconfig_archhdrdir="$rbconfig_rubyhdrdir/$rbconfig_arch"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomoe.git/commitdiff/8c7e64207baa46fcd84bb029a0518336f2e6f69e



More information about the pld-cvs-commit mailing list