diff --git a/portalocker-2.10.1.tar.gz b/portalocker-2.10.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4c17314dec64b6e3035f43b04139a41890b9aa68 Binary files /dev/null and b/portalocker-2.10.1.tar.gz differ diff --git a/portalocker-2.7.0.tar.gz b/portalocker-2.7.0.tar.gz deleted file mode 100644 index f098c8bf90dc5e7396cb9dc4fcd253f851118edf..0000000000000000000000000000000000000000 Binary files a/portalocker-2.7.0.tar.gz and /dev/null differ diff --git a/python-portalocker.spec b/python-portalocker.spec index 2637c874456ba39dd43e18db7f4f04ca1d6ae4f0..38fe465a45a820bd54e176ac14fd1d094fd9f615 100644 --- a/python-portalocker.spec +++ b/python-portalocker.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-portalocker -Version: 2.7.0 +Version: 2.10.1 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/1f/f8/969e6f280201b40b31bcb62843c619f343dcc351dff83a5891530c9dd60e/portalocker-2.7.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/portalocker/portalocker-%{version}.tar.gz BuildArch: noarch %description @@ -16,6 +16,8 @@ Summary: Wraps the portalocker recipe for easy usage Provides: python-portalocker = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel %description -n python3-portalocker Portalocker is a library to provide an easy API to file locking. @@ -29,10 +31,10 @@ Portalocker is a library to provide an easy API to file locking. %autosetup -n portalocker-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_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 @@ -64,11 +66,18 @@ mv %{buildroot}/doclist.lst . %files -n python3-portalocker -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/portalocker %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Sep 02 2024 yaoxin - 2.10.1-1 +- Update to 2.10.1: + * Properly propagating exceptions for NFS read-only lock issues and added + support for being able to choose between lockf and flock + * Added support for Python 3.11 and 3.12 + * Fri Mar 24 2023 wangjunqi - 2.7.0-1 - Update package to version 2.7.0 diff --git a/python-portalocker.yaml b/python-portalocker.yaml new file mode 100644 index 0000000000000000000000000000000000000000..84f9eef5c90f65956e7a8dcc696b4fb1aa00160d --- /dev/null +++ b/python-portalocker.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: wolph/portalocker +tag_pattern: "^v" +seperator: "."