From c1a70338a70d72b470c18c280b41cf6bc84b5ec0 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 20 Nov 2024 16:19:18 +0800 Subject: [PATCH] adopt to new cmake macro --- kiran-authentication-devices.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kiran-authentication-devices.spec b/kiran-authentication-devices.spec index 627aa85..c5a2b5e 100644 --- a/kiran-authentication-devices.spec +++ b/kiran-authentication-devices.spec @@ -1,7 +1,7 @@ Name: kiran-authentication-devices Version: 2.5.2 -Release: 3 +Release: 4 Summary: Kiran Authentication Devices License: MulanPSL-2.0 @@ -22,8 +22,8 @@ BuildRequires: kiran-log-qt5-devel BuildRequires: systemd-devel Requires: qt5-qtbase Requires: kiran-log-qt5 -Requires: systemd Requires: libusb +%{?systemd_requires} %description Manage authentication devices @@ -40,10 +40,10 @@ Development files for kiran authentication devices %build %cmake -make %{?_smp_mflags} +%cmake_build %install -%make_install +%cmake_install %post %systemd_post kiran-authentication-devices.service @@ -67,10 +67,10 @@ systemctl enable kiran-authentication-devices.service %files devel %{_includedir}/kiran-authentication-devices/kiran-auth-device-i.h -%clean -rm -rf ${buildroot} - %changelog +* Wed Nov 20 2024 Funda Wang - 2.5.2-4 +- adopt to new cmake macro + * Thu Jan 18 2024 luoqing - 2.5.2-3 - KYOS-B: Fixed a crash caused by repeatedly calling disConnectDev in resetUkey and destructor to release the same device handle - KYOS-R: Modify the code according to the https://gitee.com/openeuler/kiran-authentication-devices/pulls/17 review opinions -- Gitee