fix: Correct issues in xpadneo akmod dependencies, similar to zenpower fix (#11033) (#11037)

(cherry picked from commit b5c66122ec)

Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
This commit is contained in:
Raboneko
2026-04-03 17:13:01 -07:00
committed by GitHub
parent cbaf02fdf4
commit a5bfa30b5d
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -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. <roachy@fyralabs.com>
+2 -2
View File
@@ -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