Compare commits

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

3 commits

Author SHA1 Message Date
Remi Collet
95e3947f11 v1.6.0
(cherry picked from commit 714e078cfc)
2019-12-20 15:14:55 +01:00
Remi Collet
8b36eb2261 v1.5.1
(cherry picked from commit cfa6bb410b)
(cherry picked from commit 1ee0cbb54e)
2019-12-13 09:18:41 +01:00
Remi Collet
75037266ee update to 1.5.0
raise dependency on PHP 5.6

(cherry picked from commit 1066803c76)
2019-10-01 10:16:21 +02:00
3 changed files with 24 additions and 11 deletions

4
.gitignore vendored
View file

@ -1,2 +1,6 @@
clog
/php-maxminddb-1.4.0-2f1086e.tgz /php-maxminddb-1.4.0-2f1086e.tgz
/php-maxminddb-1.4.1-eb83d0e.tgz /php-maxminddb-1.4.1-eb83d0e.tgz
/php-maxminddb-1.5.0-bd43609.tgz
/php-maxminddb-1.5.1-f096bbe.tgz
/php-maxminddb-1.6.0-febd492.tgz

View file

@ -9,7 +9,7 @@
# #
# Please, preserve the changelog entries # Please, preserve the changelog entries
# #
%global gh_commit eb83d0ee1c1f9b8a340206302136bc81ee02ae74 %global gh_commit febd4920bf17c1da84cef58e56a8227dfb37fbe4
%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,25 +24,23 @@
Summary: MaxMind DB Reader extension Summary: MaxMind DB Reader extension
Name: php-maxminddb Name: php-maxminddb
Version: 1.4.1 Version: 1.6.0
Release: 2%{?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}
Source0: %{name}-%{version}-%{gh_short}.tgz Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh Source1: makesrc.sh
BuildRequires: php-devel > 5.4 BuildRequires: php-devel > 5.6
BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0 BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0
Requires: php(zend-abi) = %{php_zend_api} Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api} Requires: php(api) = %{php_core_api}
# Weak dependencies on databases # Weak dependencies on databases
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Recommends: geolite2-country Recommends: geolite2-country
Suggests: geolite2-city Suggests: geolite2-city
%endif
%description %description
@ -72,20 +70,21 @@ BuildRequires: php-composer(phpunit/phpunit)
%endif %endif
# from composer.json "require": { # from composer.json "require": {
# "php": ">=5.4" # "php": ">=5.6"
Requires: php(language) >= 5.4 Requires: php(language) >= 5.6
# 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",
# "ext-maxminddb": "A C-based database decoder that provides significantly faster lookups" # "ext-maxminddb": "A C-based database decoder that provides significantly faster lookups"
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Recommends: php-bcmath Recommends: php-bcmath
Recommends: php-gmp Recommends: php-gmp
Recommends: php-maxminddb Recommends: php-maxminddb
# from composer.json "conflict": {
# "ext-maxminddb": "<1.6.0,>=2.0.0"
Conflicts: php-maxminddb < %{version}
# Weak dependencies on databases # Weak dependencies on databases
Recommends: geolite2-country Recommends: geolite2-country
Suggests: geolite2-city Suggests: geolite2-city
%endif
# From phpcompatifo report for 1.3.0 # From phpcompatifo report for 1.3.0
Requires: php-filter Requires: php-filter
Requires: php-spl Requires: php-spl
@ -249,6 +248,16 @@ exit $ret
%changelog %changelog
* Fri Dec 20 2019 Remi Collet <remi@remirepo.net> - 1.6.0-1
- update to 1.6.0
* Fri Dec 13 2019 Remi Collet <remi@remirepo.net> - 1.5.1-1
- update to 1.5.1
* Tue Oct 1 2019 Remi Collet <remi@remirepo.net> - 1.5.0-1
- update to 1.5.0
- raise dependency on PHP 5.6
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (php-maxminddb-1.4.1-eb83d0e.tgz) = e2f3894a6a7dcd31537736ce9370b567bb8edca5052b2de7e3dd07bd464cc17440e3a228a6a561cb78106b822ddef023150f833237f68e0ce35872a1783e51b6 SHA512 (php-maxminddb-1.6.0-febd492.tgz) = 0ce09d1cf08f9c7adbdea9775f7dcc8e4142350fa9b93be355c2b18636b729c112ca5dcdb07fcb7596ce5003d1f03480c10cf120d8bb59985e6bca9158d44f8f