summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-09-08 14:31:47 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-09-08 14:58:34 -0400
commit1cc5cf02d3e8e015db8766b92ff0fef7b6611364 (patch)
tree5d8529eeb67d3e892cb8a14f85a439d545c97dd7
parent6b47c087bff88fd966f999d7227a6e42226e6919 (diff)
downloadsssd-1cc5cf02d3e8e015db8766b92ff0fef7b6611364.tar.gz
sssd-1cc5cf02d3e8e015db8766b92ff0fef7b6611364.tar.xz
sssd-1cc5cf02d3e8e015db8766b92ff0fef7b6611364.zip
Add libipa_hbac documentation to the -devel package
-rw-r--r--contrib/sssd.spec.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index f927cf60d..88a578aff 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -172,7 +172,7 @@ autoreconf -ivf
--disable-static \
--disable-rpath
-make %{?_smp_mflags}
+make %{?_smp_mflags} all docs
%check
export CK_TIMEOUT_MULTIPLIER=10
@@ -204,6 +204,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`
@@ -297,6 +300,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