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)