change py version

This commit is contained in:
yangl777 2020-06-18 16:24:28 +08:00
parent 86fb23e400
commit 3eefaefac0

View File

@ -1,5 +1,3 @@
%global pybasever python3.7
%global pyshortver py3.7
Name: python-toml Name: python-toml
Version: 0.10.0 Version: 0.10.0
Release: 2 Release: 2
@ -38,15 +36,15 @@ languages.
%files -n python3-toml %files -n python3-toml
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE %license LICENSE
%_prefix/lib/%{pybasever}/site-packages/toml %_prefix/lib/python%{python3_version}/site-packages/toml
%_prefix/lib/%{pybasever}/site-packages/toml-%{version}-%{pyshortver}.egg-info %_prefix/lib/python%{python3_version}/site-packages/toml-%{version}-py%{python3_version}.egg-info
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%doc README.rst %doc README.rst
%changelog %changelog
* Tue Jun 18 2020 yanglu<yanglu60@huawei.com> - 0.10.0-2 * Thu Jun 18 2020 yanglu<yanglu60@huawei.com> - 0.10.0-2
- Change global - Change global
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.10.0-1 * Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.10.0-1
- Package init - Package init