summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-09-15 15:10:04 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-09-15 15:40:56 -0400
commite2986bbe269ce93fc4a60f57e962fb9e2ebbddac (patch)
tree95fbe811f75fc1c570d7c9015dda1b78276c4e41 /contrib
parentbbee583b6600d1263a66c395ac8929374900d7cb (diff)
downloadsssd-e2986bbe269ce93fc4a60f57e962fb9e2ebbddac.tar.gz
sssd-e2986bbe269ce93fc4a60f57e962fb9e2ebbddac.tar.bz2
sssd-e2986bbe269ce93fc4a60f57e962fb9e2ebbddac.zip
Do not build documentation on RHEL 5
RHEL 5 has a very old version of doxygen that does not search the correct locations for documentation.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in18
1 files changed, 17 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 90afa039..aae4c427 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -178,7 +178,18 @@ autoreconf -ivf
--disable-static \
--disable-rpath
-make %{?_smp_mflags} all docs
+make %{?_smp_mflags} all
+
+
+# Only build docs on recent distros
+%if 0{?fedora}
+make %{?_smp_mflags} docs
+%endif
+
+%if 0{?rhel} >= 6
+make %{?_smp_mflags} docs
+%endif
+
%check
export CK_TIMEOUT_MULTIPLIER=10
@@ -309,7 +320,12 @@ rm -rf $RPM_BUILD_ROOT
%files -n libipa_hbac-devel
%defattr(-,root,root,-)
+%if 0%{?fedora}
%doc hbac_doc/html
+%endif
+%if 0%{?rhel} >= 6
+%doc hbac_doc/html
+%endif
%{_includedir}/ipa_hbac.h
%{_libdir}/libipa_hbac.so
%{_libdir}/pkgconfig/ipa_hbac.pc