(cherry picked from commit 6350d9c96e)
This commit is contained in:
Remi Collet 2021-02-10 07:49:04 +01:00
commit 2d108d2d51
3 changed files with 13 additions and 8 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@ 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

View file

@ -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 07f84d969cfc527ce49388558a366ad376f1f35c
%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.0
Release: 1%{?dist}
License: ASL 2.0
URL: https://github.com/%{gh_owner}/%{gh_project}
@ -69,7 +69,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 +78,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 +88,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 +260,9 @@ exit $ret
%changelog
* Wed Feb 10 2021 Remi Collet <remi@remirepo.net> - 1.10.0-1
- update to 1.10.0
* Fri Oct 2 2020 Remi Collet <remi@remirepo.net> - 1.8.0-1
- update to 1.8.0
- now available on pecl

View file

@ -1 +1 @@
SHA512 (php-maxminddb-1.8.0-b566d42.tgz) = f1e625e6ffd23147c6043dc9b2d2c45cecc548849b944cef61f957e5c98947433a25fe26a3c29f6182feed8646a5eebd8d7fb2fa2b8ff3ae49b174d10ac107c0
SHA512 (php-maxminddb-1.10.0-07f84d9.tgz) = fd95a09f38e227b9581e2f387e950ac6659788493a1ad80cc6e272a77c10f98e9be14f16a3eec11e90cc19bef3af80a73c38ca5e8c2fde8ba8f1e7e6debf336a