[packages/php/dev-8.0: 7/14] Enable ext-json being always built

glen glen at pld-linux.org
Fri Oct 9 17:10:11 CEST 2020


commit 92f6ea5beaca1f04ba8918c59f525d58f378bc87
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Oct 2 16:00:20 2020 +0300

    Enable ext-json being always built
    
    - https://php.watch/versions/8.0#ext-json

 php.spec | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/php.spec b/php.spec
index 6cd0d93..202b1ee 100644
--- a/php.spec
+++ b/php.spec
@@ -49,7 +49,6 @@
 %bcond_without	iconv		# without iconv extension module
 %bcond_without	imap		# without IMAP extension module
 %bcond_without	intl		# without Intl extension module
-%bcond_without	json		# without json extension module
 %bcond_without	ldap		# without LDAP extension module
 %bcond_without	mbstring	# without mbstring extension module
 %bcond_without	mhash		# without mhash extension (supported by hash extension)
@@ -2205,7 +2204,6 @@ for sapi in $sapis; do
 	--enable-mbregex \
 	%{__enable_disable pcntl pcntl shared} \
 	%{__enable_disable pdo pdo shared} \
-	%{__enable_disable json json shared} \
 	--enable-xmlwriter=shared \
 %if %{with fpm}
 	--with-fpm-user=http \
@@ -2972,13 +2970,11 @@ fi
 %attr(755,root,root) %{php_extensiondir}/intl.so
 %endif
 
-%if %{with json}
 %files json
 %defattr(644,root,root,755)
 %doc ext/json/CREDITS
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/??_json.ini
 %attr(755,root,root) %{php_extensiondir}/json.so
-%endif
 
 %if %{with ldap}
 %files ldap
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/44287d5a9f54c942e59f23c357e4bde082b23d8d



More information about the pld-cvs-commit mailing list