Require swig-4.1 for php(8) code
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=138
This commit is contained in:
parent
b0c71b5e5b
commit
78be46446b
@ -78,7 +78,11 @@ BuildRequires: proj
|
|||||||
BuildRequires: protobuf-c
|
BuildRequires: protobuf-c
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: rpm
|
BuildRequires: rpm
|
||||||
|
%if 0%{with php}
|
||||||
|
BuildRequires: swig >= 4.1
|
||||||
|
%else
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
%endif
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
BuildRequires: xorg-x11-libXpm-devel
|
BuildRequires: xorg-x11-libXpm-devel
|
||||||
BuildRequires: zlib-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
|
# We don't require apache2_mod-php8 users could have php5 running
|
||||||
# with other modes (cgi, php-fpm, etc)
|
# with other modes (cgi, php-fpm, etc)
|
||||||
|
|
||||||
%package -n php-mapscriptng
|
%package -n php-mapscriptng
|
||||||
Summary: PHP/MapscriptNG map making extensions to PHP
|
Summary: PHP/MapscriptNG map making extensions to PHP
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
Loading…
Reference in New Issue
Block a user