!11 在spec中增加libpq-devel的版本限制

From: @chenxi-mao 
Reviewed-by: @zhengzhenyu 
Signed-off-by: @zhengzhenyu
This commit is contained in:
openeuler-ci-bot 2023-11-13 06:33:06 +00:00 committed by Gitee
commit 7f67a5a3bf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: postgresql-odbc
Summary: Official postgreSQL ODBC driver
Version: 13.01.0000
Release: 1
Release: 3
License: LGPLv2+
URL: https://odbc.postgresql.org/
Source0: http://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-%{version}.tar.gz
@ -10,7 +10,7 @@ Patch0: postgresql-odbc-09.06.0200-revert-money-fix.patch
Patch1: postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch
BuildRequires: unixODBC-devel postgresql-test-rpm-macros gcc
BuildRequires: libpq-devel
BuildRequires: libpq-devel >= 9.2
Provides: psqlodbc = %version-%release
%description
@ -72,6 +72,10 @@ cd test && %make_build installcheck || {
%{_libdir}/postgresql-odbc/test
%changelog
* Fri Nov 10 2023 Chenxi Mao <chenxi.mao@suse.com> - 13.01.0000-3
- Add libpq-devel version dependency.
- Bump version release to 3, because previous change didn't bump release number.
* Fri Mar 10 2023 dillon chen <dillon.chen@gmail.com> - 13.01.0000-2
- add two patch
- postgres-server-devel to pkgconfig(libpq)