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}