diff --git a/flufl.lock-5.0.3.tar.gz b/flufl.lock-5.0.3.tar.gz deleted file mode 100644 index 467db83..0000000 Binary files a/flufl.lock-5.0.3.tar.gz and /dev/null differ diff --git a/flufl.lock-7.1.1.tar.gz b/flufl.lock-7.1.1.tar.gz new file mode 100644 index 0000000..b54488a Binary files /dev/null and b/flufl.lock-7.1.1.tar.gz differ diff --git a/python-flufl.lock.spec b/python-flufl.lock.spec index 75b21a9..166f783 100644 --- a/python-flufl.lock.spec +++ b/python-flufl.lock.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-flufl.lock -Version: 5.0.3 -Release: 3 +Version: 7.1.1 +Release: 1 Summary: NFS-safe file locking with timeouts for POSIX and Windows. License: Apache-2.0 URL: https://pypi.org/project/flufl.lock -Source0: https://files.pythonhosted.org/packages/d6/f2/dc52ec13288b338f66c5c1d5770d7bad1d8cf4c7a56c4e83b658c6cd4974/flufl.lock-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/35/33/d3baecd2545b9ae842f4df356aaa4a1816191eff737264542e9d27c5ec3b/flufl.lock-7.1.1.tar.gz BuildArch: noarch %description @@ -18,6 +18,9 @@ Summary: NFS-safe file locking with timeouts for POSIX and Windows. Provides: python-flufl.lock BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-pdm-pep517 %description -n python3-flufl.lock The flufl.lock library provides an NFS-safe file-based locking algorithm @@ -32,13 +35,14 @@ Provides: python3-flufl.lock-doc Development documents and examples for flufl.lock. %prep -%autosetup -n flufl.lock-%{version} +%autosetup -n flufl.lock-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install flufl.lock==%{version} + 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 @@ -67,11 +71,15 @@ mv %{buildroot}/doclist.lst . %files -n python3-flufl.lock -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/flufl/lock/ %files help -f doclist.lst %{_pkgdocdir} %changelog +* Sat May 6 2023 caodongxia - 7.1.1-1 +- Update version to 7.1.1 + * Tue May 17 2022 liukuo - 5.0.3-3 - License compliance rectification