From 4231ea44d1b068b6871daab2c47e37eec8489f38 Mon Sep 17 00:00:00 2001
From: Irina Boverman <iboverma(a)redhat.com>
Date: Dec 01 2017 01:00:54 +0000
Subject: 1.37.0-3
---
diff --git a/python-qpid.spec b/python-qpid.spec
index 025c906..f24c5eb 100644
--- a/python-qpid.spec
+++ b/python-qpid.spec
@@ -1,7 +1,10 @@
%{!?__python2:%global __python2 %{__python}}
%{!?__python2:%global python2_sitelib %{python_sitelib}}
+%if 0%{?fedora}
%global pythonx python2
-%{!?__python2:%global pythonx python}
+%else
+%global pythonx python
+%endif
Name: python-qpid
Version: 1.37.0
@@ -24,8 +27,9 @@ The Apache Qpid Python client library for AMQP.
%description %_description
-
+%if 0%{?fedora}
%package -n %{pythonx}-qpid
+%endif
Summary: %summary
Obsoletes: python-qpid-common
https://src.fedoraproject.org/rpms/python-qpid/c/4231ea44d1b068b6871daab2...