From ad4ad03c161338dce77d4af88b34b74af6f4c4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 12 Nov 2017 12:21:13 +0100 Subject: RPM: update build scripts --- redhat/main/tdebase/tdebase-14.0.0.spec | 1 + redhat/main/tdebindings/tdebindings-14.0.0.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'redhat/main') diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index 786589e4a..632305827 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -483,6 +483,7 @@ BuildRequires: OpenEXR-devel # XSCREENSAVER support # RHEL 4: disabled +# RHEL 5: available in centos-extras # RHEL 6: available in EPEL # RHEL 7: available in NUX %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec index d8c8d2b97..7e0607e73 100644 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec @@ -189,7 +189,7 @@ BuildRequires: rubypick %endif %endif %endif -%if 0%{?rhel} == 5 +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]') %endif -- cgit v1.2.1