fastdfs.spec add commit version

pull/56/merge V5.10
yuqing 2017-04-06 09:38:40 +08:00
parent a29ebe48ad
commit bcb7c5698c
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@
%define FDFSClientDevel libfdfsclient-devel %define FDFSClientDevel libfdfsclient-devel
%define FDFSTool fastdfs-tool %define FDFSTool fastdfs-tool
%define FDFSVersion 5.0.10 %define FDFSVersion 5.0.10
%define CommitVersion %(echo $COMMIT_VERSION)
Name: %{FastDFS} Name: %{FastDFS}
Version: %{FDFSVersion} Version: %{FDFSVersion}
@ -21,6 +22,7 @@ BuildRequires: libfastcommon-devel >= 1.0.36
%description %description
This package provides tracker & storage of fastdfs This package provides tracker & storage of fastdfs
commit version: %{CommitVersion}
%package -n %{FDFSServer} %package -n %{FDFSServer}
Requires: libfastcommon >= 1.0.36 Requires: libfastcommon >= 1.0.36
@ -40,15 +42,19 @@ Summary: The client header of fastdfs
%description -n %{FDFSServer} %description -n %{FDFSServer}
This package provides tracker & storage of fastdfs This package provides tracker & storage of fastdfs
commit version: %{CommitVersion}
%description -n %{FDFSClient} %description -n %{FDFSClient}
This package is client dynamic library of fastdfs This package is client dynamic library of fastdfs
commit version: %{CommitVersion}
%description -n %{FDFSClient}-devel %description -n %{FDFSClient}-devel
This package is client header of fastdfs client This package is client header of fastdfs client
commit version: %{CommitVersion}
%description -n %{FDFSTool} %description -n %{FDFSTool}
This package is tools for fastdfs This package is tools for fastdfs
commit version: %{CommitVersion}
%prep %prep
%setup -q %setup -q