From 4d6434c85e13f9ffbb516d8a75642e138eaed7cf Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 6 May 2026 22:07:57 -0500 Subject: [PATCH] nct6687d: fix module not loading by default (#12011) (#12021) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix module load file * obsoletes akmods-modules (cherry picked from commit 450140603cf5aaa6cef3ece56445283609b76586) Co-authored-by: Luan Vitor Simião Oliveira --- anda/system/nct6687d/kmod-common/nct6687d.spec | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/anda/system/nct6687d/kmod-common/nct6687d.spec b/anda/system/nct6687d/kmod-common/nct6687d.spec index 6276cb0f96..49d2bad8a1 100644 --- a/anda/system/nct6687d/kmod-common/nct6687d.spec +++ b/anda/system/nct6687d/kmod-common/nct6687d.spec @@ -4,15 +4,17 @@ Name: nct6687d Version: 1.0^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Linux kernel driver for the NCT6687D hardware monitoring chip License: GPL-2.0-or-later URL: https://github.com/Fred78290/%{name} Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz Source1: com.github.nct6687d.metainfo.xml BuildRequires: systemd-rpm-macros +BuildRequires: anda-srpm-macros Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Obsoletes: %{name}-akmods-modules < %{evr} BuildArch: noarch %description @@ -20,18 +22,10 @@ Linux kernel driver for the NCT6687D hardware monitoring chip. This kernel module permit to recognize the chipset Nuvoton NCT6687-R in lm-sensors package. This sensor is present on some B550 motherboard such as MSI or ASUS. The implementation is minimalist and was done by reverse coding of Windows 10 source code from LibreHardwareMonitor -%package akmod-modules -Summary: Modules for Akmods -Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} -BuildArch: noarch - -%description akmod-modules -Akmods modules for the akmod-%{name} package. - %prep %autosetup -p1 -n %{name}-%{commit} -echo %{name} > %{name}.conf +echo nct6687 > %{name}.conf echo "blacklist nct6683" > nct6683_blacklist.conf %install @@ -46,10 +40,10 @@ install -Dm 0644 nct6683_blacklist.conf -t %{buildroot}%{_modprobedir} %doc README.md images/* TESTING_RESULTS.md %{_modprobedir}/nct6683_blacklist.conf %{_datadir}/metainfo/com.github.nct6687d.metainfo.xml - -%files akmod-modules %{_modulesloaddir}/%{name}.conf %changelog +* Wed May 06 2026 Luan Oliveira - 1.0^20260411git.cedda8b-2 +- fix module load file * Sat Apr 11 2026 Luan Oliveira - 1.0^20260411git.cedda8b-1 - Initial package