%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') # Created by pyp2rpm-3.3.2 %global pypi_name zeep Name: python2-%{pypi_name} Version: 2.5.0 Release: 1%{?dist} Summary: A modern/fast Python SOAP client based on lxml / requests License: MIT URL: http://docs.python-zeep.org Source0: https://files.pythonhosted.org/packages/source/z/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel, python2-setuptools AutoReq: no Requires: python2, python2-defusedxml, python2-cached_property, python2-requests %if 0%{?el7} Requires: python-lxml python-isodate %else Requires: python2-lxml python2-isodate %endif %description Zeep: Python SOAP client A fast and modern Python SOAP clientHighlights: * Compatible with Python 2.7, 3.3, 3.4, 3.5, 3.6 and PyPy * Build on top of lxml and requests * Support for Soap 1.1, Soap 1.2 and HTTP bindings * Support for WS-Addressing headers * Support for WSSE (UserNameToken / x.509 signing) * Support for tornado async transport via gen.coroutine (Python 2.7+) * Support for... %{?python_provide:%python_provide python2-%{pypi_name}} %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install %files %license LICENSE %doc README.rst %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Thu Jun 20 2019 Jaromir Talir - 2.5.0-1 - Initial package.