Simplify the bootstrap sequence of packaging
This commit is contained in:
parent
2acc40875d
commit
558807b2d9
@ -25,17 +25,22 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: pyproject-rpm-macros
|
BuildRequires: pyproject-rpm-macros
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-requests
|
|
||||||
BuildRequires: python3-docutils
|
# Runtime deps needed to build self
|
||||||
BuildRequires: python3-pygments
|
|
||||||
BuildRequires: python3-toml
|
BuildRequires: python3-toml
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
|
# Runtime deps, others
|
||||||
|
BuildRequires: python3-requests
|
||||||
|
BuildRequires: python3-docutils
|
||||||
|
BuildRequires: python3-pygments
|
||||||
|
|
||||||
|
# Test deps
|
||||||
BuildRequires: /usr/bin/python
|
BuildRequires: /usr/bin/python
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-responses
|
BuildRequires: python3-responses
|
||||||
|
|
||||||
# Requires flit to build:
|
# Test deps that require flit to build:
|
||||||
BuildRequires: python3-testpath
|
BuildRequires: python3-testpath
|
||||||
BuildRequires: python3-requests-download
|
BuildRequires: python3-requests-download
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user