diff --git a/qpid-proton.spec b/qpid-proton.spec index 473bac4..46c9610 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -10,13 +10,6 @@ %filter_setup } -%global pythonx python2 - -%{!?__python2:%global __python2 %{__python}} -%{!?__python2:%global python2_sitelib %{python_sitelib}} -%{!?__python2:%global python2_sitearch %{python_sitearch}} -%{!?__python2:%global pythonx python} - Name: qpid-proton Version: 0.30.0 Release: 1%{?dist} @@ -41,7 +34,6 @@ BuildRequires: pkgconfig BuildRequires: doxygen BuildRequires: libuuid-devel BuildRequires: openssl-devel -BuildRequires: %{pythonx}-devel %if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python3-devel BuildRequires: python3-sphinx @@ -259,10 +251,8 @@ cat %{buildroot}%{proton_datadir}/examples/python/proton_server.py >> %{buildroo mv %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original %{buildroot}%{proton_datadir}/examples/python/proton_server.py %endif -chmod +x %{buildroot}%{python2_sitearch}/_cproton.so %if 0%{?fedora} || 0%{?rhel} > 7 chmod +x %{buildroot}%{python3_sitearch}/_cproton.so -%endif %if 0%{?rhel} && 0%{?rhel} <= 6 install -pm 644 %{SOURCE1} %{buildroot}%{proton_datadir}/