summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-ip2location.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/php-pecl-ip2location.spec b/php-pecl-ip2location.spec
index 1675d37..f690f40 100644
--- a/php-pecl-ip2location.spec
+++ b/php-pecl-ip2location.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-ip2location
#
-# Copyright (c) 2017 Remi Collet
+# Copyright (c) 2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -25,7 +25,7 @@
Summary: Get geo location information of an IP address
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
URL: http://pecl.php.net/package/igbinary
Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
License: PHP
@@ -34,6 +34,7 @@ Group: System Environment/Libraries
# https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/5
Patch0: https://patch-diff.githubusercontent.com/raw/chrislim2888/IP2Location-PECL-Extension/pull/5.patch
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: libip2location-devel
@@ -69,6 +70,10 @@ Obsoletes: php71w-pecl-%{pecl_name}
Obsoletes: php72u-pecl-%{pecl_name}
Obsoletes: php72w-pecl-%{pecl_name}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{pecl_name}
+Obsoletes: php73w-pecl-%{pecl_name}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -189,7 +194,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -225,6 +230,9 @@ fi
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 8.0.1-2
+- rebuld for 7.3.0alpha4 new ABI
+
* Wed Nov 8 2017 Remi Collet <remi@remirepo.net> - 8.0.1-1
- Update to 8.0.1 (no change)
- License is PHP