From a5bfa30b5d93a135dea0fce396f7b54530408b17 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 3 Apr 2026 17:13:01 -0700 Subject: [PATCH] fix: Correct issues in xpadneo akmod dependencies, similar to zenpower fix (#11033) (#11037) (cherry picked from commit b5c66122ec979da5e8b7ba981e0f34e594cf4e95) Co-authored-by: Kyle Gospodnetich --- anda/system/xpadneo/dkms/dkms-xpadneo.spec | 3 ++- anda/system/xpadneo/kmod-common/xpadneo.spec | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/anda/system/xpadneo/dkms/dkms-xpadneo.spec b/anda/system/xpadneo/dkms/dkms-xpadneo.spec index 6dc0c6d4a0..57520c957d 100644 --- a/anda/system/xpadneo/dkms/dkms-xpadneo.spec +++ b/anda/system/xpadneo/dkms/dkms-xpadneo.spec @@ -7,7 +7,7 @@ Name: dkms-%{modulename} Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Advanced Linux Driver for Xbox One Wireless Gamepad License: GPL-3.0 URL: https://atar-axis.github.io/%{modulename} @@ -20,6 +20,7 @@ Requires: bluez-tools Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} Requires: dkms Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod BuildArch: noarch Packager: Gilver E. diff --git a/anda/system/xpadneo/kmod-common/xpadneo.spec b/anda/system/xpadneo/kmod-common/xpadneo.spec index c8fd580b77..8f8253396d 100644 --- a/anda/system/xpadneo/kmod-common/xpadneo.spec +++ b/anda/system/xpadneo/kmod-common/xpadneo.spec @@ -5,7 +5,7 @@ Name: xpadneo Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Advanced Linux Driver for Xbox One Wireless Gamepad common files License: GPL-3.0 URL: https://atar-axis.github.io/%{name} @@ -13,7 +13,7 @@ Source0: https://github.com/atar-axis/%{name}/archive/%{commit}.tar.gz#/% Source1: io.github.%{name}.metainfo.xml BuildRequires: sed BuildRequires: systemd-rpm-macros -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} Obsoletes: %{name}-kmod-common < %{?epoch:%{epoch}:}0.9.7^20241224git.8d20a23-5%{?dist} BuildArch: noarch