diff options
-rw-r--r-- | contrib/sssd.spec.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index d212cadc..90afa039 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -178,7 +178,7 @@ autoreconf -ivf --disable-static \ --disable-rpath -make %{?_smp_mflags} +make %{?_smp_mflags} all docs %check export CK_TIMEOUT_MULTIPLIER=10 @@ -210,6 +210,9 @@ install -m644 src/examples/rwtab $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/sssd # Remove .la files created by libtool find $RPM_BUILD_ROOT -name "*.la" -exec rm -f {} \; +# Suppress developer-only documentation +rm -Rf ${RPM_BUILD_ROOT}/%{_docdir}/%{name}/doc + # Older versions of rpmbuild can only handle one -f option # So we need to append to the sssd.lang file for file in `ls $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info 2> /dev/null` @@ -306,6 +309,7 @@ rm -rf $RPM_BUILD_ROOT %files -n libipa_hbac-devel %defattr(-,root,root,-) +%doc hbac_doc/html %{_includedir}/ipa_hbac.h %{_libdir}/libipa_hbac.so %{_libdir}/pkgconfig/ipa_hbac.pc |