contrib/fedora: install "python36-gobject" when building with meson on centos7

With the meson build configuration, there is obviously python3 installed
and in the path. The build script will pick that up as preferred python.

However, we will also need working pygobject to build the documentation.
But we only have that for python2 installed. Fix that, by installing
"python36-gobject".
This commit is contained in:
Thomas Haller 2023-01-23 21:28:51 +01:00
parent ea16997c4a
commit 128c000f0c
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -297,6 +297,10 @@ BuildRequires: python2
BuildRequires: pygobject3-base
BuildRequires: dbus-python
BuildRequires: pexpect
%if 0%{?rhel} >= 7 && %{with meson}
BuildRequires: python36-dbus
BuildRequires: python36-gobject
%endif
%endif
BuildRequires: libselinux-devel
BuildRequires: polkit-devel