Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f6ba9a2b8d
!17 [sync] PR-16: Remove rpath
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-12-06 01:31:42 +00:00
wk333
29c76b4dc9 Remove rpath
(cherry picked from commit 16da79e416983c746bcd2554bcf33b01311aed87)
2022-12-06 09:08:45 +08:00
openeuler-ci-bot
4d5e48f2ed
!13 [sync] PR-10: Fix build error in openEuler-22.03-LTS
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-08-22 10:47:28 +00:00
baizg1107
675f505384 use pip install to fix install error
(cherry picked from commit dc0d2ad64600d0e77cf9265ac0f739388b9f8609)
2022-08-22 10:35:31 +08:00
openeuler-ci-bot
74af62ee13 !6 [Lightweight PR]: uwsgi add BuildRequires openssl-devel to support --https
From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-08-31 06:13:11 +00:00
chenyanpanHW
df418a4a78 uwsgi add BuildRequires openssl-devel to support --https 2021-08-31 03:55:46 +00:00
openeuler-ci-bot
21bd5a48b1 !4 Completing build dependencies to fix gcc compiler missing error
From: @hht8
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-07 20:24:07 +08:00
hht8
0679163603 Completing build dependencies to fix gcc compiler missing error 2021-06-07 10:56:57 +08:00
openeuler-ci-bot
86dbcb1819 !2 package init
Merge pull request !2 from huanghaitao/master
2020-08-11 16:42:40 +08:00
hht8
f42f01b3e4 add descriptions 2020-08-06 19:51:59 +08:00

View File

@ -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