add php as a dependency only when we aren't using nginx
This commit is contained in:
parent
8ea4bdca1d
commit
0d7e1bcbc5
|
@ -64,7 +64,7 @@ BuildRequires: gcc gcc-c++ vlc-devel libcurl-devel libv4l-devel
|
|||
BuildRequires: ffmpeg-devel polkit-devel
|
||||
|
||||
%{?with_nginx:Requires: nginx fcgiwrap php-fpm}
|
||||
%{!?with_nginx:Requires: httpd}
|
||||
%{!?with_nginx:Requires: httpd php}
|
||||
%{?with_php_mysqlnd:Requires: php-mysqlnd}
|
||||
%{?with_php_mysql:Requires: php-mysql}
|
||||
Requires: php-common php-gd cambozola polkit net-tools psmisc
|
||||
|
|
Loading…
Reference in New Issue