Upgrade package to 3.12.0 version
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
07e197e178
commit
77ac823dc3
BIN
filelock-3.12.0.tar.gz
Normal file
BIN
filelock-3.12.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,13 +1,16 @@
|
|||||||
Name: python-filelock
|
Name: python-filelock
|
||||||
Version: 3.0.12
|
Version: 3.12.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: A platform independent file lock
|
Summary: A platform independent file lock
|
||||||
License: Unlicense
|
License: Unlicense
|
||||||
URL: https://github.com/benediktschmitt/py-filelock
|
URL: https://github.com/benediktschmitt/py-filelock
|
||||||
Source0: https://github.com/benediktschmitt/py-filelock/archive/v%{version}/py-filelock-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/24/85/cf4df939cc0a037ebfe18353005e775916faec24dcdbc7a2f6539ad9d943/filelock-3.12.0.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-pytest
|
||||||
|
BuildRequires: python3-pytest-mock
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a single module, which implements a platform
|
This package contains a single module, which implements a platform
|
||||||
independent file locking mechanism for Python.
|
independent file locking mechanism for Python.
|
||||||
@ -32,40 +35,36 @@ independent file locking mechanism for Python.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n py-filelock-%{version}
|
%autosetup -p1 -n filelock-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
%pyproject_build
|
||||||
%make_build -C docs html man SPHINXBUILD=sphinx-build-%{python3_version}
|
|
||||||
rm docs/build/html/.buildinfo
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
%pyproject_install filelock==%{version}
|
||||||
|
|
||||||
install -p -m0644 -D docs/build/man/py-filelock.1 \
|
|
||||||
%{buildroot}%{_mandir}/man1/py-filelock.1
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} test.py
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}/
|
||||||
|
|
||||||
|
pytest
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc docs/build/html
|
|
||||||
|
|
||||||
%files -n python3-filelock
|
%files -n python3-filelock
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%_prefix/lib/python%{python3_version}/site-packages/filelock.py
|
%{python3_sitelib}/filelock*
|
||||||
%_prefix/lib/python%{python3_version}/site-packages/filelock-%{version}-py3.*.egg-info
|
|
||||||
%_prefix/lib/python%{python3_version}/site-packages/__pycache__/filelock*.py[co]
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_mandir}/man1/py-filelock.1.gz
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 27 2023 xu_ping <707078654@qq.com> - 3.12.0-1
|
||||||
|
- Upgrade to 3.12.0
|
||||||
|
|
||||||
* Thu Mar 3 2022 zhaoshuang<zhaoshuang@uniontech.com> - 3.0.12-3
|
* Thu Mar 3 2022 zhaoshuang<zhaoshuang@uniontech.com> - 3.0.12-3
|
||||||
- remove unnecessary buildrequires
|
- remove unnecessary buildrequires
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user