diff --git a/python-uwsgi.spec b/python-uwsgi.spec index edd05382a96b3b6c9d5eada225add99c444a3cf0..0c5f5a81c4bf9c46c9beaecc231a8e7e6ca003a6 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