diff --git a/mapserver.spec b/mapserver.spec index 346e0b2..c63247b 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -78,7 +78,11 @@ BuildRequires: proj BuildRequires: protobuf-c BuildRequires: readline-devel BuildRequires: rpm +%if 0%{with php} +BuildRequires: swig >= 4.1 +%else BuildRequires: swig +%endif BuildRequires: update-alternatives BuildRequires: xorg-x11-libXpm-devel BuildRequires: zlib-devel @@ -105,6 +109,7 @@ or any of the mapscript module (php, java, python, ruby) # We don't require apache2_mod-php8 users could have php5 running # with other modes (cgi, php-fpm, etc) + %package -n php-mapscriptng Summary: PHP/MapscriptNG map making extensions to PHP Group: Development/Libraries/Other