From 38c52a00a92bfc7acaa76444cf49cdb21c9f3e4c5a70c9c66a567268f07a1524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Thu, 18 Jun 2015 06:36:54 +0000 Subject: [PATCH] fix RHEL6 build OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=129 --- cfengine.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cfengine.spec b/cfengine.spec index 1cfd77d..4c978b1 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -216,7 +216,11 @@ CC=cc CFLAGS="%{optflags} -fno-strict-aliasing" \ %endif --with-libacl \ --with-libxml2 \ +%if 0%{?rhel_version} > 0 && 0%{?rhel_version} < 700 + --docdir=%{_docdir}/%{name}-%{version} \ +%else --docdir=%{_docdir}/%{name} \ +%endif --with-pam make %{?_smp_mflags}