代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-filelock 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-filelock
Version: 3.0.12
Release: 2
Summary: A platform independent file lock
License: Unlicense
URL: https://github.com/benediktschmitt/py-filelock
Source0: https://github.com/benediktschmitt/py-filelock/archive/v%{version}/py-filelock-%{version}.tar.gz
BuildArch: noarch
%description
This package contains a single module, which implements a platform
independent file locking mechanism for Python.
%package doc
Summary: Documentation for filelock, A platform independent file lock
BuildRequires: python3-sphinx python3-sphinx-theme-alabaster
%description doc
Documentation for filelock, A platform independent file lock
%package -n python3-filelock
Summary: A platform independent file lock
BuildRequires: python3-devel python3-setuptools
%{?python_provide:%python_provide python3-filelock}
Suggests: %{name}-doc
%description -n python3-filelock
This package contains a single module, which implements a platform
independent file locking mechanism for Python.
%package_help
%prep
%autosetup -p1 -n py-filelock-%{version}
%build
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
%make_build -C docs html man SPHINXBUILD=sphinx-build-%{python3_version}
rm docs/build/html/.buildinfo
%install
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
install -p -m0644 -D docs/build/man/py-filelock.1 \
%{buildroot}%{_mandir}/man1/py-filelock.1
%check
%{__python3} test.py
%files doc
%defattr(-,root,root)
%license LICENSE
%doc docs/build/html
%files -n python3-filelock
%defattr(-,root,root)
%license LICENSE
%_prefix/lib/python%{python3_version}/site-packages/filelock.py
%_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
%defattr(-,root,root)
%doc README.md
%{_mandir}/man1/py-filelock.1.gz
%changelog
* Thu Jun 18 2020 hanhui<hanhui15@huawei.com> - 3.0.12-2
- bugfix
- fix python can not find file
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 3.0.12-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。