python-flufl.lock/python-flufl.lock.spec
xu_ping c960c51a54
Add a missing version tag to the changelog.
Signed-off-by: xu_ping <707078654@qq.com>
2023-12-27 01:52:53 +00:00

72 lines
2.1 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
Name: python-flufl.lock
Version: 8.0.2
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/da/de/a17ec72723eb806c71bdcf04519570cbf9baa2d923b9e15ea1a296f6acbe/flufl_lock-8.0.2.tar.gz
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
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pdm-pep517
BuildRequires: python3-pdm-backend
%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
%autosetup -n flufl_lock-%{version} -p1
%build
%pyproject_build
%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
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-flufl.lock
%{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Thu Dec 07 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 8.0.2-1
- Update package to version 8.0.2
* Sat May 6 2023 caodongxia <caodongxia@h-partners.com> - 7.1.1-1
- Update version to 7.1.1
* Tue May 17 2022 liukuo <liukuo@kylinos.cn> - 5.0.3-3
- License compliance rectification
* Thu Dec 31 2020 leiju <leiju4@huawei.com> - 5.0.3-2
- Modify Spec and yaml filename
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org> - 5.0.3-1
- Package Spec generated