From 15186f70b7b1870d992fcb852362806c3b7f3b93 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Sep 2020 15:11:56 +0200 Subject: add patches for library version 8.1.4 and for PHP 8 from https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/12 --- php-pecl-ip2location.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-ip2location.spec') 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 - 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 - 8.0.1-7 - rebuild for PHP 8.0.0RC1 -- cgit