Compare commits
10 Commits
2b0360379e
...
f6ba9a2b8d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6ba9a2b8d | ||
|
|
29c76b4dc9 | ||
|
|
4d5e48f2ed | ||
|
|
675f505384 | ||
|
|
74af62ee13 | ||
|
|
df418a4a78 | ||
|
|
21bd5a48b1 | ||
|
|
0679163603 | ||
|
|
86dbcb1819 | ||
|
|
f42f01b3e4 |
@ -1,20 +1,24 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-uWSGI
|
||||
Version: 2.0.19.1
|
||||
Release: 1
|
||||
Release: 5
|
||||
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
|
||||
|
||||
%description
|
||||
|
||||
The uWSGI server
|
||||
|
||||
%package -n python3-uWSGI
|
||||
Summary: The uWSGI server
|
||||
Provides: python-uWSGI
|
||||
BuildRequires: python3-devel
|
||||
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: python3-devel gcc
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: chrpath
|
||||
|
||||
%description -n python3-uWSGI
|
||||
|
||||
|
||||
@ -22,7 +26,7 @@ BuildRequires: python3-setuptools
|
||||
Summary: Development documents and examples for uWSGI
|
||||
Provides: python3-uWSGI-doc
|
||||
%description help
|
||||
|
||||
Help doc for the uWSGI server
|
||||
|
||||
%prep
|
||||
%autosetup -c uwsgi-%{version}
|
||||
@ -31,7 +35,7 @@ Provides: python3-uWSGI-doc
|
||||
%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
|
||||
@ -58,12 +62,27 @@ popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
chrpath -d %{buildroot}/%{_bindir}/uwsgi
|
||||
|
||||
%files -n python3-uWSGI -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
%exclude %{python3_sitelib}/__pycache__/
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_pkgdocdir}
|
||||
|
||||
%changelog
|
||||
* Mon Dec 05 2022 wangkai <wangkai385@h-partners.com> - 2.0.19.1-5
|
||||
- Remove rpath
|
||||
|
||||
* Sat Mar 19 2022 baizhonggui <baizhonggui@huawei.com> - 2.0.19.1-4
|
||||
- The setup.py install is deprecated, use pip install instead to fix build error
|
||||
|
||||
* Tue Aug 31 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.0.19.1-3
|
||||
- DESC: uwsgi add BuildRequires openssl-devel to support --https
|
||||
|
||||
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.0.19.1-2
|
||||
- Completing build dependencies to fix gcc compiler missing error
|
||||
|
||||
* Wed Aug 05 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user