diff options
author | Thomas Haller <thaller@redhat.com> | 2023-01-23 21:28:51 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-01-23 21:39:00 +0100 |
commit | 128c000f0c1237c48a731e5b28cb23b54f114907 (patch) | |
tree | c047a10d9e2dea8ef3bb71358619d997aa72b775 | |
parent | ea16997c4abf08333ebb33f4372b87e32b61acad (diff) |
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".
-rw-r--r-- | contrib/fedora/rpm/NetworkManager.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 97e602b518..c5b8fbf4b9 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -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 |