From 725e5b329a67ce57c5b727f8b1b9223285159614 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 5 Dec 2016 14:39:53 +0100 Subject: [PATCH] Require renamed python2 packages Use renamed python2 binding for talloc tevent and tdb dnf prefer old package with required name rather then new package with provides --- libldb.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libldb.spec b/libldb.spec index 02544e7..84c3f45 100644 --- a/libldb.spec +++ b/libldb.spec @@ -31,9 +31,9 @@ BuildRequires: popt-devel BuildRequires: libxslt BuildRequires: docbook-style-xsl BuildRequires: python-devel -BuildRequires: python-tdb -BuildRequires: pytalloc-devel -BuildRequires: python-tevent +BuildRequires: python2-tdb +BuildRequires: python2-talloc-devel +BuildRequires: python2-tevent BuildRequires: doxygen BuildRequires: openldap-devel @@ -76,7 +76,7 @@ Header files needed to develop programs that link against the LDB library. Group: Development/Libraries Summary: Python bindings for the LDB library Requires: libldb%{?_isa} = %{version}-%{release} -Requires: python-tdb%{?_isa} >= %{tdb_version} +Requires: python2-tdb%{?_isa} >= %{tdb_version} Provides: pyldb = %{version}-%{release} Provides: pyldb%{?_isa} = %{version}-%{release}