Remove rpath

(cherry picked from commit c24dbba8d9f51e3304935cca6002c65c06137c01)
This commit is contained in:
starlet-dx 2022-08-26 15:51:32 +08:00 committed by openeuler-sync-bot
parent 2a276d2769
commit 33bb0afc52

View File

@ -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 <yaoxin30@h-partners.com> - 2.0.20-2
- Remove rpath
* Thu Mar 31 2022 wangkai <wangkai385@huawei.com> - 2.0.20-1
- Update to 2.0.20