fix can not find python3.8 path

This commit is contained in:
shirely16 2020-06-16 16:34:16 +08:00
parent b269800685
commit 884d82f94d

View File

@ -2,7 +2,7 @@
%bcond_without python3 %bcond_without python3
Name: python-dockerpty Name: python-dockerpty
Version: 0.4.1 Version: 0.4.1
Release: 1 Release: 2
Summary: Python library to use the pseudo-tty of a docker container Summary: Python library to use the pseudo-tty of a docker container
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/d11wtq/dockerpty URL: https://github.com/d11wtq/dockerpty
@ -68,8 +68,8 @@ to a docker container, using the Python client
%files -n python3-dockerpty %files -n python3-dockerpty
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE.txt %license LICENSE.txt
%_prefix/lib/python3.7/site-packages/dockerpty %_prefix/lib/python%{python3_version}/site-packages/dockerpty
%_prefix/lib/python3.7/site-packages/dockerpty-%{version}-py%{python3_version}.egg-info %_prefix/lib/python%{python3_version}/site-packages/dockerpty-%{version}-py%{python3_version}.egg-info
%endif %endif
%files help %files help
@ -77,5 +77,8 @@ to a docker container, using the Python client
%doc README.md MANIFEST.in %doc README.md MANIFEST.in
%changelog %changelog
* Tue Jun 16 2020 hanhui<hanhui15@huawei.com> - 0.4.1-2
- fix python3 can not find path
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.4.1-1 * Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.4.1-1
- Package init - Package init