fix: Correct issue with Python3 HID and Valve Controller FW Updater

This commit is contained in:
Kyle Gospodnetich 2024-10-29 23:14:50 -07:00
parent 261ef69a3c
commit 5754ee4949

View File

@ -11,6 +11,7 @@ URL: https://github.com/ublue-os/bazzite
Source: https://gitlab.com/evlaV/%{packagename}/-/archive/%{packagever}/%{packagename}-%{packagever}.tar.gz Source: https://gitlab.com/evlaV/%{packagename}/-/archive/%{packagever}/%{packagename}-%{packagever}.tar.gz
Source2: bazzite.png Source2: bazzite.png
Source3: https://github.com/apmorton/pyhidapi/raw/396ae60212fe08ff1d12879e9a049fb126e966c3/hid/__init__.py
Patch0: fedora.patch Patch0: fedora.patch
Patch1: selinux.patch Patch1: selinux.patch
Patch2: btrfs-automount.patch Patch2: btrfs-automount.patch
@ -82,6 +83,8 @@ rm -rf %{buildroot}%{_unitdir}/multi-user.target.wants
rm -rf %{buildroot}%{_datadir}/alsa rm -rf %{buildroot}%{_datadir}/alsa
# Add Bazzite PNG # Add Bazzite PNG
cp %{SOURCE2} %{buildroot}%{_datadir}/steamos/steamos.png cp %{SOURCE2} %{buildroot}%{_datadir}/steamos/steamos.png
# Add fix for controller FW updater
cp %{SOURCE3} %{buildroot}%{_datadir}/jupiter_controller_fw_updater/hid.py
# Do post-installation # Do post-installation
%post %post