From 602fab92808d1beae6617e9314335ea92fc455aa Mon Sep 17 00:00:00 2001 From: fyq_950317 Date: Thu, 18 Jun 2020 16:36:45 +0800 Subject: [PATCH] change spec hardcode the dependent python version number --- python-hwdata.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-hwdata.spec b/python-hwdata.spec index 15da8d7..a0e6099 100644 --- a/python-hwdata.spec +++ b/python-hwdata.spec @@ -68,13 +68,13 @@ popd %files -n python2-hwdata %defattr(-,root,root) %license LICENSE -%_prefix/lib/python2.7/site-packages/* +%{python2_sitelib}/* %endif # with python2 %files -n python3-hwdata %defattr(-,root,root) %license LICENSE -%_prefix/lib/python3.7/site-packages/* +%{python3_sitelib}/* %files help %defattr(-,root,root)