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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=49
This commit is contained in:
Lars Müller 2012-04-19 16:07:51 +00:00 committed by Git OBS Bridge
parent 6701f6d6b6
commit f246c3f672
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 19 16:07:00 UTC 2012 - lmuelle@suse.com
- BuildRequire pkg-config for post-10.2 systems and else pkgconfig.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 19 13:57:12 UTC 2012 - lmuelle@suse.com Thu Apr 19 13:57:12 UTC 2012 - lmuelle@suse.com

View File

@ -59,6 +59,11 @@ BuildRequires: libkeyutils-devel
%if 0%{?suse_version} > 1020 %if 0%{?suse_version} > 1020
BuildRequires: libwbclient-devel BuildRequires: libwbclient-devel
%endif %endif
%if 0%{?suse_version} > 1020
BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif
%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version}
BuildRequires: samba-winbind-devel BuildRequires: samba-winbind-devel
%endif %endif