upgrade version to 1.0.54
parent
750c2c5e8a
commit
b4f6152776
3
HISTORY
3
HISTORY
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
Version 1.54 2021-10-19
|
Version 1.54 2021-12-23
|
||||||
* fast_allocator.[hc]: correct reclaim_interval logic
|
* fast_allocator.[hc]: correct reclaim_interval logic
|
||||||
* shared_func.[hc]: add functions getFileContentEx1 and getFileContent1
|
* shared_func.[hc]: add functions getFileContentEx1 and getFileContent1
|
||||||
* fc_queue.[hc]: add function fc_queue_timedpeek
|
* 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: array_allocator.[hc]
|
||||||
* add files: sorted_array.[hc]
|
* add files: sorted_array.[hc]
|
||||||
* shared_func.[hc]: add function fc_read_lines
|
* shared_func.[hc]: add function fc_read_lines
|
||||||
|
* normalize_path removes prefix one ./ and multi ../
|
||||||
|
|
||||||
Version 1.53 2021-06-30
|
Version 1.53 2021-06-30
|
||||||
* process_action support action status
|
* process_action support action status
|
||||||
|
|
|
||||||
|
|
@ -1,66 +1,66 @@
|
||||||
|
|
||||||
%define LibFastcommonDevel libfastcommon-devel
|
%define LibFastcommonDevel libfastcommon-devel
|
||||||
%define CommitVersion %(echo $COMMIT_VERSION)
|
%define CommitVersion %(echo $COMMIT_VERSION)
|
||||||
|
|
||||||
Name: libfastcommon
|
Name: libfastcommon
|
||||||
Version: 1.0.53
|
Version: 1.0.54
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: c common functions library extracted from my open source projects FastDFS
|
Summary: c common functions library extracted from my open source projects FastDFS
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: Arch/Tech
|
Group: Arch/Tech
|
||||||
URL: http://github.com/happyfish100/libfastcommon/
|
URL: http://github.com/happyfish100/libfastcommon/
|
||||||
Source: http://github.com/happyfish100/libfastcommon/%{name}-%{version}.tar.gz
|
Source: http://github.com/happyfish100/libfastcommon/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
Requires: libcurl
|
Requires: libcurl
|
||||||
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
|
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
|
||||||
|
|
||||||
%description
|
%description
|
||||||
c common functions library extracted from my open source projects FastDFS.
|
c common functions library extracted from my open source projects FastDFS.
|
||||||
this library is very simple and stable. functions including: string, logger,
|
this library is very simple and stable. functions including: string, logger,
|
||||||
chain, hash, socket, ini file reader, base64 encode / decode,
|
chain, hash, socket, ini file reader, base64 encode / decode,
|
||||||
url encode / decode, fasttimer etc.
|
url encode / decode, fasttimer etc.
|
||||||
commit version: %{CommitVersion}
|
commit version: %{CommitVersion}
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development header file
|
Summary: Development header file
|
||||||
Requires: libcurl-devel
|
Requires: libcurl-devel
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the header files of libfastcommon
|
This package provides the header files of libfastcommon
|
||||||
commit version: %{CommitVersion}
|
commit version: %{CommitVersion}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./make.sh clean && ./make.sh
|
./make.sh clean && ./make.sh
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
DESTDIR=$RPM_BUILD_ROOT ./make.sh install
|
DESTDIR=$RPM_BUILD_ROOT ./make.sh install
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/lib64/libfastcommon.so*
|
/usr/lib64/libfastcommon.so*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/usr/include/fastcommon/*
|
/usr/include/fastcommon/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 23 2014 Zaixue Liao
|
* Mon Jun 23 2014 Zaixue Liao
|
||||||
- first RPM release (1.0)
|
- first RPM release (1.0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue