!18 Update to version 2.1.0

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-11-10 09:31:08 +00:00 committed by Gitee
commit d51a9f42d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 17 additions and 5 deletions

Binary file not shown.

BIN
log4cplus-REL_2_1_0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,17 @@
%define git_version %(echo %{version} | sed -e 's/\\./_/g') %define git_version %(echo %{version} | sed -e 's/\\./_/g')
Name: log4cplus Name: log4cplus
Version: 2.0.7 Version: 2.1.0
Release: 2 Release: 1
Summary: simple logging API by using C++ Summary: simple logging API by using C++
License: BSD-2-Clause and BSL-1.0 and Apache-2.0 License: BSD-2-Clause and BSL-1.0 and Apache-2.0
URL: https://sourceforge.net/projects/log4cplus URL: https://sourceforge.net/projects/log4cplus
Source0: https://github.com/log4cplus/log4cplus/releases/download/REL_%{git_version}/%{name}-%{version}.tar.gz Source0: https://github.com/log4cplus/log4cplus/releases/download/REL_%{git_version}/%{name}-REL_2_1_0.tar.gz
# https://github.com/log4cplus/log4cplus/issues/169
# git clone --recursive https://github.com/log4cplus/log4cplus.git
# cd log4cplus
# tar -cvf threadpool.tar.gz threadpool
Source1: threadpool.tar.gz
BuildRequires: cmake g++ BuildRequires: cmake g++
@ -22,7 +27,11 @@ flexible, and arbitrarily granular control over log management and
configuration. It is modeled after the Java log4j API. configuration. It is modeled after the Java log4j API.
%prep %prep
%setup -q -n %{name}-%{version}/ %setup -q -n %{name}-REL_2_1_0/
rm -rf threadpool
cp %{SOURCE1} .
tar -xvf threadpool.tar.gz
rm -rf threadpool.tar.gz
%build %build
export CFLAGS=$RPM_OPT_FLAGS export CFLAGS=$RPM_OPT_FLAGS
@ -48,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.so %{_libdir}/lib*.so
%changelog %changelog
* Fri Nov 10 2023 Ge Wang <wang__ge@126.com> - 2.1.0-1
- Update to version 2.1.0
* Tue Jun 7 2022 lijian <lijian2@kylinos.cn> - 2.0.7-2 * Tue Jun 7 2022 lijian <lijian2@kylinos.cn> - 2.0.7-2
- License compliance rectification - License compliance rectification

BIN
threadpool.tar.gz Normal file

Binary file not shown.