From 09011ef1a75d7677bea032b814a6e1d0a03cb0b138fdf39a915e85d493064bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Sat, 24 May 2014 13:06:16 +0000 Subject: [PATCH] Revert r34 and BuildRequire pkg-config again. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=35 --- tevent.changes | 5 ----- tevent.spec | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) 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