summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'redhat')
-rw-r--r--redhat/main/tdebindings/tdebindings-14.0.0.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec
index e0e7fcdc4..d8c8d2b97 100644
--- a/redhat/main/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec
@@ -189,6 +189,9 @@ BuildRequires: rubypick
%endif
%endif
%endif
+%if 0%{?rhel} == 5
+%define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')
+%endif
%if "%{?ruby_libdir}" != ""
%define ruby_rubylibdir %{?ruby_libdir}