Notification time stamped 2022-04-29 08:35:18 UTC
From 13e47976c97bb793d0873e10cf3d11c3bba78c36 Mon Sep 17 00:00:00 2001
From: Michael J Gruber <mjg(a)fedoraproject.org>
Date: Apr 27 2022 15:17:04 +0000
Subject: add explicit dependency of bindings on notmuch nvr
For most bindings, rpm picks up the implicit dependency on the devel .so
but not on the versioned .so nor on the exact notmuch version. So far,
this has not created any problems besides /rpmdeps erros from
rpminspect.
Be proactive and make the bindings depend on notmuch nvr explicitely.
(Other subpackages do so already.)
---
diff --git a/notmuch.spec b/notmuch.spec
index 1513d6e..0be38b7 100644
--- a/notmuch.spec
+++ b/notmuch.spec
@@ -124,6 +124,7 @@ Requires: emacs(bin) >= %{_emacs_version}
%if 0%{?with_python2}
%package -n python2-notmuch
Summary: Python2 bindings for notmuch
+Requires: %{name} = %{version}-%{release}
%{?python_provide:%python_provide python2-notmuch}
Requires: python2
@@ -135,6 +136,7 @@ Requires: python2
%if 0%{?with_python3legacy}
%package -n python3-notmuch
Summary: Python3 bindings for notmuch (legacy)
+Requires: %{name} = %{version}-%{release}
%{?python_provide:%python_provide python3-notmuch}
Requires: python3
@@ -146,6 +148,7 @@ Requires: python3
%if 0%{?with_python3CFFI}
%package -n python3-notmuch2
Summary: Python3 bindings for notmuch (cffi)
+Requires: %{name} = %{version}-%{release}
%{?python_provide:%python_provide python3-notmuch2}
Requires: python3
https://src.fedoraproject.org/rpms/notmuch/c/13e47976c97bb793d0873e10cf3d11…