From e45c699c66cf3de4252f38a5970d28b691ad1f40 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 29 Jul 2022 11:03:20 +0200 Subject: update to 3.0.2 update bundled libip2proxy to 4.1.1 open https://github.com/ip2location/ip2proxy-pecl/issues/4 broken sources --- php-pecl-ip2proxy.spec | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/php-pecl-ip2proxy.spec b/php-pecl-ip2proxy.spec index 1d4a31d..647e6c0 100644 --- a/php-pecl-ip2proxy.spec +++ b/php-pecl-ip2proxy.spec @@ -1,13 +1,12 @@ # remirepo spec file for php-pecl-ip2proxy # -# Copyright (c) 2020-2021 Remi Collet +# Copyright (c) 2020-2022 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-ip2proxy %endif @@ -21,22 +20,22 @@ %global ini_name 40-%{pecl_name}.ini %endif -%global upstream_version 3.0.1 +%global upstream_version 3.0.2 #global upstream_prever RC1 # see https://github.com/ip2location/ip2proxy-c/commits/master %global gh_owner ip2location %global gh_project ip2proxy-c -%global gh_commit 00154dc0b5d260d6c6ba86f9d997b9395c56fd22 -%global gh_version 4.0.1 +%global gh_commit 83f9d64dec2dedad68048c4ef033e221d36b3b08 +%global gh_version 4.1.1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) Summary: Get proxy information of an IP address -Name: %{?sub_prefix}php-pecl-%{pecl_name} +Name: %{?scl_prefix}php-pecl-%{pecl_name} # library is MIT, extension is PHP License: MIT and PHP Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} URL: https://pecl.php.net/package/igbinary Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -58,26 +57,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.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: php80-pecl-%{pecl_name} <= %{version} -%endif -%endif %description @@ -231,6 +210,11 @@ fi %changelog +* Fri Jul 29 2022 Remi Collet - 3.0.2-1 +- update to 3.0.2 +- update bundled libip2proxy to 4.1.1 +- open https://github.com/ip2location/ip2proxy-pecl/issues/4 broken sources + * Tue Nov 23 2021 Remi Collet - 3.0.1-2 - update bundled libip2proxy to 4.0.1 -- cgit