summaryrefslogtreecommitdiffstats
path: root/php-pecl-ip2location.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-30 15:11:56 +0200
committerRemi Collet <remi@remirepo.net>2020-09-30 15:11:56 +0200
commit15186f70b7b1870d992fcb852362806c3b7f3b93 (patch)
tree4b1f78af975034088283e64151cdec68f6dc5b67 /php-pecl-ip2location.spec
parent18d5c0b99730348550c6e946bce86babbf972851 (diff)
add patches for library version 8.1.4 and for PHP 8 from
https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/12
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