Compare commits
No commits in common. "04748cc8dbbd72afcee649b4a89ab4983e26daec" and "c3e1967abef31de00d8b1ba12a53766d8d55d196" have entirely different histories.
04748cc8db
...
c3e1967abe
@ -1,99 +1,48 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
|
||||||
%global srcname suds
|
%global srcname suds
|
||||||
|
|
||||||
Name: python-suds2
|
Name: python-suds2
|
||||||
Version: 1.1.2
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A python SOAP client
|
Summary: A python SOAP client
|
||||||
License: LGPL-3.0-only
|
License: LGPLv3+
|
||||||
URL: https://github.com/suds-community/suds
|
URL: https://github.com/suds-community/suds
|
||||||
Source0: https://files.pythonhosted.org/packages/35/e5/d9571b3f8757573ba0fd1ad56c20ca24c1f339db8731914fee6f657b7170/%{srcname}-%{version}.tar.gz
|
Source0: https://github.com/suds-community/suds/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
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 python3-suds2
|
%package -n python3-suds2
|
||||||
Summary: A python SOAP client
|
%{?python_provide:%python_provide python3-suds2}
|
||||||
Provides: python-suds2 = %{version}-%{release} python3-suds-community = %{version}-%{release}
|
Summary: A python SOAP client
|
||||||
Obsoletes: python-suds < %{version}-%{release}
|
BuildRequires: python3-devel python3-pytest python3-six
|
||||||
BuildRequires: python3-devel
|
Provides: python3-suds = %{version}-%{release}
|
||||||
BuildRequires: python3-pytest
|
Obsoletes: python3-suds < %{version}-%{release}
|
||||||
BuildRequires: python3-six
|
|
||||||
%description -n python3-suds2
|
%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.
|
||||||
|
|
||||||
%package help
|
|
||||||
Summary: Development documents and examples for suds
|
|
||||||
Provides: python3-suds2-doc
|
|
||||||
%description help
|
|
||||||
"Suds" is a lightweight SOAP-based web service client
|
|
||||||
for Python licensed under LGPL.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n suds-%{version}
|
%autosetup -n %{srcname}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
|
||||||
pushd %{buildroot}
|
|
||||||
if [ -d usr/lib ]; then
|
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/lib64 ]; then
|
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/bin ]; then
|
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
if [ -d usr/sbin ]; then
|
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
|
||||||
fi
|
|
||||||
touch doclist.lst
|
|
||||||
if [ -d usr/share/man ]; then
|
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
|
||||||
fi
|
|
||||||
popd
|
|
||||||
mv %{buildroot}/filelist.lst .
|
|
||||||
mv %{buildroot}/doclist.lst .
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-suds2 -f filelist.lst
|
%files -n python3-suds2
|
||||||
%dir %{python3_sitelib}/*
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
|
||||||
%{_docdir}/*
|
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 01 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.1.2-1
|
|
||||||
- Update package to version 1.1.2
|
|
||||||
|
|
||||||
* Tue Aug 23 2022 renliang16 <renliang@uniontech.com> - 1.1.1-4
|
|
||||||
- Fixed bug where python3-suds-community is not provided
|
|
||||||
|
|
||||||
* Fri Aug 19 2022 renliang16 <renliang@uniontech.com> - 1.1.1-3
|
|
||||||
- Provides python3-suds-community
|
|
||||||
|
|
||||||
* Tue Aug 02 2022 liukuo <liukuo@kylinos.cn> - 1.1.1-2
|
|
||||||
- License compliance rectification
|
|
||||||
|
|
||||||
* Fri Jun 10 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.1.1-1
|
|
||||||
- Upgrade to version 1.1.1
|
|
||||||
|
|
||||||
* Wed Jan 12 2022 Chengshaowei <chenshaowei3@huawei.com> - 1.0.0-1
|
* Wed Jan 12 2022 Chengshaowei <chenshaowei3@huawei.com> - 1.0.0-1
|
||||||
- update to v 1.0.0
|
- update to v 1.0.0
|
||||||
|
|
||||||
|
|||||||
BIN
suds-1.0.0.tar.gz
Normal file
BIN
suds-1.0.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user