From da7556bb4f1896ba4b3c8fc9a40d7d7ea1f24337 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 22 Mar 2025 12:50:16 +0800 Subject: [PATCH] hardcode libxml2 version as what was used for building --- php.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/php.spec b/php.spec index 652df6b..7713c9a 100644 --- a/php.spec +++ b/php.spec @@ -66,7 +66,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver} -Release: 2 +Release: 3 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -332,6 +332,7 @@ Obsoletes: php-pecl-Fileinfo < 1.0.5 Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl-Fileinfo%{?_isa} = %{fileinfover} Provides: php-pecl(Fileinfo) = %{fileinfover}, php-pecl(Fileinfo)%{?_isa} = %{fileinfover} Obsoletes: php-mhash < 5.3.0 +Requires: (libxml2%{?_isa} >= %(rpm -q --queryformat="%%{VERSION}" libxml2) if libxml2) %description common The php-common package contains files used by both the php @@ -1639,6 +1640,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %{_fileattrsdir}/composer.attr %changelog +* Sat Mar 22 2025 Funda Wang - 8.4.5-3 +- hardcode libxml2 version as what was used for building + * Tue Mar 18 2025 Funda Wang - 8.4.5-2 - add composer-generators from remi -- Gitee