update to 1.5.0

raise dependency on PHP 5.6

(cherry picked from commit 1066803c76)
This commit is contained in:
Remi Collet 2019-10-01 10:15:06 +02:00
commit 75037266ee
3 changed files with 12 additions and 11 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/php-maxminddb-1.4.0-2f1086e.tgz
/php-maxminddb-1.4.1-eb83d0e.tgz
/php-maxminddb-1.5.0-bd43609.tgz

View file

@ -9,7 +9,7 @@
#
# Please, preserve the changelog entries
#
%global gh_commit eb83d0ee1c1f9b8a340206302136bc81ee02ae74
%global gh_commit bd436094fc0a9b0558a899fb80b0ae34fe1808a0
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner maxmind
%global gh_project MaxMind-DB-Reader-php
@ -24,25 +24,23 @@
Summary: MaxMind DB Reader extension
Name: php-maxminddb
Version: 1.4.1
Release: 2%{?dist}
Version: 1.5.0
Release: 1%{?dist}
License: ASL 2.0
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
BuildRequires: php-devel > 5.4
BuildRequires: php-devel > 5.6
BuildRequires: pkgconfig(libmaxminddb) >= 1.0.0
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
# Weak dependencies on databases
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Recommends: geolite2-country
Suggests: geolite2-city
%endif
%description
@ -72,20 +70,18 @@ BuildRequires: php-composer(phpunit/phpunit)
%endif
# from composer.json "require": {
# "php": ">=5.4"
Requires: php(language) >= 5.4
# "php": ">=5.6"
Requires: php(language) >= 5.6
# 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",
# "ext-maxminddb": "A C-based database decoder that provides significantly faster lookups"
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Recommends: php-bcmath
Recommends: php-gmp
Recommends: php-maxminddb
# Weak dependencies on databases
Recommends: geolite2-country
Suggests: geolite2-city
%endif
# From phpcompatifo report for 1.3.0
Requires: php-filter
Requires: php-spl
@ -249,6 +245,10 @@ exit $ret
%changelog
* 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
- 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.5.0-bd43609.tgz) = 8bf1b9e07fab0ce87acde34cf3f5e0b2958fc1f54eb938b7abaa1941712889f678a4b4ddfb9bcb41e6594f8c67e97fbf5209eb89f50f11f0cfab101b0ae7035c