change Name to python-suds2 and remove Subpackage python2-suds
This commit is contained in:
parent
4e4e0b830b
commit
0fb1a8e3dc
@ -1,6 +1,6 @@
|
|||||||
Name: python-suds
|
Name: python-suds2
|
||||||
Version: 0.7
|
Version: 0.7
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A python SOAP client
|
Summary: A python SOAP client
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
URL: https://bitbucket.org/jurko/suds
|
URL: https://bitbucket.org/jurko/suds
|
||||||
@ -8,73 +8,56 @@ Source0: https://bitbucket.org/jurko/suds/get/94664ddd46a6.tar.bz2
|
|||||||
Patch0: fix_http_test.patch
|
Patch0: fix_http_test.patch
|
||||||
Patch1: fix_test_transport.patch
|
Patch1: fix_test_transport.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Provides: python-suds = %{version}-%{release}
|
||||||
|
Obsoletes: python-suds < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
"Suds" is a lightweight SOAP-based web service client
|
"Suds" is a lightweight SOAP-based web service client
|
||||||
for Python licensed under LGPL.
|
for Python licensed under LGPL.
|
||||||
|
|
||||||
%package -n python2-suds
|
%package -n python3-suds2
|
||||||
%{?python_provide:%python_provide python2-suds}
|
%{?python_provide:%python_provide python3-suds2}
|
||||||
Summary: A python SOAP client
|
|
||||||
BuildRequires: python2-devel python2-pytest python2-six
|
|
||||||
|
|
||||||
%description -n python2-suds
|
|
||||||
"Suds" is a lightweight SOAP-based web service client
|
|
||||||
for Python licensed under LGPL.
|
|
||||||
|
|
||||||
%package -n python3-suds
|
|
||||||
%{?python_provide:%python_provide python3-suds}
|
|
||||||
Summary: A python SOAP client
|
Summary: A python SOAP client
|
||||||
BuildRequires: python3-devel python3-pytest python3-six
|
BuildRequires: python3-devel python3-pytest python3-six
|
||||||
|
Provides: python3-suds = %{version}-%{release}
|
||||||
|
Obsoletes: python3-suds < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python3-suds
|
%description -n python3-suds2
|
||||||
"Suds" is a lightweight SOAP-based web service client
|
"Suds" is a lightweight SOAP-based web service client
|
||||||
for Python licensed under LGPL.
|
for Python licensed under LGPL.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -q
|
%setup -c -q
|
||||||
mv jurko-suds-94664ddd46a6 python2
|
mv jurko-suds-94664ddd46a6 python3
|
||||||
cd python2
|
cd python3
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
cd -
|
cd -
|
||||||
cp -a python2 python3
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd python2
|
|
||||||
%py2_build
|
|
||||||
cd -
|
|
||||||
cd python3
|
cd python3
|
||||||
%py3_build
|
%py3_build
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd python2
|
|
||||||
%py2_install
|
|
||||||
cd -
|
|
||||||
cd python3
|
cd python3
|
||||||
%py3_install
|
%py3_install
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd python2
|
|
||||||
%{__python2} setup.py test
|
|
||||||
cd -
|
|
||||||
cd python3
|
cd python3
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
%files -n python2-suds
|
%files -n python3-suds2
|
||||||
%doc python2/README.rst
|
|
||||||
%license python2/LICENSE.txt
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-suds
|
|
||||||
%doc python3/README.rst
|
%doc python3/README.rst
|
||||||
%license python3/LICENSE.txt
|
%license python3/LICENSE.txt
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 8 2020 zhanghua <zhanghua40@huawei.com> - 0.7-4
|
||||||
|
- change Name to python-suds2 and remove Subpackage python2-suds
|
||||||
|
|
||||||
* Wed Jun 24 2020 wutao <wutao61@huawei.com> - 0.7-3
|
* Wed Jun 24 2020 wutao <wutao61@huawei.com> - 0.7-3
|
||||||
- Fix transport test error
|
- Fix transport test error
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user