From 43d57c7644292f5790cbe483eb8be607bcc45f25 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Nov 2025 12:52:08 +0100 Subject: update bundled libip2proxy to 4.2.1 add pie virtual provides --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-ip2proxy.spec | 27 +++++++++++++++++++-------- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/PHPINFO b/PHPINFO index 79e4af8..4490842 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,4 +3,4 @@ ip2proxy ip2proxy support => enabled extension version => 3.1.0 -library version => 4.2.0 +library version => 4.2.1 diff --git a/REFLECTION b/REFLECTION index 90b1e2a..14698d7 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #85 ip2proxy version 3.1.0 ] { +Extension [ extension #92 ip2proxy version 3.1.0 ] { - Constants [4] { Constant [ int IP2PROXY_FILE_IO ] { 0 } diff --git a/php-pecl-ip2proxy.spec b/php-pecl-ip2proxy.spec index 52d01f9..bd7f60a 100644 --- a/php-pecl-ip2proxy.spec +++ b/php-pecl-ip2proxy.spec @@ -12,6 +12,8 @@ %bcond_without tests %global pecl_name ip2proxy +%global pie_vend ip2location +%global pie_proj ip2proxy-pie %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini %global upstream_version 3.1.0 @@ -22,8 +24,8 @@ # see https://github.com/ip2location/ip2proxy-c/commits/master %global gh_owner ip2location %global gh_project ip2proxy-c -%global gh_commit 75beea905bd25fdba9d8fb965f958ba3c9c552f7 -%global gh_version 4.2.0 +%global gh_commit 79662201167fcbda5532f94ad3e1fefd2b9b073e +%global gh_version 4.2.1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) Summary: Get proxy information of an IP address @@ -31,7 +33,7 @@ Name: %{?scl_prefix}php-pecl-%{pecl_name} # library is MIT, extension is PHP License: MIT AND PHP-3.01 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist} URL: https://pecl.php.net/package/igbinary Source0: https://pecl.php.net/get/%{sources}.tgz @@ -48,10 +50,15 @@ BuildRequires: %{?scl_prefix}php-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} -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} +# Extension +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +# PECL +Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +# PIE +Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} +Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} %description @@ -183,6 +190,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Nov 19 2025 Remi Collet - 3.1.0-2 +- update bundled libip2proxy to 4.2.1 +- add pie virtual provides + * Thu Feb 6 2025 Remi Collet - 3.1.0-1 - update to 3.1.0 (new sources) - drop patch merged upstream @@ -195,7 +206,7 @@ REPORT_EXIT_STATUS=1 \ * Tue Feb 4 2025 Remi Collet - 3.0.3-5 - re-license spec file to CECILL-2.1 -- update bundled libip2proxy to 4.2.1 +- update bundled libip2proxy to 4.2.0 * Tue Oct 1 2024 Remi Collet - 3.0.3-4 - cleanup spec -- cgit