summaryrefslogtreecommitdiffstats
path: root/php-pecl-geoip.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-10 10:33:55 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-10 10:33:55 +0100
commit6e53eced2ec246d79c6d230e5f2fdd05ac5676b8 (patch)
tree26cd04ceda6850b375f92b3616c0e223a0cc0848 /php-pecl-geoip.spec
parente0934fefa0a0313c7d69b72547217155400dcbc6 (diff)
php-pecl-geoip: fix Copr build
Diffstat (limited to 'php-pecl-geoip.spec')
-rw-r--r--php-pecl-geoip.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-pecl-geoip.spec b/php-pecl-geoip.spec
index 56a028e..01cc5f8 100644
--- a/php-pecl-geoip.spec
+++ b/php-pecl-geoip.spec
@@ -95,10 +95,12 @@ cd NTS
%configure --with-php-config=%{_bindir}/php-config
make %{?_smp_mflags}
+%if %{with_zts}
cd ../ZTS
%{_bindir}/zts-phpize
%configure --with-php-config=%{_bindir}/zts-php-config
make %{?_smp_mflags}
+%endif
%install