commit
bb82d66757
BIN
94664ddd46a6.tar.bz2
Normal file
BIN
94664ddd46a6.tar.bz2
Normal file
Binary file not shown.
73
python-suds.spec
Normal file
73
python-suds.spec
Normal file
@ -0,0 +1,73 @@
|
||||
Name: python-suds
|
||||
Version: 0.7
|
||||
Release: 1
|
||||
Summary: A python SOAP client
|
||||
License: LGPLv3+
|
||||
URL: https://bitbucket.org/jurko/suds
|
||||
Source0: https://bitbucket.org/jurko/suds/get/94664ddd46a6.tar.bz2
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
"Suds" is a lightweight SOAP-based web service client
|
||||
for Python licensed under LGPL.
|
||||
|
||||
%package -n python2-suds
|
||||
%{?python_provide:%python_provide python2-suds}
|
||||
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
|
||||
BuildRequires: python3-devel python3-pytest python3-six
|
||||
|
||||
%description -n python3-suds
|
||||
"Suds" is a lightweight SOAP-based web service client
|
||||
for Python licensed under LGPL.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
mv jurko-suds-94664ddd46a6 python2
|
||||
cp -a python2 python3
|
||||
|
||||
%build
|
||||
cd python2
|
||||
%py2_build
|
||||
cd -
|
||||
cd python3
|
||||
%py3_build
|
||||
cd -
|
||||
|
||||
%install
|
||||
cd python2
|
||||
%py2_install
|
||||
cd -
|
||||
cd python3
|
||||
%py3_install
|
||||
cd -
|
||||
|
||||
%check
|
||||
cd python2
|
||||
%{__python2} setup.py test
|
||||
cd -
|
||||
cd python3
|
||||
%{__python3} setup.py test
|
||||
cd -
|
||||
|
||||
%files -n python2-suds
|
||||
%doc python2/README.rst
|
||||
%license python2/LICENSE.txt
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%files -n python3-suds
|
||||
%doc python3/README.rst
|
||||
%license python3/LICENSE.txt
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 0.7-1
|
||||
- init package
|
||||
Loading…
x
Reference in New Issue
Block a user