From 8414023e4ba838edb9712fa7e3f923f9b035665e Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 8 Sep 2011 14:31:47 -0400 Subject: Add libipa_hbac documentation to the -devel package --- contrib/sssd.spec.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit