upgrade php-fastcommon version to 1.0.6

pull/10/head
yuqing 2016-05-16 09:06:07 +08:00
parent 064c4730e4
commit 5cb9066ed1
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
%define php_inidir %(php --ini | head -n 1 | awk -F ':' '{print $2;}' | sed 's/ //g') %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) %define php_extdir %(php-config --extension-dir 2>/dev/null)
Name: php-fastcommon Name: php-fastcommon
Version: 1.0.5 Version: 1.0.6
Release: 1%{?dist} Release: 1%{?dist}
Summary: The php extension for libfastcommon Summary: The php extension for libfastcommon
License: GPL 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libfastcommon-devel >= 1.0.27 BuildRequires: libfastcommon-devel >= 1.0.28
Requires: libfastcommon >= 1.0.27 Requires: libfastcommon >= 1.0.28
%description %description
This package provides the php extension for libfastcommon This package provides the php extension for libfastcommon

View File

@ -36,7 +36,7 @@ int main(int argc, char *argv[])
return result; return result;
} }
for (i=0; i<100; i++) for (i=0; i<1024; i++)
{ {
result = id_generator_next_extra(&context, i, &id); result = id_generator_next_extra(&context, i, &id);
if (result != 0) if (result != 0)