summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebindings
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-06-26 23:10:56 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2017-06-26 23:10:56 +0200
commit608d97009e5cad1da8c2e585fee7537d579c064d (patch)
treece3b5c15e47dfdc99bf83d8aad94817ddd964698 /redhat/main/tdebindings
parentf5fb93e00bc4656f22a61a8e04d227aae47e1dc4 (diff)
downloadtde-packaging-608d97009e5cad1da8c2e585fee7537d579c064d.tar.gz
tde-packaging-608d97009e5cad1da8c2e585fee7537d579c064d.zip
RPM: updates for Mageia 6
Diffstat (limited to 'redhat/main/tdebindings')
-rw-r--r--redhat/main/tdebindings/tdebindings-14.0.0.spec5
1 files changed, 5 insertions, 0 deletions
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