SHA256
1
0
forked from pool/ldb

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
This commit is contained in:
Lars Müller 2014-09-23 18:17:56 +00:00 committed by Git OBS Bridge
parent 72d1838f7f
commit 2706e07fbd
2 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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,-)