diff --git a/0008-change-cmake-minimum-version.patch b/0008-change-cmake-minimum-version.patch new file mode 100644 index 0000000000000000000000000000000000000000..02a783df98b04a033200fe35bec55d8fcd23c963 --- /dev/null +++ b/0008-change-cmake-minimum-version.patch @@ -0,0 +1,34 @@ +From 9544174e54ed0ba97dbec90b0cba0b6a65e9ea15 Mon Sep 17 00:00:00 2001 +From: gaoboqwq +Date: Thu, 27 Nov 2025 10:41:15 +0800 +Subject: [PATCH] change cmake minimum version + +--- + CMakeLists.txt | 2 +- + data/CMakeLists.txt | 2 -- + 2 files changed, 1 insertion(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d1189aa..ac5a889 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + +-cmake_minimum_required(VERSION 3.2) ++cmake_minimum_required(VERSION 3.2...${CMAKE_VERSION}) + + project(kiran-authentication-devices) + +diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt +index a6ae20b..d4a5c69 100644 +--- a/data/CMakeLists.txt ++++ b/data/CMakeLists.txt +@@ -1,5 +1,3 @@ +-cmake_minimum_required(VERSION 3.2) +- + # init variables + if(SYSTEMD_FOUND) + pkg_get_variable(SYSTEM_UNIT_DIR systemd systemdsystemunitdir) +-- +2.33.0 + diff --git a/kiran-authentication-devices.spec b/kiran-authentication-devices.spec index 64800c2dea14cf06a2191f005f5a421566a4c7aa..a7957a4cd9942f6ce8f65fad608c898bee033dee 100644 --- a/kiran-authentication-devices.spec +++ b/kiran-authentication-devices.spec @@ -1,8 +1,9 @@ Name: kiran-authentication-devices Version: 2.5.2 -Release: 5%{?dist} -Summary: Kiran Authentication Devices +Release: 7%{?dist} +Summary: Kiran Authentication Devices +Summary(zh_CN): 麒麟认证设备 License: MulanPSL-2.0 Source0: %{name}-%{version}.tar.gz @@ -15,6 +16,7 @@ Patch0004: 0004-fix-When-the-driver-is-enabled-the-device-is-scanned.patch Patch0005: 0005-fix-build-fix-file-install-path-error.patch Patch0006: 0006-feature-suitable-for-zhi-ang-fingerprint-device.patch Patch0007: 0007-fix-build-delete-blank-cmake_target_link_directories.patch +Patch0008: 0008-change-cmake-minimum-version.patch BuildRequires: cmake BuildRequires: gcc-c++ @@ -32,13 +34,20 @@ Requires: libusb %description Manage authentication devices +%description -l zh_CN +管理认证设备 + %package devel -Summary: Development files for kiran authentication devices +Summary: Development files for kiran authentication devices +Summary(zh_CN): 麒麟认证设备的开发文件 Requires: %{name} = %{version}-%{release} %description devel Development files for kiran authentication devices +%description devel -l zh_CN +麒麟认证设备的开发文件 + %prep %autosetup -p1 @@ -89,6 +98,12 @@ systemctl enable kiran-authentication-devices.service rm -rf ${buildroot} %changelog +* Wed Nov 26 2025 gaobo - 2.5.2-7 +- KYOS-F: change cmake required minimum version to 3.5 + +* Wed Nov 26 2025 gaobo - 2.5.2-6 +- KYOS-R: add localized translations. (#105352) + * Thu Apr 03 2025 liuxinhao - 2.5.2-5 - KYOS-B: delete blank cmake_target_link_directories - KYOS-B: remove rpath (#37243)