diff --git a/libfastcommon.spec b/libfastcommon.spec index ca4b620..2974a7b 100644 --- a/libfastcommon.spec +++ b/libfastcommon.spec @@ -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