RHEL 5 has a very old version of doxygen that does not search the correct locations for documentation.
In the future, we may try to work around this, but for the purposes of getting the builds back up and running, we should just disable building docs on RHEL 5.
From 6b1e331cfc90d49d65fa8c45dab049e8df5b9da4 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher <[email protected]> Date: Thu, 15 Sep 2011 15:10:04 -0400 Subject: [PATCH] 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. --- contrib/sssd.spec.in | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 5a1d1c297dcba61c5e24e52a6fd9ed9c55cb2c81..71dd0a9a942bbb919908c892fa0bc0849a9c11c0 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -180,7 +180,18 @@ autoreconf -ivf --cache-file=/tmp/sssd-rpm.cache \ --with-test-dir=/dev/shm -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 @@ -311,7 +322,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 -- 1.7.6
signature.asc
Description: This is a digitally signed message part
_______________________________________________ sssd-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/sssd-devel
