update version to 1.1.2

This commit is contained in:
Wangjunqi123 2022-12-01 14:24:16 +08:00
parent e32ab2bf99
commit 6c012b2c87
3 changed files with 58 additions and 19 deletions

View File

@ -1,48 +1,87 @@
%global _empty_manifest_terminate_build 0
%global srcname suds %global srcname suds
Name: python-suds2 Name: python-suds2
Version: 1.1.1 Version: 1.1.2
Release: 4 Release: 1
Summary: A python SOAP client Summary: A python SOAP client
License: LGPL-3.0 License: LGPL-3.0-only
URL: https://github.com/suds-community/suds URL: https://github.com/suds-community/suds
Source0: https://github.com/suds-community/suds/archive/v%{version}/%{srcname}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/35/e5/d9571b3f8757573ba0fd1ad56c20ca24c1f339db8731914fee6f657b7170/%{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
%{?python_provide:%python_provide python3-suds2} Summary: A python SOAP client
Summary: A python SOAP client Provides: python-suds2 = %{version}-%{release} python3-suds-community = %{version}-%{release}
BuildRequires: python3-devel python3-pytest python3-six Obsoletes: python-suds < %{version}-%{release}
Provides: python3-suds = %{version}-%{release} python3-suds-community = %{version}-%{release} BuildRequires: python3-devel
Obsoletes: python3-suds < %{version}-%{release} BuildRequires: python3-pytest
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 %{srcname}-%{version} -p1 %autosetup -n suds-%{version}
%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 %files -n python3-suds2 -f filelist.lst
%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 * Tue Aug 23 2022 renliang16 <renliang@uniontech.com> - 1.1.1-4
- Fixed bug where python3-suds-community is not provided - Fixed bug where python3-suds-community is not provided

Binary file not shown.

BIN
suds-1.1.2.tar.gz Normal file

Binary file not shown.