From 608d97009e5cad1da8c2e585fee7537d579c064d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 26 Jun 2017 23:10:56 +0200 Subject: RPM: updates for Mageia 6 --- redhat/main/tdebindings/tdebindings-14.0.0.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'redhat/main/tdebindings') diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec index 2e9abc9de..e0e7fcdc4 100644 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec @@ -181,7 +181,12 @@ BuildRequires: rubypick %if "%{?rb_archdir}" != "" %define ruby_arch %{?rb_archdir} %else +%if "%{%ruby_archdir}" != "" +%define ruby_arch %{?ruby_archdir} +%else %{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')} +%endif %endif %endif -- cgit v1.2.3