diff --git a/python-uwsgi.spec b/python-uwsgi.spec index a69a498..9ef0795 100644 --- a/python-uwsgi.spec +++ b/python-uwsgi.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-uWSGI Version: 2.0.19.1 -Release: 4 +Release: 5 Summary: The uWSGI server License: GPL2 URL: https://uwsgi-docs.readthedocs.io/en/latest/ @@ -17,6 +17,7 @@ BuildRequires: openssl-devel BuildRequires: python3-devel gcc BuildRequires: python3-setuptools BuildRequires: python3-pip +BuildRequires: chrpath %description -n python3-uWSGI @@ -61,6 +62,8 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . +chrpath -d %{buildroot}/%{_bindir}/uwsgi + %files -n python3-uWSGI -f filelist.lst %dir %{python3_sitelib}/* %exclude %{python3_sitelib}/__pycache__/ @@ -69,6 +72,9 @@ mv %{buildroot}/doclist.lst . %{_pkgdocdir} %changelog +* Mon Dec 05 2022 wangkai - 2.0.19.1-5 +- Remove rpath + * Sat Mar 19 2022 baizhonggui - 2.0.19.1-4 - The setup.py install is deprecated, use pip install instead to fix build error