libfastcommon.spec add commit version

pull/37/head V1.0.36
yuqing 2017-04-05 18:07:54 +08:00
parent 794eca7285
commit aa4f5b29c7
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
%define LibFastcommonDevel libfastcommon-devel
%define LibFastcommonDebuginfo libfastcommon-debuginfo
%define CommitVersion %(echo $COMMIT_VERSION)
Name: libfastcommon
Version: 1.0.36
@ -22,6 +23,7 @@ c common functions library extracted from my open source projects FastDFS.
this library is very simple and stable. functions including: string, logger,
chain, hash, socket, ini file reader, base64 encode / decode,
url encode / decode, fasttimer etc.
commit version: %{CommitVersion}
%package devel
Summary: Development header file
@ -29,6 +31,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This pakcage provides the header files of libfastcommon
commit version: %{CommitVersion}
%prep