Topic: php74.spec error when built without zts

The php74.spec file is missing a couple of "%{with_zts}" tags to build without zts.

--- php74.spec-orig     2020-04-19 07:30:43.000000000 +0000
+++ php74.spec  2020-04-19 07:33:18.529103683 +0000
@@ -2027,19 +2027,21 @@

%files cli
# provides phpize here (not in -devel) for pecl command
+%if %{with_zts}

%files dbg
@@ -2141,7 +2143,9 @@
%files mysqlnd -f files.mysqlnd
%files opcache -f files.opcache
%config(noreplace) %{_sysconfdir}/php.d/opcache-default.blacklist
+%if %{with_zts}
%config(noreplace) %{_sysconfdir}/php-zts.d/opcache-default.blacklist
%if %{with_oci8}
%files oci8 -f files.oci8

Re: php74.spec error when built without zts


can you send me  a "git format patch?

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test