fastdfs.spec upgrade libfastcommon version

pull/585/head
YuQing 2022-06-21 12:47:03 +08:00
parent aaf77064e2
commit 75e10b28f9
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
Version 6.08 2022-02-25 Version 6.08 2022-06-21
* use libfastcommon V1.56 * use libfastcommon V1.56
NOTE: you MUST upgrade libfastcommon to V1.56 or later NOTE: you MUST upgrade libfastcommon to V1.56 or later

View File

@ -8,7 +8,7 @@
Name: %{FastDFS} Name: %{FastDFS}
Version: 6.0.8 Version: 6.0.8
Release: 1%{?dist} Release: 2%{?dist}
Summary: FastDFS server and client Summary: FastDFS server and client
License: GPL License: GPL
Group: Arch/Tech 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
BuildRequires: libfastcommon-devel >= 1.0.56 BuildRequires: libfastcommon-devel >= 1.0.58
%description %description
This package provides tracker & storage of fastdfs This package provides tracker & storage of fastdfs
commit version: %{CommitVersion} commit version: %{CommitVersion}
%package -n %{FDFSServer} %package -n %{FDFSServer}
Requires: libfastcommon >= 1.0.56 Requires: libfastcommon >= 1.0.58
Requires: %{FDFSConfig} Requires: %{FDFSConfig}
Summary: fastdfs tracker & storage Summary: fastdfs tracker & storage

View File

@ -18,7 +18,7 @@ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"
if [ "$DEBUG_FLAG" = "1" ]; then if [ "$DEBUG_FLAG" = "1" ]; then
CFLAGS="$CFLAGS -g -O1 -DDEBUG_FLAG" CFLAGS="$CFLAGS -g -O1 -DDEBUG_FLAG"
else else
CFLAGS="$CFLAGS -O3" CFLAGS="$CFLAGS -g -O3"
fi fi
if [ -f /usr/include/fastcommon/_os_define.h ]; then if [ -f /usr/include/fastcommon/_os_define.h ]; then