Repair 15.4 test logic

OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=27
This commit is contained in:
Jan Engelhardt 2023-01-15 10:11:44 +00:00 committed by Git OBS Bridge
parent 891a1aa3d2
commit 9b6905466e

View File

@ -73,7 +73,7 @@ Requires: glibc-locale-base
# which means same generation as the one we built with.
Requires: php8-cli php8-fpm php8-mysql php8-posix php8-soap
%endif
%if 0%{?suse_version} && 0%{?sle_version} < 150400
%if 0%{?sle_version} && 0%{?sle_version} < 150400
Requires: php-cli
Requires: php7-fpm
Requires: php7-mysql
@ -146,7 +146,7 @@ mkdir -p "$b/%_sysconfdir/%name" "$b/%_datadir/%name"
mkdir -p "$b/etc/php8/fpm/php-fpm.d"
cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php8/fpm/php-fpm.d/gromox.conf"
%endif
%if 0%{?suse_version} && 0%{?sle_version} < 150400
%if 0%{?sle_version} && 0%{?sle_version} < 150400
mkdir -p "$b/etc/php7/fpm/php-fpm.d"
cp -a "$b/usr/share/gromox/fpm-gromox.conf.sample" "$b/etc/php7/fpm/php-fpm.d/gromox.conf"
%endif