From c3530b45706637f6a363f6577d7c0ee58b93f86a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Sep 2020 09:34:07 +0200 Subject: rebuild for PHP 8.0.0RC1 add patch for PHP 8.0.0rc1 from https://github.com/maxmind/MaxMind-DB-Reader-php/pull/109 --- php-maxminddb.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-maxminddb.spec') 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 - 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 - 1.7.0-2 - add patch for PHP 8.0.0beta3 from https://github.com/maxmind/MaxMind-DB-Reader-php/pull/108 -- cgit