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
This commit is contained in:
Lukas Slebodnik 2016-12-05 14:39:53 +01:00
parent d0b25de846
commit 725e5b329a

View File

@ -31,9 +31,9 @@ BuildRequires: popt-devel
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: docbook-style-xsl BuildRequires: docbook-style-xsl
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-tdb BuildRequires: python2-tdb
BuildRequires: pytalloc-devel BuildRequires: python2-talloc-devel
BuildRequires: python-tevent BuildRequires: python2-tevent
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: openldap-devel BuildRequires: openldap-devel
@ -76,7 +76,7 @@ Header files needed to develop programs that link against the LDB library.
Group: Development/Libraries Group: Development/Libraries
Summary: Python bindings for the LDB library Summary: Python bindings for the LDB library
Requires: libldb%{?_isa} = %{version}-%{release} Requires: libldb%{?_isa} = %{version}-%{release}
Requires: python-tdb%{?_isa} >= %{tdb_version} Requires: python2-tdb%{?_isa} >= %{tdb_version}
Provides: pyldb = %{version}-%{release} Provides: pyldb = %{version}-%{release}
Provides: pyldb%{?_isa} = %{version}-%{release} Provides: pyldb%{?_isa} = %{version}-%{release}