!8 modify build require
From: @zhouwenpei Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
9b45aa49cd
@ -9,9 +9,9 @@
|
||||
%endif
|
||||
Name: python-psycopg2
|
||||
Version: 2.8.4
|
||||
Release: 2
|
||||
Release: 3
|
||||
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/
|
||||
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}}}
|
||||
|
||||
BuildRequires: gcc,pkgconfig(libpq)
|
||||
BuildRequires: gcc,postgresql-devel
|
||||
|
||||
%{?with_python3:BuildRequires: python3-debug python3-devel}
|
||||
|
||||
@ -135,6 +135,9 @@ done
|
||||
%doc doc
|
||||
|
||||
%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
|
||||
- remove python2 dependency
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user