summaryrefslogtreecommitdiffstats
path: root/php-maxminddb.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-30 09:34:07 +0200
committerRemi Collet <remi@remirepo.net>2020-09-30 09:34:07 +0200
commitc3530b45706637f6a363f6577d7c0ee58b93f86a (patch)
tree2344ff4a26e942eed34860f69e740c255ff05bd0 /php-maxminddb.spec
parent1a4f811d35dcd1ae9cb2127f31124c2ccf57b629 (diff)
rebuild for PHP 8.0.0RC1
add patch for PHP 8.0.0rc1 from https://github.com/maxmind/MaxMind-DB-Reader-php/pull/109
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 69d1660..906b29b 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 2
+%global rpmrel 3
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}
@@ -42,6 +42,7 @@ 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
+Patch1: https://patch-diff.githubusercontent.com/raw/maxmind/MaxMind-DB-Reader-php/pull/109.patch
BuildRequires: %{?scl_prefix}php-devel >= 7.2
BuildRequires: %{?scl_prefix}php-pear >= 1.10
@@ -161,6 +162,7 @@ Autoloader: %{_datadir}/php/MaxMind/Db/Reader/autoload.php
%prep
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p1 -b .pr
+%patch1 -p1 -b .pr
%if %{with_lib}
%{_bindir}/phpab \
@@ -334,6 +336,11 @@ fi
# when using pkgup, CHECK Release!
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 1.7.0-3
+- rebuild for PHP 8.0.0RC1
+- add patch for PHP 8.0.0rc1 from
+ https://github.com/maxmind/MaxMind-DB-Reader-php/pull/109
+
* 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