diff --git a/kiran-authentication-service.spec b/kiran-authentication-service.spec index 4773a4be94629f23b7bbd25e13ec2ddf0ae20924..3d8fe62aae9d2f4f729f8b0fccb49f3d1cdf36d3 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