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
%{_bindir}/php
-%{_bindir}/zts-php
%{_bindir}/php-cgi
%{_bindir}/phar.phar
%{_bindir}/phar
# provides phpize here (not in -devel) for pecl command
%{_bindir}/phpize
%{_mandir}/man1/php.1*
-%{_mandir}/man1/zts-php.1*
%{_mandir}/man1/php-cgi.1*
%{_mandir}/man1/phar.1*
%{_mandir}/man1/phar.phar.1*
%{_mandir}/man1/phpize.1*
+%if %{with_zts}
+%{_bindir}/zts-php
+%{_mandir}/man1/zts-php.1*
%{_mandir}/man1/zts-phpize.1*
+%endif

%files dbg
%{_bindir}/phpdbg
@@ -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
+%endif
%if %{with_oci8}
%files oci8 -f files.oci8
%endif

Re: php74.spec error when built without zts

thanks

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