From 28875946840b375c74d24e2d05b735e3e19c00d3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Oct 2020 15:55:05 +0200 Subject: rebuild against library 8.1.3 in Fedora/EPEL --- PHPINFO | 2 +- php-pecl-ip2location.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/PHPINFO b/PHPINFO index ba28650..fcf6c08 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,4 +3,4 @@ ip2location ip2location support => enabled extension version => 8.0.1 -library version => 8.0.9 +library version => 8.1.3 diff --git a/php-pecl-ip2location.spec b/php-pecl-ip2location.spec index 25dbef6..26541bf 100644 --- a/php-pecl-ip2location.spec +++ b/php-pecl-ip2location.spec @@ -26,7 +26,7 @@ Summary: Get geo location information of an IP address Name: %{?sub_prefix}php-pecl-%{pecl_name} License: PHP Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 8%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 9%{?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 @@ -46,7 +46,8 @@ Patch5: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Loc BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-devel -BuildRequires: IP2Location-devel +# ensure proper version is used +BuildRequires: IP2Location-devel >= 8.1.3 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -236,6 +237,9 @@ fi %changelog +* Tue Oct 6 2020 Remi Collet - 8.0.1-9 +- rebuild against library 8.1.3 in Fedora/EPEL + * Wed Sep 30 2020 Remi Collet - 8.0.1-8 - add patches for library version 8.1.4 and for PHP 8 from https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/12 -- cgit