Update to 3.22.2

This commit is contained in:
chen-jan 2023-05-04 10:49:11 +08:00
parent 1eaf22bb27
commit bc1bb39bc7
3 changed files with 8 additions and 18 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-esdk-obs-python Name: python-esdk-obs-python
Version: 3.21.4 Version: 3.22.2
Release: 1 Release: 1
Summary: OBS Python SDK Summary: OBS Python SDK
License: Apache-2.0 License: Apache-2.0
URL: http://obs-browser.obs.myhuaweicloud.com URL: https://pypi.org/project/esdk-obs-python
Source0: https://files.pythonhosted.org/packages/55/43/09ee6fab50215a6143225a6ca8d59fff021ecc870c0f55a1a4802ffa1a15/esdk-obs-python-3.21.4.tar.gz Source0: https://files.pythonhosted.org/packages/50/19/9997c9b62c3ce3c743da98629ff2f5a0c913368b0485501e6a0a89b1a73e/esdk-obs-python-3.22.2.tar.gz
BuildArch: noarch BuildArch: noarch
@ -20,17 +20,12 @@ BuildRequires: python3-setuptools
%description -n python3-esdk-obs-python %description -n python3-esdk-obs-python
OBS Python SDK OBS Python SDK
%package help
Summary: Development documents and examples for esdk-obs-python
Provides: python3-esdk-obs-python-doc
%description help
OBS Python SDK
%prep %prep
%autosetup -n esdk-obs-python-3.21.4 %autosetup -n esdk-obs-python-3.22.2
%build %build
%py3_build %py3_build
sed -i "s/pycryptodome==3.10.1/pycryptodome==3.17.0/g" setup.py
%install %install
%py3_install %py3_install
@ -52,20 +47,15 @@ fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi 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 popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-esdk-obs-python -f filelist.lst %files -n python3-esdk-obs-python -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog %changelog
* Thu May 04 2023 chenchen <chen_aka_jan@163.com> - 3.22.2-1
- Update to 3.22.2
* Wed Aug 11 2021 Python_Bot <Python_Bot@openeuler.org> - 3.21.4-1 * Wed Aug 11 2021 Python_Bot <Python_Bot@openeuler.org> - 3.21.4-1
- Packiage Spec generated - Packiage Spec generated