From d5385652ff19b42de61e39c4e0e565b381ed5a1e Mon Sep 17 00:00:00 2001 From: Gilver Date: Mon, 21 Apr 2025 05:37:49 -0500 Subject: [PATCH] fix(xone): The weird version scheme funny (#4355) * fix(xone): The weird version scheme funny Signed-off-by: Gilver * Forgot the ifcond 0 Signed-off-by: Gilver --------- Signed-off-by: Gilver --- anda/system/xone/kmod-common/xone.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/anda/system/xone/kmod-common/xone.spec b/anda/system/xone/kmod-common/xone.spec index cba440d47a..a42d60d041 100644 --- a/anda/system/xone/kmod-common/xone.spec +++ b/anda/system/xone/kmod-common/xone.spec @@ -8,13 +8,13 @@ Name: xone Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%?dist +Release: 2%?dist Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories common files License: GPL-2.0-or-later URL: https://github.com/dlundqvist/xone Source0: %{url}/archive/%{commit}.tar.gz#/xone-%{shortcommit}.tar.gz Source1: modules.conf -### Windows driver and firmware file: +### Windows drivers and firmware files: Source2: http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab Source3: https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2015/12/20810869_8ce2975a7fbaa06bcfb0d8762a6275a1cf7c1dd3.cab ### Microsoft TOU copy: @@ -48,6 +48,9 @@ Akmods modules for the akmod-%{name} package. Summary: Firmware for the XBox One controller dongle License: Proprietary Requires: wireless-regdb +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Provides: %{name}-firmware = %{commitdate}.%{shortcommit}-%{release} +%endif BuildArch: noarch %description firmware