summaryrefslogtreecommitdiffstats
path: root/php-pecl-ip2location.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-ip2location.spec')
-rw-r--r--php-pecl-ip2location.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-ip2location.spec b/php-pecl-ip2location.spec
index 8b01e86..25dbef6 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: 7%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 8%{?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
@@ -40,6 +40,8 @@ Patch2: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Loc
Patch3: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Location-PECL-Extension/pull/10.patch
# https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/11 - config.m4
Patch4: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Location-PECL-Extension/pull/11.patch
+# https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/12 - library 8.1.4
+Patch5: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Location-PECL-Extension/pull/12.patch
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-pear
@@ -112,6 +114,7 @@ sed -e "s/\r//" -i *.c config.m4
%patch2 -p1 -b .pr9
%patch3 -p1 -b .pr10
%patch4 -p1 -b .pr11
+%patch5 -p1 -b .pr12
# Check version
extver=$(sed -n '/#define PHP_IP2LOCATION_VERSION/{s/.* "//;s/".*$//;p}' php_ip2location.h)
@@ -233,6 +236,10 @@ fi
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 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
+
* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 8.0.1-7
- rebuild for PHP 8.0.0RC1