[packages/php/dev-8.0: 1/12] Enable ext-json being always built

glen glen at pld-linux.org
Fri Oct 9 18:13:31 CEST 2020


commit 33824073bcfa5feb263024801e03a684ed77dfd2
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 | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/php.spec b/php.spec
index 6cd0d93..e49aff1 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,9 @@ 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/3812f95c6f6decd7a3a7cabca74d1adbe4dcae19



More information about the pld-cvs-commit mailing list