[packages/php-pecl-ds] Rel 2
arekm
arekm at pld-linux.org
Mon Apr 6 13:40:00 CEST 2026
commit 9c88f8c7cb428b119717bbbbddc4f286071138a2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Apr 6 13:06:42 2026 +0200
Rel 2
php-pecl-ds.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-ds.spec b/php-pecl-ds.spec
index 83356a7..07d41d4 100644
--- a/php-pecl-ds.spec
+++ b/php-pecl-ds.spec
@@ -7,7 +7,7 @@
Summary: Data Structures
Name: %{php_name}-pecl-%{modname}
Version: 1.6.0
-Release: 1
+Release: 2
License: MIT
Group: Development/Languages/PHP
Source0: https://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -15,6 +15,10 @@ Source0: https://pecl.php.net/get/%{modname}-%{version}.tgz
URL: https://pecl.php.net/package/ds/
BuildRequires: %{php_name}-cli
BuildRequires: %{php_name}-devel >= 4:7.4.0
+# json is built-in since PHP 8.0; needed for module load test in %build
+%if "%php_major_version.%php_minor_version" < "8.0"
+BuildRequires: %{php_name}-json
+%endif
BuildRequires: rpmbuild(macros) >= 1.666
%{?requires_php_extension}
Provides: php(%{modname}) = %{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-ds.git/commitdiff/9c88f8c7cb428b119717bbbbddc4f286071138a2
More information about the pld-cvs-commit
mailing list