diff --git a/ldb.spec b/ldb.spec index df55a68..72d3a2e 100644 --- a/ldb.spec +++ b/ldb.spec @@ -97,7 +97,7 @@ Group: Development/Libraries/Python Requires: %{libldb_name} = %{version} PreReq: /sbin/ldconfig Provides: pyldb = %{version} -Obsoletes: pyldb < %{version} +Obsoletes: pyldb < %{version}-%{release} %description -n python-ldb This package contains the python bindings for the LDB library. @@ -113,7 +113,7 @@ Requires: pkg-config Requires: pkgconfig %endif Provides: pyldb-devel = %{version} -Obsoletes: pyldb-devel < %{version} +Obsoletes: pyldb-devel < %{version}-%{release} %description -n python-ldb-devel This package contains the development files for the Python bindings for the