diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-15 15:10:04 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-15 15:40:52 -0400 |
commit | 7b06ae5d53059fa492093d8d88568698faddd0de (patch) | |
tree | cffb5809b20ef6a5af73e7135a7d2841ac09a980 | |
parent | 2494cbe7192316d557889a08b17114bf392ce31e (diff) | |
download | sssd-7b06ae5d53059fa492093d8d88568698faddd0de.tar.gz sssd-7b06ae5d53059fa492093d8d88568698faddd0de.tar.xz sssd-7b06ae5d53059fa492093d8d88568698faddd0de.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.
-rw-r--r-- | 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 88a578aff..f98e51c7d 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -172,7 +172,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 @@ -300,7 +311,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 |