From 29c76b4dc95b1f1f9c67c1c8e7ece52265cb7f2e Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Mon, 5 Dec 2022 17:13:48 +0800 Subject: [PATCH] Remove rpath (cherry picked from commit 16da79e416983c746bcd2554bcf33b01311aed87) --- python-uwsgi.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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