From 07d57f29ac5ba4735595986399a953e84780965e Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Mon, 25 Jul 2022 10:40:13 +0800 Subject: [PATCH] Usepython3_sitearchinsteadofpython3_sitelib --- python-xgboost.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-xgboost.spec b/python-xgboost.spec index 4833aee..676a483 100644 --- a/python-xgboost.spec +++ b/python-xgboost.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 0.90 -Release: 5 +Release: 6 Summary: Scalable, Portable and Distributed Gradient Boosting Library License: Apache-2.0 URL: https://github.com/dmlc/xgboost @@ -60,10 +60,13 @@ find %{buildroot} -name "*.py" -exec sed -i -r 's!/usr/bin/python(\s|$)!/usr/bin %{_bindir}/xgboost /usr/xgboost %doc README.rst -%{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/%{pypi_name}-*.egg-info/ +%{python3_sitearch}/%{pypi_name}/ +%{python3_sitearch}/%{pypi_name}-*.egg-info/ %changelog +* Mon Jul 25 2022 caodongxia - 0.90-6 +- Use python3_sitearch instead of python3_sitelib + * Wed May 18 2022 liukuo - 0.90-5 - License compliance rectification