BuildRequire python3-setuptools explicitly

They were only transitively brought by sphinx -> babel -> setuptools.

    + make PYTHON=/usr/bin/python3 build
    Traceback (most recent call last):
      File "/builddir/build/BUILD/python-systemd-235/setup.py", line 2, in <module>
        from setuptools import setup, Extension
    ModuleNotFoundError: No module named 'setuptools'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'
    /bin/sh: line 1: git: command not found
    /usr/bin/python3 setup.py build_ext
    Traceback (most recent call last):
      File "/builddir/build/BUILD/python-systemd-235/setup.py", line 2, in <module>
        from setuptools import setup, Extension
    ModuleNotFoundError: No module named 'setuptools'
    make: *** [Makefile:35: build] Error 1
This commit is contained in:
Miro Hrončok 2023-02-28 17:05:56 +01:00
parent 18f950ef1d
commit 0366b42171

View File

@ -11,6 +11,7 @@ BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
BuildRequires: web-assets-devel BuildRequires: web-assets-devel
BuildRequires: python3-pytest BuildRequires: python3-pytest