From 52155834a7a4158f7b264b3878a7388d08e3545b Mon Sep 17 00:00:00 2001 From: Kylin_huangjiawen Date: Wed, 21 Sep 2022 17:45:23 +0800 Subject: [PATCH] Modify %on_openeuler flag to %kylin in kiran-authentication-service.spec file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在kiran-authentication-service.spec文件中将%on_openeuler修改为%kylin --- kiran-authentication-service.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kiran-authentication-service.spec b/kiran-authentication-service.spec index 4773a4b..3d8fe62 100644 --- a/kiran-authentication-service.spec +++ b/kiran-authentication-service.spec @@ -1,5 +1,3 @@ -%global on_openeuler 1 - Name: kiran-authentication-service Version: 0.0.1 Release: 2.kb4 @@ -11,10 +9,10 @@ Source0: %{name}-%{version}.tar.gz Patch1: 0001-fix-kiran-authentication-service-Add-the-enable-zlog-de85f51c.patch BuildRequires: glib2-devel -%if 0%{?on_openeuler} -BuildRequires: zlog -%else +%if 0%{?kylin} BuildRequires: zlog-devel +%else +BuildRequires: zlog %endif BuildRequires: cmake BuildRequires: make -- Gitee