From 605d9362253e65674b292e62df29e10d12aa38bc Mon Sep 17 00:00:00 2001 From: Dmitry Fedorov Date: Fri, 20 Feb 2015 13:12:01 +0300 Subject: [PATCH] disable selinux, new version of libselinux not yet available --- glibc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/glibc.spec b/glibc.spec index 83e3c6d..a9787ee 100644 --- a/glibc.spec +++ b/glibc.spec @@ -27,6 +27,9 @@ %{?build_selinux}%{?!build_selinux:%bcond_with selinux} %{?build_systap}%{?!build_systap:%bcond_without systap} +# FIXME disable libselinux, new version is not yet available +%bcond_with selinux + # Allow make check to fail only when running kernels where we know # tests must pass (no missing features or bugs in the kernel) %define check_min_kver 2.6.21 @@ -1007,9 +1010,9 @@ function BuildGlibc() { --disable-profile \ --enable-static \ %if %{with selinux} - --with-selinux \ + --enable-selinux \ %else - --without-selinux \ + --disable-selinux \ %endif --enable-bind-now \ $ExtraFlags \