From cedb24e0a2bdd5673b5ed9f1a10705e67f69a2d1 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 1 Jul 2022 16:47:45 +0200 Subject: [PATCH] contrib/rpm: BR pexpect Unit tests need this to run. --- contrib/fedora/rpm/NetworkManager.spec | 2 ++ 1 file changed, 2 insertions(+) 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