diff --git a/HISTORY b/HISTORY index a140bc4..d099747 100644 --- a/HISTORY +++ b/HISTORY @@ -1,5 +1,5 @@ -Version 6.08 2022-02-25 +Version 6.08 2022-06-21 * use libfastcommon V1.56 NOTE: you MUST upgrade libfastcommon to V1.56 or later diff --git a/fastdfs.spec b/fastdfs.spec index 4dd53dd..0f01f87 100644 --- a/fastdfs.spec +++ b/fastdfs.spec @@ -8,7 +8,7 @@ Name: %{FastDFS} Version: 6.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: FastDFS server and client License: GPL Group: Arch/Tech @@ -18,14 +18,14 @@ Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id -BuildRequires: libfastcommon-devel >= 1.0.56 +BuildRequires: libfastcommon-devel >= 1.0.58 %description This package provides tracker & storage of fastdfs commit version: %{CommitVersion} %package -n %{FDFSServer} -Requires: libfastcommon >= 1.0.56 +Requires: libfastcommon >= 1.0.58 Requires: %{FDFSConfig} Summary: fastdfs tracker & storage diff --git a/make.sh b/make.sh index 76ba2e6..0b2c28b 100755 --- a/make.sh +++ b/make.sh @@ -18,7 +18,7 @@ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE" if [ "$DEBUG_FLAG" = "1" ]; then CFLAGS="$CFLAGS -g -O1 -DDEBUG_FLAG" else - CFLAGS="$CFLAGS -O3" + CFLAGS="$CFLAGS -g -O3" fi if [ -f /usr/include/fastcommon/_os_define.h ]; then