From 33bb0afc52a9f65d716aa08c7cb658f485964f1e Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Fri, 26 Aug 2022 15:51:32 +0800 Subject: [PATCH] Remove rpath (cherry picked from commit c24dbba8d9f51e3304935cca6002c65c06137c01) --- python-uwsgi.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-uwsgi.spec b/python-uwsgi.spec index 72a9ecb..406d179 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.20 -Release: 1 +Release: 2 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 +* Fri Aug 26 2022 yaoxin - 2.0.20-2 +- Remove rpath + * Thu Mar 31 2022 wangkai - 2.0.20-1 - Update to 2.0.20