summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-17 14:27:18 +0100
committerRemi Collet <remi@remirepo.net>2018-01-17 14:27:18 +0100
commit535aaac158e66df0e9967c74f3e216b824ad2e51 (patch)
tree5832e995e74c561d48050897e63622d5e47eb868
parent52dde550ff8ab7322ccdcc2a653484534aca64c2 (diff)
also fix EL-6
-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