From 6066b766b0ddae091099cb8c3d627d91cec3ae95 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Jan 2023 10:55:21 +0100 Subject: rebuild against vips 8.14 --- PHPINFO | 10 +++++----- php-pecl-vips.spec | 39 +++++++++++---------------------------- 2 files changed, 16 insertions(+), 33 deletions(-) diff --git a/PHPINFO b/PHPINFO index 0f41c3f..30cf0b8 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,12 +2,12 @@ vips vips property => value -Vips headers version => 8.12.2 -Vips library version => 8.12.2 -Vips ABI version => 56.2.14 +Vips headers version => 8.14.0 +Vips library version => 8.14.0 +Vips ABI version => 58.0.16 Major version => 8 -Minor version => 12 -Micro version => 2 +Minor version => 14 +Micro version => 0 Cache max mem => 104857600 Cache max operations => 100 Cache current operations => 0 diff --git a/php-pecl-vips.spec b/php-pecl-vips.spec index 9fb37ef..d116fc9 100644 --- a/php-pecl-vips.spec +++ b/php-pecl-vips.spec @@ -1,13 +1,12 @@ # remirepo spec file for php-pecl-vips # -# Copyright (c) 2016-2022 Remi Collet +# Copyright (c) 2016-2023 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %if 0%{?scl:1} -%global sub_prefix %{scl_prefix} %scl_package php-pecl-vips %endif @@ -20,9 +19,9 @@ %global vipsbuildver %(pkg-config --silence-errors --modversion vips 2>/dev/null || echo 65536) Summary: PHP extension for interfacing with libvips -Name: %{?sub_prefix}php-pecl-%{pecl_name} +Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.0.13 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: https://pecl.php.net/package/%{pecl_name} @@ -33,7 +32,11 @@ BuildRequires: make BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear # ensure latest version is used (upstream requires 8.2) -BuildRequires: pkgconfig(vips) >= 8.10 +%if 0%{?rhel} == 7 +BuildRequires: pkgconfig(vips) >= 8.13 +%else +BuildRequires: pkgconfig(vips) >= 8.14 +%endif Requires: vips%{?_isa} >= %{vipsbuildver} Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -44,29 +47,6 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} -%endif - -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -%if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.3" -Obsoletes: php73-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.4" -Obsoletes: php74-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.0" -Obsoletes: php80-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.1" -Obsoletes: php81-pecl-%{pecl_name} <= %{version} -%endif -%endif %description @@ -218,6 +198,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Jan 2 2023 Remi Collet - 1.0.13-2 +- rebuild against vips 8.14 + * Wed Feb 16 2022 Remi Collet - 1.0.13-1 - update to 1.0.13 -- cgit