upgrade php-fastcommon version to 1.0.6
parent
064c4730e4
commit
5cb9066ed1
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue