summaryrefslogtreecommitdiffstats
path: root/php-pecl-solr2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-solr2.spec')
-rw-r--r--php-pecl-solr2.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec
index 183561f..d08dc2c 100644
--- a/php-pecl-solr2.spec
+++ b/php-pecl-solr2.spec
@@ -30,13 +30,15 @@ Summary: Object oriented API to Apache Solr
Summary(fr): API orientée objet pour Apache Solr
Name: %{?scl_prefix}php-pecl-solr2
Version: 2.8.1
-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: PHP-3.01
Group: Development/Languages
URL: https://pecl.php.net/package/solr
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Patch0: 88.patch
+
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.4
@@ -94,6 +96,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd %{sources}
+%patch -P0 -p1
+
: Check version
extver=$(sed -n '/#define PHP_SOLR_VERSION /{s/.* "//;s/".*$//;p}' src/php_solr_version.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
@@ -209,6 +213,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Jul 18 2025 Remi Collet <remi@remirepo.net> - 2.8.1-2
+- add fix for PHP 8.5.0alpha2 using patch from
+ https://github.com/php/pecl-search_engine-solr/pull/88
+
* Wed Apr 23 2025 Remi Collet <remi@remirepo.net> - 2.8.1-1
- update to 2.8.1