summaryrefslogtreecommitdiffstats
path: root/php-maxminddb.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-02 11:33:06 +0200
committerRemi Collet <remi@remirepo.net>2020-09-02 11:33:06 +0200
commit1a4f811d35dcd1ae9cb2127f31124c2ccf57b629 (patch)
tree8ea7425947529a2a382c0d2e0ccac171ac5a4c0e /php-maxminddb.spec
parentaac287cda6e99154375a757eb9629e3eda490e62 (diff)
add patch for PHP 8.0.0beta3 from
https://github.com/maxmind/MaxMind-DB-Reader-php/pull/108
Diffstat (limited to 'php-maxminddb.spec')
-rw-r--r--php-maxminddb.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-maxminddb.spec b/php-maxminddb.spec
index c7cf204..69d1660 100644
--- a/php-maxminddb.spec
+++ b/php-maxminddb.spec
@@ -32,7 +32,7 @@
Summary: MaxMind DB Reader extension
Name: %{?sub_prefix}php-maxminddb
Version: 1.7.0
-%global rpmrel 1
+%global rpmrel 2
Release: %{rpmrel}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: ASL 2.0
URL: https://github.com/%{gh_owner}/%{gh_project}
@@ -41,6 +41,8 @@ URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{pkg_name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
+Patch0: https://patch-diff.githubusercontent.com/raw/maxmind/MaxMind-DB-Reader-php/pull/108.patch
+
BuildRequires: %{?scl_prefix}php-devel >= 7.2
BuildRequires: %{?scl_prefix}php-pear >= 1.10
BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0
@@ -158,6 +160,7 @@ Autoloader: %{_datadir}/php/MaxMind/Db/Reader/autoload.php
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1 -b .pr
%if %{with_lib}
%{_bindir}/phpab \
@@ -331,6 +334,10 @@ fi
# when using pkgup, CHECK Release!
%changelog
+* Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 1.7.0-2
+- add patch for PHP 8.0.0beta3 from
+ https://github.com/maxmind/MaxMind-DB-Reader-php/pull/108
+
* Sat Aug 8 2020 Remi Collet <remi@remirepo.net> - 1.7.0-1
- update to 1.7.0
- now available on pecl