fix(umu-launcher): urllib3 dependency issues on <= 41 (#3380) (#3389)

(cherry picked from commit e90f415492)

Co-authored-by: sadlerm4 <sad_lerm@hotmail.com>
This commit is contained in:
Raboneko
2025-02-16 09:26:06 -08:00
committed by GitHub
parent da953fdd33
commit 71ec30bcbb
2 changed files with 13 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "umu-launcher.spec"
}
+12 -1
View File
@@ -1,6 +1,6 @@
Name: umu-launcher
Version: 1.2.3
Release: 1%?dist
Release: 2%?dist
Summary: A tool for launching non-steam games with proton
License: GPL-3.0-only
@@ -27,11 +27,18 @@ BuildRequires: python3-wheel
BuildRequires: python3-xlib
BuildRequires: python3-pyzstd
BuildRequires: cargo
Requires: python
Requires: python3
%if %{?fedora} <= 41
Requires: python3-xlib
Requires: python3-filelock
Requires: python3-pyzstd
AutoReqProv: no
%endif
BuildArch: x86_64
%description
%summary.
@@ -40,7 +47,11 @@ Requires: python3-filelock
%git_clone %url %version
%build
%if %{?fedora} <= 41
./configure.sh --prefix=%_prefix --use-system-pyzstd
%else
./configure.sh --prefix=%_prefix --use-system-pyzstd --use-system-urllib
%endif
%{make_build}
%install