summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-snuffleupagus.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/php-snuffleupagus.spec b/php-snuffleupagus.spec
index e4d950a..4810fd5 100644
--- a/php-snuffleupagus.spec
+++ b/php-snuffleupagus.spec
@@ -34,7 +34,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: pcre-devel
-%if 0%{?rhel} == 7
+%if 0%{?rhel} == 6 || 0%{?rhel} == 7
BuildRequires: devtoolset-6-toolchain
%endif
@@ -109,7 +109,7 @@ EOF
%build
-%if 0%{?rhel} == 7
+%if 0%{?rhel} == 6 || 0%{?rhel} == 7
source /opt/rh/devtoolset-6/enable
%else
%{?dtsenable}
@@ -135,7 +135,7 @@ make %{?_smp_mflags}
%install
-%if 0%{?rhel} == 7
+%if 0%{?rhel} == 6 || 0%{?rhel} == 7
source /opt/rh/devtoolset-6/enable
%else
%{?dtsenable}
@@ -200,7 +200,7 @@ REPORT_EXIT_STATUS=1 \
%changelog
* Wed Jan 17 2018 Remi Collet <remi@remirepo.net> - 0.1.0-2
-- clean build options, fix EL-7 build
+- clean build options, fix EL build
* Wed Jan 17 2018 Remi Collet <remi@remirepo.net> - 0.1.0-1
- new package, version 0.1.0