!3 Fixes building error for python-wsgi-intercept

From: @huangtianhua
Reviewed-by: @myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-02-20 14:21:13 +08:00 committed by Gitee
commit 87fa124c28

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-wsgi-intercept
Version: 1.9.2
Release: 2
Release: 3
Summary: wsgi_intercept installs a WSGI application in place of a real URI for testing.
License: MIT License
URL: https://github.com/cdent/wsgi-intercept
@ -25,7 +25,7 @@ threads to test your Web app.
%package -n python3-wsgi-intercept
Summary: wsgi_intercept installs a WSGI application in place of a real URI for testing.
Provides: python-wsgi-intercept
Provides: python-wsgi-intercept, python3-wsgi_intercept
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
@ -50,7 +50,7 @@ your test program. Thus, you can avoid spawning multiple processes or
threads to test your Web app.
%prep
%autosetup -n wsgi-intercept-1.9.2
%autosetup -n wsgi_intercept-1.9.2
%build
%py3_build
@ -90,6 +90,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Feb 20 2021 huangtianhua <huangtianhua223@gmail.com>
- Fix build error
* Thu Jan 28 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org>