From e594e435c0419d711d6ad3eab10814a2ffd3a53e Mon Sep 17 00:00:00 2001 From: shirely16 <1360148247@qq.com> Date: Thu, 18 Jun 2020 15:18:36 +0800 Subject: [PATCH] fix python can not find file --- python-filelock.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/python-filelock.spec b/python-filelock.spec index 6d43216..f41aaaa 100644 --- a/python-filelock.spec +++ b/python-filelock.spec @@ -1,6 +1,6 @@ Name: python-filelock Version: 3.0.12 -Release: 1 +Release: 2 Summary: A platform independent file lock License: Unlicense 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 %defattr(-,root,root) %license LICENSE -%_prefix/lib/python3.7/site-packages/filelock.py -%_prefix/lib/python3.7/site-packages/filelock-%{version}-py3.7.egg-info -%_prefix/lib/python3.7/site-packages/__pycache__/filelock*.py[co] +%_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) @@ -66,5 +66,9 @@ install -p -m0644 -D docs/build/man/py-filelock.1 \ %{_mandir}/man1/py-filelock.1.gz %changelog +* Thu Jun 18 2020 hanhui - 3.0.12-2 +- bugfix +- fix python can not find file + * Tue Feb 11 2020 huzunhao - 3.0.12-1 - Package init