python-suds2/python-suds2.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

2021-01-11 18:51:55 +08:00
%global srcname suds
Name: python-suds2
2021-01-11 18:51:55 +08:00
Version: 0.7.0
Release: 5
2020-02-18 09:32:06 +08:00
Summary: A python SOAP client
License: LGPLv3+
2021-01-11 18:51:55 +08:00
URL: https://github.com/suds-community/suds
Source0: https://github.com/suds-community/suds/archive/v%{version}/%{srcname}-%{version}.tar.gz
2020-06-24 17:55:27 +08:00
Patch1: fix_test_transport.patch
2021-01-11 18:51:55 +08:00
Patch2: port-to-pytest4.patch
2020-02-18 09:32:06 +08:00
BuildArch: noarch
Provides: python-suds = %{version}-%{release}
Obsoletes: python-suds < %{version}-%{release}
2020-02-18 09:32:06 +08:00
%description
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%package -n python3-suds2
%{?python_provide:%python_provide python3-suds2}
2020-02-18 09:32:06 +08:00
Summary: A python SOAP client
BuildRequires: python3-devel python3-pytest python3-six
Provides: python3-suds = %{version}-%{release}
Obsoletes: python3-suds < %{version}-%{release}
2020-02-18 09:32:06 +08:00
%description -n python3-suds2
2020-02-18 09:32:06 +08:00
"Suds" is a lightweight SOAP-based web service client
for Python licensed under LGPL.
%prep
2021-01-11 18:51:55 +08:00
%autosetup -n %{srcname}-%{version} -p1
2020-02-18 09:32:06 +08:00
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-suds2
2021-01-11 18:51:55 +08:00
%doc README.rst
%license LICENSE.txt
2020-02-18 09:32:06 +08:00
%{python3_sitelib}/*
%changelog
2021-01-11 18:51:55 +08:00
* Fri Jan 08 2021 maminjie <maminjie1@huawei.com> - 0.7.0-5
- update source and port to pytest4
* Wed Jul 8 2020 zhanghua <zhanghua40@huawei.com> - 0.7-4
- change Name to python-suds2 and remove Subpackage python2-suds
2020-06-24 17:55:27 +08:00
* Wed Jun 24 2020 wutao <wutao61@huawei.com> - 0.7-3
- Fix transport test error
2020-03-22 01:18:13 +08:00
* Sun Mar 22 2020 sunguoshuai <sunguoshuai@huawei.com> - 0.7-2
- Fix http test error.
2020-02-18 09:32:06 +08:00
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 0.7-1
- init package