diff --git a/python-uwsgi.spec b/python-uwsgi.spec index e63b12a..72a9ecb 100644 --- a/python-uwsgi.spec +++ b/python-uwsgi.spec @@ -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 - 2.0.20-1 +- Update to 2.0.20 + * Tue Aug 31 2021 chenyanpanHW - 2.0.19.1-3 - DESC: uwsgi add BuildRequires openssl-devel to support --https diff --git a/uWSGI-2.0.19.1.tar.gz b/uWSGI-2.0.19.1.tar.gz deleted file mode 100644 index 39027e9..0000000 Binary files a/uWSGI-2.0.19.1.tar.gz and /dev/null differ diff --git a/uwsgi-2.0.20.tar.gz b/uwsgi-2.0.20.tar.gz new file mode 100644 index 0000000..d0d1914 Binary files /dev/null and b/uwsgi-2.0.20.tar.gz differ