From b4f6152776199684f1bf8699883cca0c502724e7 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Thu, 23 Dec 2021 11:23:45 +0800 Subject: [PATCH] upgrade version to 1.0.54 --- HISTORY | 3 +- libfastcommon.spec | 132 ++++++++++++++++++++++----------------------- 2 files changed, 68 insertions(+), 67 deletions(-) diff --git a/HISTORY b/HISTORY index 7b9a50f..0622599 100644 --- a/HISTORY +++ b/HISTORY @@ -1,5 +1,5 @@ -Version 1.54 2021-10-19 +Version 1.54 2021-12-23 * fast_allocator.[hc]: correct reclaim_interval logic * shared_func.[hc]: add functions getFileContentEx1 and getFileContent1 * fc_queue.[hc]: add function fc_queue_timedpeek @@ -8,6 +8,7 @@ Version 1.54 2021-10-19 * add files: array_allocator.[hc] * add files: sorted_array.[hc] * shared_func.[hc]: add function fc_read_lines + * normalize_path removes prefix one ./ and multi ../ Version 1.53 2021-06-30 * process_action support action status diff --git a/libfastcommon.spec b/libfastcommon.spec index 69d4b84..c1bce29 100644 --- a/libfastcommon.spec +++ b/libfastcommon.spec @@ -1,66 +1,66 @@ - -%define LibFastcommonDevel libfastcommon-devel -%define CommitVersion %(echo $COMMIT_VERSION) - -Name: libfastcommon -Version: 1.0.53 -Release: 1%{?dist} -Summary: c common functions library extracted from my open source projects FastDFS -License: LGPL -Group: Arch/Tech -URL: http://github.com/happyfish100/libfastcommon/ -Source: http://github.com/happyfish100/libfastcommon/%{name}-%{version}.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: libcurl-devel -Requires: libcurl -Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id - -%description -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 -Requires: libcurl-devel -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -This package provides the header files of libfastcommon -commit version: %{CommitVersion} - - -%prep -%setup -q - -%build -./make.sh clean && ./make.sh - -%install -rm -rf %{buildroot} -DESTDIR=$RPM_BUILD_ROOT ./make.sh install - -%post - -%preun - -%postun - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -/usr/lib64/libfastcommon.so* - -%files devel -%defattr(-,root,root,-) -/usr/include/fastcommon/* - -%changelog -* Mon Jun 23 2014 Zaixue Liao -- first RPM release (1.0) + +%define LibFastcommonDevel libfastcommon-devel +%define CommitVersion %(echo $COMMIT_VERSION) + +Name: libfastcommon +Version: 1.0.54 +Release: 1%{?dist} +Summary: c common functions library extracted from my open source projects FastDFS +License: LGPL +Group: Arch/Tech +URL: http://github.com/happyfish100/libfastcommon/ +Source: http://github.com/happyfish100/libfastcommon/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libcurl-devel +Requires: libcurl +Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id + +%description +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 +Requires: libcurl-devel +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the header files of libfastcommon +commit version: %{CommitVersion} + + +%prep +%setup -q + +%build +./make.sh clean && ./make.sh + +%install +rm -rf %{buildroot} +DESTDIR=$RPM_BUILD_ROOT ./make.sh install + +%post + +%preun + +%postun + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +/usr/lib64/libfastcommon.so* + +%files devel +%defattr(-,root,root,-) +/usr/include/fastcommon/* + +%changelog +* Mon Jun 23 2014 Zaixue Liao +- first RPM release (1.0)