fix build error

This commit is contained in:
kylinsecos_admin 2022-02-15 14:23:05 +08:00
parent 868ceb05f5
commit 81dfd61277

View File

@ -1,6 +1,6 @@
Name: kiran-log
Version: 2.1.1
Release: 5.kb1
Release: 6.kb1
Summary: kiran log out library
Summary(zh_CN): kiran桌面日志输出库
@ -8,12 +8,10 @@ License: Mulan PSL v2
#URL:
Source0: %{name}-%{version}.tar.gz
%define ZLOG_AUTH true
BuildRequires: gcc-c++
BuildRequires: cmake
%if %{ZLOG_AUTH} == false
%if 0%{?kylin}
BuildRequires: zlog-devel
%else
BuildRequires: zlog
@ -61,7 +59,7 @@ Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
%build
%{__mkdir} -p %{buildroot}
%if %{ZLOG_AUTH} == false
%if 0%{?kylin}
%cmake
%else
%cmake -DENABLE_ZLOG_EX:BOOL=OFF
@ -91,6 +89,9 @@ 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
* Wed Jan 19 2022 longcheng <longcheng@kylinos.com.cn> - 2.1.1-5.kb1
- update to 2.1.1-5