diff --git a/.gitignore b/.gitignore index ff3d209..ce0500b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,6 @@ clog /php-maxminddb-1.5.1-f096bbe.tgz /php-maxminddb-1.6.0-febd492.tgz /php-maxminddb-1.8.0-b566d42.tgz +/php-maxminddb-1.9.0-9ee9ba9.tgz +/php-maxminddb-1.10.0-07f84d9.tgz +/php-maxminddb-1.10.1-569bd44.tgz diff --git a/php-maxminddb.spec b/php-maxminddb.spec index 07cbf02..76d3303 100644 --- a/php-maxminddb.spec +++ b/php-maxminddb.spec @@ -3,13 +3,13 @@ # # remirepo spec file for php-maxminddb # -# Copyright (c) 2018-2020 Remi Collet +# Copyright (c) 2018-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit b566d429ac9aec10594b0935be8ff38302f8d5c8 +%global gh_commit 569bd44d97d30a4ec12c7793a33004a76d4caf18 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner maxmind %global gh_project MaxMind-DB-Reader-php @@ -24,7 +24,7 @@ Summary: MaxMind DB Reader extension Name: php-maxminddb -Version: 1.8.0 +Version: 1.10.1 Release: 1%{?dist} License: ASL 2.0 URL: https://github.com/%{gh_owner}/%{gh_project} @@ -32,6 +32,8 @@ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh +BuildRequires: make +BuildRequires: gcc BuildRequires: php-devel >= 7.2 BuildRequires: php-pear >= 1.10 BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0 @@ -69,7 +71,7 @@ BuildRequires: php-fedora-autoloader-devel BuildRequires: php-bcmath BuildRequires: php-gmp # from composer.json "require-dev": { -# "friendsofphp/php-cs-fixer": "2.*", +# "friendsofphp/php-cs-fixer": "*", # "phpunit/phpunit": ">=8.0.0,<10.0.0", # "php-coveralls/php-coveralls": "^2.1", # "phpunit/phpcov": ">=6.0.0", @@ -78,8 +80,8 @@ BuildRequires: phpunit8 %endif # from composer.json "require": { -# "php": ">=5.6" -Requires: php(language) >= 5.6 +# "php": ">=7.2" +Requires: php(language) >= 7.2 # from composer.json "suggest": { # "ext-bcmath": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder", # "ext-gmp": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder", @@ -88,7 +90,7 @@ Recommends: php-bcmath Recommends: php-gmp Recommends: php-maxminddb # from composer.json "conflict": { -# "ext-maxminddb": "<1.6.0,>=2.0.0" +# "ext-maxminddb": "<1.10.0,>=2.0.0" Conflicts: php-maxminddb < %{version} # Weak dependencies on databases Recommends: geolite2-country @@ -260,6 +262,12 @@ exit $ret %changelog +* Thu Apr 15 2021 Remi Collet - 1.10.1-1 +- update to 1.10.1 + +* Wed Feb 10 2021 Remi Collet - 1.10.0-1 +- update to 1.10.0 + * Fri Oct 2 2020 Remi Collet - 1.8.0-1 - update to 1.8.0 - now available on pecl diff --git a/sources b/sources index 2459da3..fc97a6a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-maxminddb-1.8.0-b566d42.tgz) = f1e625e6ffd23147c6043dc9b2d2c45cecc548849b944cef61f957e5c98947433a25fe26a3c29f6182feed8646a5eebd8d7fb2fa2b8ff3ae49b174d10ac107c0 +SHA512 (php-maxminddb-1.10.1-569bd44.tgz) = cf4c4081a3d11766eaa294c80364d840592f29871226d1596532456870575deaa1ddcc444930fa48b184786cb7916b8be14d563486d6da00a378dbad7e5c300a