From 374bf54785365273b20690bd3792c25a44738041 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Fri, 23 Mar 2012 14:23:58 +0100 Subject: Install and uninstall all documentation Every directory listed in SSSD_DOCS in Makefile.am will be installed as documentation. --- contrib/sssd.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/sssd.spec.in') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index d3f0d08fb..43beca52d 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -275,7 +275,7 @@ install -m644 src/examples/rwtab $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/sssd find $RPM_BUILD_ROOT -name "*.la" -exec rm -f {} \; # Suppress developer-only documentation -rm -Rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}/doc +rm -Rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name} # Older versions of rpmbuild can only handle one -f option # So we need to append to the sssd.lang file @@ -446,10 +446,10 @@ A utility library to allow communication between Autofs and SSSD %files -n libsss_sudo-devel %if 0%{?fedora} -%doc hbac_doc/html +%doc libsss_sudo_doc/html %endif %if 0%{?rhel} >= 6 -%doc hbac_doc/html +%doc libsss_sudo_doc/html %endif %{_includedir}/sss_sudo.h %{_libdir}/libsss_sudo.so -- cgit