diff --git a/tevent.changes b/tevent.changes index 5642b82..2ca0d22 100644 --- a/tevent.changes +++ b/tevent.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Fri May 23 19:17:18 UTC 2014 - lmuelle@suse.com - -- Don't BuildRequire pkg-config from the main package. - ------------------------------------------------------------------- Mon Feb 17 22:00:55 UTC 2014 - lmuelle@suse.com diff --git a/tevent.spec b/tevent.spec index ba6deb4..faa5d41 100644 --- a/tevent.spec +++ b/tevent.spec @@ -27,6 +27,11 @@ BuildRequires: gpg-offline %endif #!BuildIgnore: libtalloc BuildRequires: libtalloc-devel >= %{talloc_version} +%if 0%{?suse_version} > 1020 +BuildRequires: pkg-config +%else +BuildRequires: pkgconfig +%endif BuildRequires: pytalloc-devel >= %{talloc_version} BuildRequires: python-devel %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140