!8 modify build require

From: @zhouwenpei
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-07-26 13:25:09 +00:00 committed by Gitee
commit 9b45aa49cd

View File

@ -9,9 +9,9 @@
%endif %endif
Name: python-psycopg2 Name: python-psycopg2
Version: 2.8.4 Version: 2.8.4
Release: 2 Release: 3
Summary: PostgreSQL database adapter for the Python programming language Summary: PostgreSQL database adapter for the Python programming language
License: LGPLv3+ with exceptions License: GPL-3.0-only and LGPL-3.0-only
URL: http://www.psycopg.org/psycopg/ URL: http://www.psycopg.org/psycopg/
Source0: https://github.com/psycopg/psycopg2/archive/%{release_version}.tar.gz Source0: https://github.com/psycopg/psycopg2/archive/%{release_version}.tar.gz
@ -24,7 +24,7 @@ features offered by PostgreSQL.
%{!?with_python2:%{!?with_python3:%{error:one python version eneeded}}} %{!?with_python2:%{!?with_python3:%{error:one python version eneeded}}}
BuildRequires: gcc,pkgconfig(libpq) BuildRequires: gcc,postgresql-devel
%{?with_python3:BuildRequires: python3-debug python3-devel} %{?with_python3:BuildRequires: python3-debug python3-devel}
@ -135,6 +135,9 @@ done
%doc doc %doc doc
%changelog %changelog
* Mon Jul 26 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.8.4-3
- modify build require and fix licenses failed
* Thu Oct 29 2020 xinghe <xinghe1@huawei.com> - 2.8.4-2 * Thu Oct 29 2020 xinghe <xinghe1@huawei.com> - 2.8.4-2
- remove python2 dependency - remove python2 dependency