2020-12-30 16:33:28 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-flufl.lock
|
2023-12-07 16:15:07 +08:00
|
|
|
Version: 8.0.2
|
2023-05-06 10:54:43 +08:00
|
|
|
Release: 1
|
2020-12-30 16:33:28 +08:00
|
|
|
Summary: NFS-safe file locking with timeouts for POSIX and Windows.
|
2022-05-17 17:17:06 +08:00
|
|
|
License: Apache-2.0
|
2020-12-30 16:33:28 +08:00
|
|
|
URL: https://pypi.org/project/flufl.lock
|
2023-12-07 16:15:07 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/da/de/a17ec72723eb806c71bdcf04519570cbf9baa2d923b9e15ea1a296f6acbe/flufl_lock-8.0.2.tar.gz
|
2020-12-30 16:33:28 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The flufl.lock library provides an NFS-safe file-based locking algorithm
|
|
|
|
|
influenced by the GNU/Linux "open(2)" man page, under the description of
|
|
|
|
|
the "O_EXCL" option.
|
|
|
|
|
|
|
|
|
|
%package -n python3-flufl.lock
|
|
|
|
|
Summary: NFS-safe file locking with timeouts for POSIX and Windows.
|
|
|
|
|
Provides: python-flufl.lock
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2023-05-06 10:54:43 +08:00
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-pdm-pep517
|
2023-12-07 16:15:07 +08:00
|
|
|
BuildRequires: python3-pdm-backend
|
2020-12-30 16:33:28 +08:00
|
|
|
|
|
|
|
|
%description -n python3-flufl.lock
|
|
|
|
|
The flufl.lock library provides an NFS-safe file-based locking algorithm
|
|
|
|
|
influenced by the GNU/Linux "open(2)" man page, under the description of
|
|
|
|
|
the "O_EXCL" option.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for flufl.lock
|
|
|
|
|
Provides: python3-flufl.lock-doc
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Development documents and examples for flufl.lock.
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-12-07 16:15:07 +08:00
|
|
|
%autosetup -n flufl_lock-%{version} -p1
|
2020-12-30 16:33:28 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-05-06 10:54:43 +08:00
|
|
|
%pyproject_build
|
2020-12-30 16:33:28 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-12-07 16:15:07 +08:00
|
|
|
%pyproject_install
|
2020-12-30 16:33:28 +08:00
|
|
|
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
|
|
|
|
|
|
2023-12-07 16:15:07 +08:00
|
|
|
%files -n python3-flufl.lock
|
|
|
|
|
%{python3_sitelib}/*
|
2020-12-30 16:33:28 +08:00
|
|
|
|
2023-12-07 16:15:07 +08:00
|
|
|
%files help
|
|
|
|
|
%{_docdir}/*
|
2020-12-30 16:33:28 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-12-07 16:15:07 +08:00
|
|
|
* Thu Dec 07 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 8.0.2-1
|
|
|
|
|
- Update package to version 8.0.2
|
|
|
|
|
|
2023-05-06 10:54:43 +08:00
|
|
|
* Sat May 6 2023 caodongxia <caodongxia@h-partners.com> - 7.1.1-1
|
|
|
|
|
- Update version to 7.1.1
|
|
|
|
|
|
2022-05-17 17:17:06 +08:00
|
|
|
* Tue May 17 2022 liukuo <liukuo@kylinos.cn> - 5.0.3-3
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2023-12-27 01:52:53 +00:00
|
|
|
* Thu Dec 31 2020 leiju <leiju4@huawei.com> - 5.0.3-2
|
2020-12-31 09:38:06 +08:00
|
|
|
- Modify Spec and yaml filename
|
|
|
|
|
|
2023-12-27 01:52:53 +00:00
|
|
|
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org> - 5.0.3-1
|
2020-12-30 16:33:28 +08:00
|
|
|
- Package Spec generated
|