Skip to content

Commit

Permalink
Bring in latest fixes from upstream negativo17
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Mar 1, 2024
1 parent 36f58c7 commit 5441d09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 3 additions & 2 deletions akmods/xone/xone-kmod-common.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
Name: %{real_name}-kmod-common
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories
Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories common files
License: GPLv2
URL: https://github.com/BoukeHaarsma23/xonedo
URL: https://github.com/KyleGospo/xonedo
BuildArch: noarch

Source: %{url}/archive/refs/heads/master.tar.gz

# Windows driver and firmware file:
Source1: 1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab

Expand Down
9 changes: 2 additions & 7 deletions akmods/xone/xone-kmod.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
%global commit0 af5e344fb0203738c5892e295aa4f7138889393d
%global date 20240116
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
#global tag %{version}

# Build only the akmod package and no kernel module packages:
%define buildforkernels akmod

Expand All @@ -13,7 +8,7 @@ Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories
License: GPLv2
URL: https://github.com/BoukeHaarsma23/xonedo
URL: https://github.com/KyleGospo/xonedo

Source: %{url}/archive/refs/heads/master.tar.gz

Expand All @@ -36,7 +31,7 @@ kmodtool --target %{_target_cpu} --repo negativo17.org --kmodname %{name} %{?b

for kernel_version in %{?kernel_versions}; do
mkdir _kmod_build_${kernel_version%%___*}
cp -fr bus driver transport Kbuild _kmod_build_${kernel_version%%___*}
cp -fr auth bus driver transport Kbuild _kmod_build_${kernel_version%%___*}
done

%build
Expand Down

0 comments on commit 5441d09

Please sign in to comment.