According to the packaging guidelines found at
https://fedoraproject.org/wiki/PackagingDrafts:Python3EPEL, when
specifying a python3 package, use the %{python3_pkgversion} macro to get
the appropriate suffix.

Fixes: db8dcbaf1c57 ("packaging: Make Fedora spec file CentOS compatible")
CC: Leif Madsen <[email protected]>
CC: Timothy Redaelli <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
---
 rhel/openvswitch-fedora.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 9fc5f27..95533aa 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -132,7 +132,7 @@ License: ASL 2.0
 BuildArch: noarch
 Requires: python3
 Requires: python3-six
-%{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
+%{?python_provide:%python_provide python%{python3_pkgversion}-openvswitch = 
%{version}-%{release}}
 
 %description -n python3-openvswitch
 Python bindings for the Open vSwitch database
-- 
2.9.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to