!16 Upgrade to latest release [python-portalocker -> 2.7.0]

From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-03-28 01:07:44 +00:00 committed by Gitee
commit acaa0a5358
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 3 deletions

Binary file not shown.

BIN
portalocker-2.7.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-portalocker
Version: 2.6.0
Version: 2.7.0
Release: 1
Summary: Wraps the portalocker recipe for easy usage
License: BSD-3-Clause
URL: https://github.com/WoLpH/portalocker
Source0: https://files.pythonhosted.org/packages/a6/5c/57ef8091f9f1d01bf5413fcd0fd1f2f255f45536e42bfd34bc45b6cc2786/portalocker-2.6.0.tar.gz
Source0: https://files.pythonhosted.org/packages/1f/f8/969e6f280201b40b31bcb62843c619f343dcc351dff83a5891530c9dd60e/portalocker-2.7.0.tar.gz
BuildArch: noarch
%description
Portalocker is a library to provide an easy API to file locking.
@ -39,6 +38,9 @@ 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
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -67,6 +69,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Fri Mar 24 2023 wangjunqi <wangjunqi@kylinos.cn> - 2.7.0-1
- Update package to version 2.7.0
* Fri Dec 16 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.6.0-1
- Update package to version 2.6.0