remove pip for fix build error

This commit is contained in:
chen-jan 2023-07-06 15:08:33 +08:00
parent ccbe047912
commit 9c763fb2ba

View File

@ -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 <chen_aka_jan@163.com> - 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