change spec hardcode the dependent python version number

This commit is contained in:
fyq_950317 2020-06-18 16:36:45 +08:00
parent 7f2de9ca99
commit 602fab9280

View File

@ -68,13 +68,13 @@ popd
%files -n python2-hwdata %files -n python2-hwdata
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE %license LICENSE
%_prefix/lib/python2.7/site-packages/* %{python2_sitelib}/*
%endif # with python2 %endif # with python2
%files -n python3-hwdata %files -n python3-hwdata
%defattr(-,root,root) %defattr(-,root,root)
%license LICENSE %license LICENSE
%_prefix/lib/python3.7/site-packages/* %{python3_sitelib}/*
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)