diff options
Diffstat (limited to 'php-pecl-ip2location.spec')
-rw-r--r-- | php-pecl-ip2location.spec | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/php-pecl-ip2location.spec b/php-pecl-ip2location.spec index 6a229bd..4a93acd 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: 10%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 11%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -42,6 +42,10 @@ Patch3: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Loc 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 +# https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/13 - config +Patch6: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Location-PECL-Extension/pull/13.patch +# https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/15 - ip2location_bin_version +Patch7: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Location-PECL-Extension/pull/15.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-pear @@ -104,7 +108,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -sed -e "s/\r//" -i LICENSE CREDITS README +sed -e "s/\r//" -i LICENSE CREDITS README *.c *.h chmod -x *.c *.h LICENSE CREDITS README : Patches @@ -116,6 +120,8 @@ sed -e "s/\r//" -i *.c config.m4 %patch3 -p1 -b .pr10 %patch4 -p1 -b .pr11 %patch5 -p1 -b .pr12 +%patch6 -p1 -b .pr13 +%patch7 -p1 -b .pr15 # Check version extver=$(sed -n '/#define PHP_IP2LOCATION_VERSION/{s/.* "//;s/".*$//;p}' php_ip2location.h) @@ -237,6 +243,12 @@ fi %changelog +* Wed Nov 18 2020 Remi Collet <remi@remirepo.net> - 8.0.1-11 +- add patch to improve configure output from + https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/13 +- add patch for ip2location_bin_version in 8.3.1 from + https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/15 + * Sat Oct 17 2020 Remi Collet <remi@remirepo.net> - 8.0.1-10 - rebuild against library 8.2.0 in Fedora/EPEL |