BuildRequire pkg-config for post-10.2 systems and else pkgconfig.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=8
This commit is contained in:
Lars Müller 2012-05-31 14:18:17 +00:00 committed by Git OBS Bridge
parent dc23193dd6
commit ad1bd51414
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 31 14:13:31 UTC 2012 - lmuelle@suse.com
- BuildRequire pkg-config for post-10.2 systems and else pkgconfig.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 31 12:09:09 UTC 2012 - lmuelle@suse.com Thu May 31 12:09:09 UTC 2012 - lmuelle@suse.com

View File

@ -23,6 +23,11 @@ Name: libtdb1
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt BuildRequires: libxslt
%if 0%{?suse_version} > 1020
BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif
BuildRequires: python-devel BuildRequires: python-devel
%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}