diff --git a/kiran-authentication-devices.spec b/kiran-authentication-devices.spec index 627aa85fd80ad85757be8b690c8e0a95e07fa6b2..c5a2b5e406a7361b8c03929e61bfb4f26876676f 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