From 535aaac158e66df0e9967c74f3e216b824ad2e51 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Jan 2018 14:27:18 +0100 Subject: also fix EL-6 --- php-snuffleupagus.spec | 8 ++++---- 1 file 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 - 0.1.0-2 -- clean build options, fix EL-7 build +- clean build options, fix EL build * Wed Jan 17 2018 Remi Collet - 0.1.0-1 - new package, version 0.1.0 -- cgit