!19 remove pip for fix build error
From: @chen-jan Reviewed-by: @Lostwayzxc, @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
bf1ce22a76
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-uWSGI
|
Name: python-uWSGI
|
||||||
Version: 2.0.21
|
Version: 2.0.21
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: The uWSGI server
|
Summary: The uWSGI server
|
||||||
License: GPL2
|
License: GPL2
|
||||||
URL: https://uwsgi-docs.readthedocs.io/en/latest/
|
URL: https://uwsgi-docs.readthedocs.io/en/latest/
|
||||||
@ -35,7 +35,7 @@ Help doc for the uWSGI server
|
|||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pip3 install --no-deps --root %{buildroot} .
|
%py3_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -54,13 +54,8 @@ fi
|
|||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
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
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
|
||||||
|
|
||||||
chrpath -d %{buildroot}/%{_bindir}/uwsgi
|
chrpath -d %{buildroot}/%{_bindir}/uwsgi
|
||||||
|
|
||||||
@ -68,10 +63,13 @@ chrpath -d %{buildroot}/%{_bindir}/uwsgi
|
|||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
%exclude %{python3_sitelib}/__pycache__/
|
%exclude %{python3_sitelib}/__pycache__/
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help
|
||||||
%{_pkgdocdir}
|
%{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Apr 19 2023 xu_ping <707078654@qq.com> - 2.0.21-1
|
||||||
- Upgrade package to 2.0.21
|
- Upgrade package to 2.0.21
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user