diff options
author | François Andriot <albator78@libertysurf.fr> | 2017-11-05 20:27:33 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2017-11-05 20:27:33 +0100 |
commit | 395aac03bbe942a3c8d821c1bdd1dca7daa15920 (patch) | |
tree | e1a2a779a6045437588458a7b69b8d4897982dd8 /redhat/main/tdebindings | |
parent | d8127ba9131d14ead955817d2d4bc1dd6be14740 (diff) | |
download | tde-packaging-395aac03bbe942a3c8d821c1bdd1dca7daa15920.tar.gz tde-packaging-395aac03bbe942a3c8d821c1bdd1dca7daa15920.zip |
RPM: fix tdebindings build on RHEL5
Diffstat (limited to 'redhat/main/tdebindings')
-rw-r--r-- | redhat/main/tdebindings/tdebindings-14.0.0.spec | 3 |
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} |