!9 update to 2.2.2

From: @kylinsecos_admin 
Reviewed-by: @doudou19 
Signed-off-by: @doudou19
This commit is contained in:
openeuler-ci-bot 2022-02-19 14:23:43 +00:00 committed by Gitee
commit 2cefcb0df6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 18 additions and 9 deletions

Binary file not shown.

BIN
kiran-log-2.2.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,8 @@
%global ky3_2 0
Name: kiran-log
Version: 2.1.1
Release: 6.kb1
Version: 2.2.2
Release: 1.kb1
Summary: kiran log out library
Summary(zh_CN): kiran桌面日志输出库
@ -17,7 +19,6 @@ BuildRequires: zlog-devel
BuildRequires: zlog
%endif
BuildRequires: gtest-devel
%description
Kiran log out library
@ -60,20 +61,25 @@ Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
%build
%{__mkdir} -p %{buildroot}
%if 0%{?kylin}
%cmake
%if 0%{ky3_2} == 1
%cmake -DCMAKE_INSTALL_LIBDIR=lib64
%else
%cmake
%endif
%else
%cmake -DENABLE_ZLOG_EX:BOOL=OFF
%cmake -DENABLE_ZLOG_EX:BOOL=OFF
%endif
make %{?_smp_mflags}
%install
%make_install
%files qt5
%{_libdir}/libklog-qt5.so.1*
%{_libdir}/libklog-qt5.so.2*
%files gtk3
%{_libdir}/libklog-gtk3.so.1*
%{_libdir}/libklog-gtk3.so.2*
%files qt5-devel
%{_libdir}/libklog-qt5.so
@ -89,8 +95,11 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%changelog
* Mon Feb 14 2022 longcheng <longcheng@kylinos.com.cn> - 2.1.1-6.kb1
- update to 2.1.1-6
* Sat Feb 19 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.2.1-2.kb1
- KYOS-B: Fix compile error on openeuler.
* Fri Feb 18 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.2.1-1.kb1
- KYOS-F: Compatible to KY3.2 os version.
* Wed Jan 19 2022 longcheng <longcheng@kylinos.com.cn> - 2.1.1-5.kb1
- update to 2.1.1-5