From 9c763fb2bafd80a3a434316e6466bf937eecaf61 Mon Sep 17 00:00:00 2001 From: chen-jan Date: Thu, 6 Jul 2023 15:08:33 +0800 Subject: [PATCH] remove pip for fix build error --- python-uwsgi.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/python-uwsgi.spec b/python-uwsgi.spec index edd0538..0c5f5a8 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.21 -Release: 1 +Release: 2 Summary: The uWSGI server License: GPL2 URL: https://uwsgi-docs.readthedocs.io/en/latest/ @@ -35,7 +35,7 @@ Help doc for the uWSGI server %py3_build %install -pip3 install --no-deps --root %{buildroot} . +%py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -54,13 +54,8 @@ fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi popd mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . chrpath -d %{buildroot}/%{_bindir}/uwsgi @@ -68,10 +63,13 @@ chrpath -d %{buildroot}/%{_bindir}/uwsgi %dir %{python3_sitelib}/* %exclude %{python3_sitelib}/__pycache__/ -%files help -f doclist.lst +%files help %{_pkgdocdir} %changelog +* Thu Jul 06 2023 chenchen - 2.0.21-2 +- remove pip for fix build error + * Wed Apr 19 2023 xu_ping <707078654@qq.com> - 2.0.21-1 - Upgrade package to 2.0.21 -- Gitee