From 0d3e919349d92f7905e6d6596089372ad6646837 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 11 Jan 2024 08:16:34 +0100 Subject: test build for upcoming 2.7.0 --- php-pecl-solr2.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'php-pecl-solr2.spec') diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec index b58926e..91b1b2e 100644 --- a/php-pecl-solr2.spec +++ b/php-pecl-solr2.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-solr2 # -# Copyright (c) 2011-2023 Remi Collet +# Copyright (c) 2011-2024 Remi Collet # Copyright (c) 2010 Johan Cwiklinski # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ @@ -21,17 +21,17 @@ %global _configure ../%{sources}/configure # For full test (using localhost server) use --with fulltests -# retrieve: docker pull omars/solr53 -# create: docker run -d -p 8983:8983 --name solr5 -t omars/solr53 -# cleanup: docker stop solr5 && docker rm solr5 +# retrieve: podman pull docker.io/omars/solr53 +# create: podman run -d -p 8983:8983 --name solr5 -t omars/solr53 +# cleanup: podman kill solr5 && podman stop solr5 && podman rm solr5 %bcond_without tests %bcond_with fulltests Summary: Object oriented API to Apache Solr Summary(fr): API orientée objet pour Apache Solr Name: %{?scl_prefix}php-pecl-solr2 -Version: 2.6.0 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 2.7.0 +Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: https://pecl.php.net/package/solr @@ -125,12 +125,16 @@ cd %{sources} %{__phpize} cd ../NTS -%configure --with-php-config=%{__phpconfig} +%configure \ + --with-libdir=%{_lib} \ + --with-php-config=%{__phpconfig} make %{?_smp_mflags} %if %{with_zts} cd ../ZTS -%configure --with-php-config=%{__ztsphpconfig} +%configure \ + --with-libdir=%{_lib} \ + --with-php-config=%{__ztsphpconfig} make %{?_smp_mflags} %endif @@ -243,6 +247,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Jan 11 2024 Remi Collet - 2.7.0-0 +- test build for upcoming 2.7.0 + * Wed Aug 30 2023 Remi Collet - 2.6.0-3 - rebuild for PHP 8.3.0RC1 -- cgit