fix python can not find file

This commit is contained in:
shirely16 2020-06-18 15:18:36 +08:00
parent 809e68cec4
commit e594e435c0

View File

@ -1,6 +1,6 @@
Name: python-filelock Name: python-filelock
Version: 3.0.12 Version: 3.0.12
Release: 1 Release: 2
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
@ -56,9 +56,9 @@ install -p -m0644 -D docs/build/man/py-filelock.1 \
%files -n python3-filelock %files -n python3-filelock
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE %license LICENSE
%_prefix/lib/python3.7/site-packages/filelock.py %_prefix/lib/python%{python3_version}/site-packages/filelock.py
%_prefix/lib/python3.7/site-packages/filelock-%{version}-py3.7.egg-info %_prefix/lib/python%{python3_version}/site-packages/filelock-%{version}-py3.*.egg-info
%_prefix/lib/python3.7/site-packages/__pycache__/filelock*.py[co] %_prefix/lib/python%{python3_version}/site-packages/__pycache__/filelock*.py[co]
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
@ -66,5 +66,9 @@ install -p -m0644 -D docs/build/man/py-filelock.1 \
%{_mandir}/man1/py-filelock.1.gz %{_mandir}/man1/py-filelock.1.gz
%changelog %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 * Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 3.0.12-1
- Package init - Package init