summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-11-13 18:48:12 +0100
committerLubomir Rintel <lkundrak@v3.sk>2014-11-13 18:57:04 +0100
commit84c8558622bcf100cd24ad72448892db730f8586 (patch)
treee1cffbd686caadfa1345b522fda95292784b5b3c
parent94a57d5e07b9e3d7f52b4ea3c8b86da9eed28baa (diff)
downloadNetworkManager-84c8558622bcf100cd24ad72448892db730f8586.tar.gz
contrib: Require libselinux for RPM build
It ensures ifcfg-rh doesn't mess up the labels.
-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 b19159bde8..17d4ec58c1 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -169,6 +169,7 @@ BuildRequires: newt-devel
BuildRequires: /usr/bin/dbus-launch
BuildRequires: pygobject3-base
BuildRequires: dbus-python
+BuildRequires: libselinux-devel
%description
@@ -413,6 +414,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
%else
--enable-teamdctl=no \
%endif
+ --with-selinux=yes \
--enable-polkit=yes \
--enable-modify-system=yes \
--enable-concheck \