summaryrefslogtreecommitdiffstats
path: root/php-pecl-xmldiff.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-xmldiff.spec')
-rw-r--r--php-pecl-xmldiff.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/php-pecl-xmldiff.spec b/php-pecl-xmldiff.spec
index abde7bf..7943fd4 100644
--- a/php-pecl-xmldiff.spec
+++ b/php-pecl-xmldiff.spec
@@ -10,24 +10,21 @@
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name xmldiff
-%if "%{php_version}" < "5.6"
-# After dom
-%global ini_name %{pecl_name}.ini
-%else
# After 20-dom
%global ini_name 40-%{pecl_name}.ini
-%endif
%global sources %{pecl_name}-%{version}
%global _configure ../%{sources}/configure
Summary: XML diff and merge
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.1.5
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD-2-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Patch0: 6.patch
+
BuildRequires: %{?dtsprefix}gcc
BuildRequires: make
BuildRequires: %{?scl_prefix}php-devel
@@ -76,6 +73,8 @@ sed -e '/name="diffmark/d' \
-i package.xml
cd %{sources}
+%patch -P0 -p1
+
# drop bundled library to ensure it is not used
rm -rf diffmark
@@ -205,6 +204,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jul 15 2025 Remi Collet <remi@remirepo.net> - 1.1.5-2
+- add patch for PHP 8.5.0alpha2 from
+ https://github.com/php/pecl-xml-xmldiff/pull/6
+
* Sun Feb 23 2025 Remi Collet <remi@remirepo.net> - 1.1.5-1
- update to 1.1.5
- re-license spec file to CECILL-2.1