From 2706e07fbd6a0bb6cc7f19ffb770a6f2a3cb18866ddb4c50c7fd9eb8fd65ba44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Tue, 23 Sep 2014 18:17:56 +0000 Subject: [PATCH] BuildRequire docbook-xsl-stylesheets and libxslt-tools and add the man pages to the tools package. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=50 --- ldb.changes | 6 ++++++ ldb.spec | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) 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,-)