!12 Update to 2.0.20
From: @wk333 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
2a276d2769
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-uWSGI
|
||||
Version: 2.0.19.1
|
||||
Release: 3
|
||||
Version: 2.0.20
|
||||
Release: 1
|
||||
Summary: The uWSGI server
|
||||
License: GPL2
|
||||
URL: https://uwsgi-docs.readthedocs.io/en/latest/
|
||||
Source0: https://files.pythonhosted.org/packages/c7/75/45234f7b441c59b1eefd31ba3d1041a7e3c89602af24488e2a22e11e7259/uWSGI-2.0.19.1.tar.gz
|
||||
Source0: https://projects.unbit.it/downloads/uwsgi-2.0.20.tar.gz
|
||||
%description
|
||||
The uWSGI server
|
||||
|
||||
@ -16,6 +16,7 @@ Provides: python-uWSGI
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python3-devel gcc
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
|
||||
%description -n python3-uWSGI
|
||||
|
||||
@ -27,13 +28,13 @@ Provides: python3-uWSGI-doc
|
||||
Help doc for the uWSGI server
|
||||
|
||||
%prep
|
||||
%autosetup -c uwsgi-%{version}
|
||||
%autosetup -n uwsgi-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
pip3 install --no-deps --root %{buildroot} .
|
||||
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
|
||||
@ -62,11 +63,15 @@ mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-uWSGI -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
%exclude %{python3_sitelib}/__pycache__/
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Thu Mar 31 2022 wangkai <wangkai385@huawei.com> - 2.0.20-1
|
||||
- Update to 2.0.20
|
||||
|
||||
* Tue Aug 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.0.19.1-3
|
||||
- DESC: uwsgi add BuildRequires openssl-devel to support --https
|
||||
|
||||
|
||||
Binary file not shown.
BIN
uwsgi-2.0.20.tar.gz
Normal file
BIN
uwsgi-2.0.20.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user