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:28 -0400
commit99f680396f63415f115efafa48991d7b005e6932 (patch)
treea1b1ea7dc5c8e8d930c153c10f544bcdd6af01f4
parentf59e0a86c862b756e97077e08b2cee8a913a7e5f (diff)
downloadsssd_unused-99f680396f63415f115efafa48991d7b005e6932.tar.gz
sssd_unused-99f680396f63415f115efafa48991d7b005e6932.tar.xz
sssd_unused-99f680396f63415f115efafa48991d7b005e6932.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 6e3513cc..9dc7f95d 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -164,7 +164,7 @@ autoreconf -ivf
--disable-static \
--disable-rpath
-make %{?_smp_mflags}
+make %{?_smp_mflags} all docs
%check
export CK_TIMEOUT_MULTIPLIER=10
@@ -196,6 +196,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`
@@ -287,6 +290,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