Remove rpath

(cherry picked from commit 16da79e416983c746bcd2554bcf33b01311aed87)
This commit is contained in:
wk333 2022-12-05 17:13:48 +08:00 committed by openeuler-sync-bot
parent 4d5e48f2ed
commit 29c76b4dc9

View File

@ -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 <wangkai385@h-partners.com> - 2.0.19.1-5
- Remove rpath
* Sat Mar 19 2022 baizhonggui <baizhonggui@huawei.com> - 2.0.19.1-4
- The setup.py install is deprecated, use pip install instead to fix build error