From: Elan Ruusamäe Date: Wed, 22 Jul 2015 16:10:43 +0000 (+0300) Subject: set default php off for ac on this branch X-Git-Tag: auto/th/php52-5.2.17-20130717.13~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp.git;a=commitdiff_plain;h=88276ed set default php off for ac on this branch --- diff --git a/php.spec b/php.spec index bcbac7a..b94a6cc 100644 --- a/php.spec +++ b/php.spec @@ -104,9 +104,9 @@ ERROR: You need to select at least one Apache SAPI to build shared modules. %if "%{pld_release}" == "ac" %define magic_mime /usr/share/file/magic.mime %define _noautoreqdep libphp_common.* -# if commandline --without was given. respect that -%if 0%{!?_without_default_php:1} -%define with_default_php 1 +# if commandline --with was given. respect that +%if 0%{!?_with_default_php:1} +%undefine with_default_php %endif %else %define magic_mime /usr/share/misc/magic.mime