[packages/hyperestraier] - fix config on ruby 2.3 - rel 9
baggins
baggins at pld-linux.org
Sun Nov 26 10:47:37 CET 2017
commit 4f783e34997e79576db0d50b38b9c44da48c69bb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 26 10:47:17 2017 +0100
- fix config on ruby 2.3
- rel 9
hyperestraier.spec | 2 +-
ruby-vendor.patch | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/hyperestraier.spec b/hyperestraier.spec
index 0008d2d..112abfe 100644
--- a/hyperestraier.spec
+++ b/hyperestraier.spec
@@ -12,7 +12,7 @@ Summary: Full-text search system
Summary(pl.UTF-8): Pełnotekstowy system wyszukiwawczy
Name: hyperestraier
Version: 1.4.13
-Release: 8
+Release: 9
License: LGPL v2.1+
Group: Applications/Text
Source0: http://downloads.sourceforge.net/hyperestraier/%{name}-%{version}.tar.gz
diff --git a/ruby-vendor.patch b/ruby-vendor.patch
index 366adb9..37c1087 100644
--- a/ruby-vendor.patch
+++ b/ruby-vendor.patch
@@ -5,13 +5,13 @@
# Librarh path
-myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("sitelibdir"))'`
-+myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("vendorlibdir"))'`
++myrblibdir=`ruby -rrbconfig -e 'puts(RbConfig::CONFIG.fetch("vendorlibdir"))'`
if test -n "$myrblibdir"
then
MYRBLIBDIR="$myrblibdir"
fi
-myrbarchdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("sitearchdir"))'`
-+myrbarchdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("vendorarchdir"))'`
++myrbarchdir=`ruby -rrbconfig -e 'puts(RbConfig::CONFIG.fetch("vendorarchdir"))'`
if test -n "$myrbarchdir"
then
MYRBARCHDIR="$myrbarchdir"
@@ -22,7 +22,7 @@
# Librarh path
-myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("sitelibdir"))'`
-+myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("vendorlibdir"))'`
++myrblibdir=`ruby -rrbconfig -e 'puts(RbConfig::CONFIG.fetch("vendorlibdir"))'`
if test -n "$myrblibdir"
then
MYRBLIBDIR="$myrblibdir"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hyperestraier.git/commitdiff/4f783e34997e79576db0d50b38b9c44da48c69bb
More information about the pld-cvs-commit
mailing list