diff --git a/ldb.changes b/ldb.changes index 15fa9e5..3d8e524 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 23 18:10:04 UTC 2014 - lmuelle@suse.com + +- BuildRequire docbook-xsl-stylesheets and libxslt-tools and add the man pages + to the tools package. + ------------------------------------------------------------------- Fri May 23 15:39:36 UTC 2014 - lmuelle@suse.com diff --git a/ldb.spec b/ldb.spec index 9454bc8..b54392d 100644 --- a/ldb.spec +++ b/ldb.spec @@ -35,6 +35,17 @@ BuildRequires: pytalloc-devel >= %{talloc_version} BuildRequires: python-devel BuildRequires: python-tdb >= %{tdb_version} BuildRequires: python-tevent >= %{tevent_version} +# to generate the man pages +BuildRequires: docbook-xsl-stylesheets +%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599 || 0%{?suse_version} > 0 && 0%{?suse_version} < 1141 +BuildRequires: libxslt +%endif +%if 0%{?suse_version} > 1140 && 0%{?suse_version} < 1211 +BuildRequires: libxslt1 +%endif +%if 0%{?suse_version} > 1210 +BuildRequires: libxslt-tools +%endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %define build_make_smp_mflags %{?_smp_mflags} %else @@ -196,6 +207,13 @@ DESTDIR=${RPM_BUILD_ROOT} make install %{_bindir}/ldbmodify %{_bindir}/ldbrename %{_bindir}/ldbsearch +%{_mandir}/man1/ldbadd.1.gz +%{_mandir}/man1/ldbdel.1.gz +%{_mandir}/man1/ldbedit.1.gz +%{_mandir}/man1/ldbmodify.1.gz +%{_mandir}/man1/ldbrename.1.gz +%{_mandir}/man1/ldbsearch.1.gz +%{_mandir}/man3/ldb.3.gz %files -n pyldb %defattr(-,root,root,-)