summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2022-07-01 16:47:45 +0200
committerThomas Haller <thaller@redhat.com>2022-07-04 17:35:59 +0200
commit47d14bced88af8ed4103e78f4f474c9f87ae8763 (patch)
tree871fde4343d65075c0052af34c9782c1f2fe1424
parent287a34990ae32707c4bdf17a311a601a31e8991b (diff)
downloadNetworkManager-47d14bced88af8ed4103e78f4f474c9f87ae8763.tar.gz
contrib/rpm: BR pexpect
Unit tests need this to run. Fixes: 9570224e86c4 ('tests/client: add a pexpect-based test runner') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1285
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index f31259722c..44baf09c26 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -302,10 +302,12 @@ BuildRequires: /usr/bin/dbus-launch
BuildRequires: python3
BuildRequires: python3-gobject-base
BuildRequires: python3-dbus
+BuildRequires: python3-pexpect
%else
BuildRequires: python2
BuildRequires: pygobject3-base
BuildRequires: dbus-python
+BuildRequires: pexpect
%endif
BuildRequires: libselinux-devel
BuildRequires: polkit-devel