2
2
%global tag 1.2.3
3
3
4
4
# Manual commit is auto-inserted by workflow
5
- #%global manual_commit
6
-
7
- %{! ?manual_commit: %global commit %(git rev-list -n 1 %{tag } 2> /dev/null)}
8
- %{?manual_commit: %global commit %{manual_commit }}
5
+ %global commit e8c6b737f54b24d1ea61ff82f78aa326c3df10b6
9
6
10
7
%global shortcommit %(c= %{commit }; echo ${c:0:7})
11
8
12
9
%global build_timestamp %(date +"%Y %m %d ")
13
10
14
11
%global rel_build 1.%{build_timestamp }.%{shortcommit }%{?dist }
15
12
13
+ # F41 doesn't ship urllib3 >= 2.0 needed
14
+ %global urllib3 2.3.0
15
+
16
16
Name: umu-launcher
17
17
Version: %{tag }
18
18
Release: %{rel_build }
19
19
Summary: A tool for launching non-steam games with proton
20
20
21
21
License: GPLv3
22
22
URL: https://github.com/Open-Wine-Components/umu-launcher
23
- Source0: umu-launcher-%{tag }.tar.gz
23
+ Source0: %{url }/archive/refs/tags/%{tag }.tar.gz#/%{name}-%{tag}.tar.gz
24
+ Source1: https://github.com/urllib3/urllib3/releases/download/%{urllib3 }/urllib3-%{urllib3 }.tar.gz
24
25
25
26
BuildArch: x86_64
26
27
BuildRequires: meson >= 0.54.0
@@ -40,20 +41,21 @@ BuildRequires: python3-pip
40
41
BuildRequires: libzstd-devel
41
42
BuildRequires: python3-hatch-vcs
42
43
BuildRequires: python3-wheel
44
+ BuildRequires: python3-xlib
45
+ BuildRequires: python3-pyzstd
43
46
BuildRequires: cargo
44
47
45
48
# Can't use these yet, F41 doesn't ship urllib3 >= 2.0 needed
46
49
#BuildRequires: python3-urllib3
47
- #BuildRequires: python3-pyzstd
48
50
49
51
Requires: python
50
52
Requires: python3
51
53
Requires: python3-xlib
52
54
Requires: python3-filelock
55
+ Requires: python3-pyzstd
53
56
54
57
# Can't use these yet, F41 doesn't ship urllib3 >= 2.0 needed
55
58
#Requires: python3-urllib3
56
- #Requires: python3-pyzstd
57
59
58
60
Recommends: python3-cbor2
59
61
Recommends: python3-xxhash
@@ -69,11 +71,15 @@ AutoReqProv: no
69
71
70
72
%prep
71
73
%autosetup -p 1
74
+ mv %{SOURCE1 } .
75
+ tar -xf urllib3-%{urllib3 }.tar.gz
76
+ rm * .tar.gz
77
+ mv urllib3-%{urllib3 }/* subprojects/urllib3/
72
78
73
79
%build
74
80
# Update this when fedora ships urllib3 >= 2.0
75
81
#./configure.sh --prefix=/usr --use-system-pyzstd --use-system-urllib
76
- ./configure.sh --prefix=/usr
82
+ ./configure.sh --prefix=/usr --use-system-pyzstd
77
83
make
78
84
79
85
%install
0 commit comments