From 54edc865907e07025aa7571b3767ebe7bf63eb74 Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Mon, 26 Jul 2021 15:20:41 +0800 Subject: [PATCH 1/2] modify build require --- python-psycopg2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 30eeeae..ec5c8a1 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -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} From 71a1ff245fcce4ea2e763b182b0f1e1903aca821 Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Mon, 26 Jul 2021 15:25:06 +0800 Subject: [PATCH 2/2] modify build require and fix licenses failed --- python-psycopg2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index ec5c8a1..814d552 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -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 @@ -135,6 +135,9 @@ done %doc doc %changelog +* Mon Jul 26 2021 zhouwenpei - 2.8.4-3 +- modify build require and fix licenses failed + * Thu Oct 29 2020 xinghe - 2.8.4-2 - remove python2 dependency