From 56159b2edd9524d47f83cd338b57b3551b094cc9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Jun 2018 07:26:32 +0200 Subject: update to 1.4.0 raise dependency on mongodb extension 1.5.0 --- composer.json | 2 +- php-mongodb.spec | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index c4950a5..836c855 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "php": ">=5.5", "ext-hash": "*", "ext-json": "*", - "ext-mongodb": "^1.4.0" + "ext-mongodb": "^1.5.0" }, "require-dev": { "phpunit/phpunit": "^4.8.36 || ^6.4" diff --git a/php-mongodb.spec b/php-mongodb.spec index 26abd73..272362a 100644 --- a/php-mongodb.spec +++ b/php-mongodb.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit b9f35916125976533f4b1e67a4a0ee7baf1d3bb9 +%global gh_commit ae05e905dbb3ae5fac846a2906dd273d717708f2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner mongodb #global gh_date 20151102 @@ -18,7 +18,7 @@ #global prever beta2 Name: php-%{gh_owner} -Version: 1.3.2 +Version: 1.4.0 %if 0%{?gh_date} Release: 1%{gh_date}git%{gh_short}%{?dist} %else @@ -57,12 +57,12 @@ BuildRequires: php-composer(fedora/autoloader) # "php": ">=5.5" # "ext-hash": "*", # "ext-json": "*", -# "ext-mongodb": "^1.4.0" +# "ext-mongodb": "^1.5.0" Requires: php(language) >= 5.4 Requires: php-hash Requires: php-json -Requires: php-pecl(mongodb) >= 1.4.0 -# From phpcompatinfo report for 1.2.0 +Requires: php-pecl(mongodb) >= 1.5.0 +# From phpcompatinfo report for 1.4.0 Requires: php-spl # For autoloader Requires: php-composer(fedora/autoloader) @@ -113,6 +113,7 @@ mongod \ --pidfilepath $PWD/server.pid \ --dbpath $PWD/dbtest \ --port $port \ + --smallfiles \ --fork sed -e "s/27017/$port/" phpunit.xml.dist >phpunit.xml @@ -152,6 +153,10 @@ exit $ret %changelog +* Thu Jun 28 2018 Remi Collet - 1.4.0-1 +- update to 1.4.0 +- raise dependency on mongodb extension 1.5.0 + * Fri Apr 20 2018 Remi Collet - 1.3.2-1 - update to 1.3.2 -- cgit