From 75037266eed0bdfeb50737a2729977fe4ac95126 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Oct 2019 10:15:06 +0200 Subject: [PATCH] update to 1.5.0 raise dependency on PHP 5.6 (cherry picked from commit 1066803c76435eed1ff3912112ab9d9a7ea91b63) --- .gitignore | 1 + php-maxminddb.spec | 20 ++++++++++---------- sources | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 88e7291..6a0d77b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-maxminddb.spec b/php-maxminddb.spec index 340ba2d..883c56d 100644 --- a/php-maxminddb.spec +++ b/php-maxminddb.spec @@ -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 - 1.5.0-1 +- update to 1.5.0 +- raise dependency on PHP 5.6 + * Sat Feb 02 2019 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 08076b8..e16c650 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-maxminddb-1.4.1-eb83d0e.tgz) = e2f3894a6a7dcd31537736ce9370b567bb8edca5052b2de7e3dd07bd464cc17440e3a228a6a561cb78106b822ddef023150f833237f68e0ce35872a1783e51b6 +SHA512 (php-maxminddb-1.5.0-bd43609.tgz) = 8bf1b9e07fab0ce87acde34cf3f5e0b2958fc1f54eb938b7abaa1941712889f678a4b4ddfb9bcb41e6594f8c67e97fbf5209eb89f50f11f0cfab101b0ae7035c