File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,6 @@ BuildArch: noarch
12
12
BuildRequires: python3-devel
13
13
BuildRequires: python3-pbr
14
14
BuildRequires: python3-setuptools
15
- BuildRequires: python3-pytest
16
-
17
- Requires: git
18
- Requires: python3-arrow
19
- Requires: python3-click
20
- Requires: python3-requests
21
- Requires: python3-tabulate
22
- Requires: python3-pyyaml
23
15
24
16
%description
25
17
git-pw is a tool for integrating Git with Patchwork, the web-based patch
@@ -30,24 +22,26 @@ tracking system.
30
22
# Remove bundled egg-info
31
23
rm -rf %{name }.egg-info
32
24
25
+ %generate_buildrequires
26
+ %pyproject_buildrequires -t
27
+
33
28
%build
34
- %py3_build
29
+ %pyproject_wheel
35
30
36
31
%install
37
- %py3_install
32
+ %pyproject_install
33
+ %pyproject_save_files git_pw
38
34
mkdir -p %{buildroot }%{_mandir }/man1
39
35
install -p -D -m 644 man/* .1 %{buildroot }%{_mandir }/man1/
40
36
41
37
%check
42
- %pytest -Wall
38
+ %tox
43
39
44
- %files
40
+ %files -f %{ pyproject_files }
45
41
%license LICENSE
46
42
%doc README.rst
47
43
%{_bindir }/git-pw
48
44
%{_mandir }/man1/git-pw* .1*
49
- %{python3_sitelib }/git_pw/
50
- %{python3_sitelib }/git_pw-%{version }-py%{python3_version }* .egg-info
51
45
52
46
%changelog
53
47
* Fri Nov 26 2021 Stephen Finucane <stephen@that.guru> - 2.2.2-1
You can’t perform that action at this time.
0 commit comments