Cleanup and simplification of the revious commit as used in the talloc

package.

BuildRequire docbook-xsl-stylesheets and libxslt to generate man pages.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=51
This commit is contained in:
Lars Müller 2014-09-23 19:56:28 +00:00 committed by Git OBS Bridge
parent 2706e07fbd
commit 05b9251568
2 changed files with 3 additions and 13 deletions

View File

@ -1,8 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 23 18:10:04 UTC 2014 - lmuelle@suse.com Tue Sep 23 18:10:04 UTC 2014 - lmuelle@suse.com
- BuildRequire docbook-xsl-stylesheets and libxslt-tools and add the man pages - BuildRequire docbook-xsl-stylesheets and libxslt to generate man pages.
to the tools package.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 23 15:39:36 UTC 2014 - lmuelle@suse.com Fri May 23 15:39:36 UTC 2014 - lmuelle@suse.com

View File

@ -23,6 +23,7 @@
%define tevent_version 0.9.17 %define tevent_version 0.9.17
Name: ldb Name: ldb
BuildRequires: docbook-xsl-stylesheets
%if 0%{?suse_version} > 1220 %if 0%{?suse_version} > 1220
BuildRequires: gpg-offline BuildRequires: gpg-offline
%endif %endif
@ -30,22 +31,12 @@ BuildRequires: gpg-offline
BuildRequires: libtalloc-devel >= %{talloc_version} BuildRequires: libtalloc-devel >= %{talloc_version}
BuildRequires: libtdb-devel >= %{tdb_version} BuildRequires: libtdb-devel >= %{tdb_version}
BuildRequires: libtevent-devel >= %{tevent_version} BuildRequires: libtevent-devel >= %{tevent_version}
BuildRequires: libxslt
BuildRequires: popt-devel BuildRequires: popt-devel
BuildRequires: pytalloc-devel >= %{talloc_version} BuildRequires: pytalloc-devel >= %{talloc_version}
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-tdb >= %{tdb_version} BuildRequires: python-tdb >= %{tdb_version}
BuildRequires: python-tevent >= %{tevent_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 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
%define build_make_smp_mflags %{?_smp_mflags} %define build_make_smp_mflags %{?_smp_mflags}
%else %else