add php as a dependency only when we aren't using nginx

This commit is contained in:
Andrew Bauer 2017-01-04 10:49:22 -06:00
parent 8ea4bdca1d
commit 0d7e1bcbc5
1 changed files with 1 additions and 1 deletions

View File

@ -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