Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Remi Collet
5eb5fb9ea3 v1.10.1
(cherry picked from commit 92a127ada3)
(cherry picked from commit c86ebd874f)
2021-04-15 09:24:12 +02:00
Remi Collet
2d108d2d51 v1.10.0
(cherry picked from commit 6350d9c96e)
2021-02-10 07:51:15 +01:00
3 changed files with 19 additions and 8 deletions

3
.gitignore vendored
View file

@ -5,3 +5,6 @@ clog
/php-maxminddb-1.5.1-f096bbe.tgz /php-maxminddb-1.5.1-f096bbe.tgz
/php-maxminddb-1.6.0-febd492.tgz /php-maxminddb-1.6.0-febd492.tgz
/php-maxminddb-1.8.0-b566d42.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

View file

@ -3,13 +3,13 @@
# #
# remirepo spec file for php-maxminddb # remirepo spec file for php-maxminddb
# #
# Copyright (c) 2018-2020 Remi Collet # Copyright (c) 2018-2021 Remi Collet
# License: CC-BY-SA # License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/ # http://creativecommons.org/licenses/by-sa/4.0/
# #
# Please, preserve the changelog entries # 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_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner maxmind %global gh_owner maxmind
%global gh_project MaxMind-DB-Reader-php %global gh_project MaxMind-DB-Reader-php
@ -24,7 +24,7 @@
Summary: MaxMind DB Reader extension Summary: MaxMind DB Reader extension
Name: php-maxminddb Name: php-maxminddb
Version: 1.8.0 Version: 1.10.1
Release: 1%{?dist} Release: 1%{?dist}
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/%{gh_owner}/%{gh_project} 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 Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh Source1: makesrc.sh
BuildRequires: make
BuildRequires: gcc
BuildRequires: php-devel >= 7.2 BuildRequires: php-devel >= 7.2
BuildRequires: php-pear >= 1.10 BuildRequires: php-pear >= 1.10
BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0 BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0
@ -69,7 +71,7 @@ BuildRequires: php-fedora-autoloader-devel
BuildRequires: php-bcmath BuildRequires: php-bcmath
BuildRequires: php-gmp BuildRequires: php-gmp
# from composer.json "require-dev": { # from composer.json "require-dev": {
# "friendsofphp/php-cs-fixer": "2.*", # "friendsofphp/php-cs-fixer": "*",
# "phpunit/phpunit": ">=8.0.0,<10.0.0", # "phpunit/phpunit": ">=8.0.0,<10.0.0",
# "php-coveralls/php-coveralls": "^2.1", # "php-coveralls/php-coveralls": "^2.1",
# "phpunit/phpcov": ">=6.0.0", # "phpunit/phpcov": ">=6.0.0",
@ -78,8 +80,8 @@ BuildRequires: phpunit8
%endif %endif
# from composer.json "require": { # from composer.json "require": {
# "php": ">=5.6" # "php": ">=7.2"
Requires: php(language) >= 5.6 Requires: php(language) >= 7.2
# from composer.json "suggest": { # from composer.json "suggest": {
# "ext-bcmath": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder", # "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", # "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-gmp
Recommends: php-maxminddb Recommends: php-maxminddb
# from composer.json "conflict": { # from composer.json "conflict": {
# "ext-maxminddb": "<1.6.0,>=2.0.0" # "ext-maxminddb": "<1.10.0,>=2.0.0"
Conflicts: php-maxminddb < %{version} Conflicts: php-maxminddb < %{version}
# Weak dependencies on databases # Weak dependencies on databases
Recommends: geolite2-country Recommends: geolite2-country
@ -260,6 +262,12 @@ exit $ret
%changelog %changelog
* Thu Apr 15 2021 Remi Collet <remi@remirepo.net> - 1.10.1-1
- update to 1.10.1
* 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 * Fri Oct 2 2020 Remi Collet <remi@remirepo.net> - 1.8.0-1
- update to 1.8.0 - update to 1.8.0
- now available on pecl - now available on pecl

View file

@ -1 +1 @@
SHA512 (php-maxminddb-1.8.0-b566d42.tgz) = f1e625e6ffd23147c6043dc9b2d2c45cecc548849b944cef61f957e5c98947433a25fe26a3c29f6182feed8646a5eebd8d7fb2fa2b8ff3ae49b174d10ac107c0 SHA512 (php-maxminddb-1.10.1-569bd44.tgz) = cf4c4081a3d11766eaa294c80364d840592f29871226d1596532456870575deaa1ddcc444930fa48b184786cb7916b8be14d563486d6da00a378dbad7e5c300a