From 0b45d62e761bd062e559d8ca7d0493838e1b9f41 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 3 Apr 2026 16:36:49 -0700 Subject: [PATCH] fix: Correct dependency issue in tmff2 akmod as well (#11028) (#11032) --- anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec | 3 ++- anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec b/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec index fe80374d81..b79b1accc0 100644 --- a/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec +++ b/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec @@ -11,7 +11,7 @@ Name: dkms-%{modulename} Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thrustmaster Force Feedback kernel module (DKMS) License: GPL-2.0-only URL: https://github.com/Kimplul/%{modulename} @@ -22,6 +22,7 @@ Source3: no-weak-modules.conf Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} Requires: dkms Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod BuildArch: noarch %description diff --git a/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec b/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec index 779c9d20b1..b8a5b56a47 100644 --- a/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec +++ b/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec @@ -8,13 +8,13 @@ Name: hid-tmff2 Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Thrustmaster Force Feedback driver common files License: GPL-2.0-only URL: https://github.com/Kimplul/%{name} Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz Source1: https://github.com/Kimplul/hid-tminit/archive/%{tminit_commit}.tar.gz#/hid-tminit-%{tminit_shortcommit}.tar.gz -Requires: (akmod-%{name} = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} BuildArch: noarch