From 5cb9066ed1ffe46d8384fa72f2ed11f1c10cbfa2 Mon Sep 17 00:00:00 2001 From: yuqing Date: Mon, 16 May 2016 09:06:07 +0800 Subject: [PATCH] upgrade php-fastcommon version to 1.0.6 --- php-fastcommon/php-fastcommon.spec.in | 6 +++--- src/tests/test_id_generator.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/php-fastcommon/php-fastcommon.spec.in b/php-fastcommon/php-fastcommon.spec.in index 9ea2da8..c38a733 100644 --- a/php-fastcommon/php-fastcommon.spec.in +++ b/php-fastcommon/php-fastcommon.spec.in @@ -1,7 +1,7 @@ %define php_inidir %(php --ini | head -n 1 | awk -F ':' '{print $2;}' | sed 's/ //g') %define php_extdir %(php-config --extension-dir 2>/dev/null) Name: php-fastcommon -Version: 1.0.5 +Version: 1.0.6 Release: 1%{?dist} Summary: The php extension for libfastcommon License: GPL @@ -11,8 +11,8 @@ Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libfastcommon-devel >= 1.0.27 -Requires: libfastcommon >= 1.0.27 +BuildRequires: libfastcommon-devel >= 1.0.28 +Requires: libfastcommon >= 1.0.28 %description This package provides the php extension for libfastcommon diff --git a/src/tests/test_id_generator.c b/src/tests/test_id_generator.c index b7521f4..a99fbf2 100644 --- a/src/tests/test_id_generator.c +++ b/src/tests/test_id_generator.c @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) return result; } - for (i=0; i<100; i++) + for (i=0; i<1024; i++) { result = id_generator_next_extra(&context, i, &id); if (result != 0)