summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
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:39 -0400
commit8414023e4ba838edb9712fa7e3f923f9b035665e (patch)
tree362799cf5d27b649f65f5dc985587807c0ff9d11 /contrib/sssd.spec.in
parent8782e92079a2842955e04392d20605453de6d567 (diff)
downloadsssd-8414023e4ba838edb9712fa7e3f923f9b035665e.tar.gz
sssd-8414023e4ba838edb9712fa7e3f923f9b035665e.tar.xz
sssd-8414023e4ba838edb9712fa7e3f923f9b035665e.zip
Add libipa_hbac documentation to the -devel package
Diffstat (limited to 'contrib/sssd.spec.in')
-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 d212cadc8..90afa039b 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