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}