!3 修复python3包名问题

From: @xiyuanwang
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-02-10 16:17:22 +08:00 committed by Gitee
commit acaea072fd

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-django
Version: 2.2.3
Release: 1
Release: 2
Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
License: BSD-3-Clause and OFL-1.1 and Apache-2.0 and MIT
URL: https://github.com/django/django
@ -19,7 +19,7 @@ A high-level Python Web framework that encourages rapid development and clean, p
%package -n python3-Django
Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Provides: python-Django
Provides: python-Django, python3-django
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-Django
@ -72,5 +72,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tus Feb 09 2021 wangxiyuan <wangxiyuan1007@gmail.com>
- Add python3-django for correct package name. Due to backward compatibility, the python3-Django is kept and it should be removed in the future.
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated