diff options
author | Remi Collet <remi@remirepo.net> | 2020-09-30 15:11:56 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-09-30 15:13:25 +0200 |
commit | 17843c615ee33d79000ec86bef989db7dd829e7d (patch) | |
tree | 20bc4d0c536c545f079cc1f6b7cebb48a7427e0c /php-pecl-ip2location.spec | |
parent | 5fe17b2b77a9b34474588c60e7d1a162b7d3512d (diff) |
add patches for library version 8.1.4 and for PHP 8 from
https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/12
(cherry picked from commit 15186f70b7b1870d992fcb852362806c3b7f3b93)
Diffstat (limited to 'php-pecl-ip2location.spec')
-rw-r--r-- | php-pecl-ip2location.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-ip2location.spec b/php-pecl-ip2location.spec index fe25a88..941064d 100644 --- a/php-pecl-ip2location.spec +++ b/php-pecl-ip2location.spec @@ -20,8 +20,8 @@ Summary: Get geo location information of an IP address Name: php-pecl-%{pecl_name} License: PHP Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} -URL: https://pecl.php.net/package/%{pecl_name} +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 # https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/5 - test suite @@ -34,6 +34,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: gcc BuildRequires: php-pear @@ -80,6 +82,7 @@ sed -e "s/\r//" -i *.c config.m4 CREDITS README %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) @@ -176,6 +179,10 @@ REPORT_EXIT_STATUS=1 \ %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 + * Fri Sep 25 2020 Remi Collet <remi@remirepo.net> - 8.0.1-6 - add patches for library version 8.1 and for PHP 8 from https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/8 |