From b0f1fa504c35bd1c7a94cdd2c15c62a6667e91a7 Mon Sep 17 00:00:00 2001 From: Jarrod Makin Date: Mon, 7 Jan 2019 14:10:22 +0000 Subject: Enable build to complete if 'with_zts' is set to 0 --- php73.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'php73.spec') diff --git a/php73.spec b/php73.spec index 5b1e270..326cae9 100644 --- a/php73.spec +++ b/php73.spec @@ -1849,7 +1849,9 @@ for mod in pgsql odbc ldap snmp xmlrpc imap json \ # some extensions have their own config file if [ -f ${ini} ]; then cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} + %if %{with_zts} cp -p ${ini} $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini} + %endif else cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} <