Add dependency to libpq-devel to server-devel pkg if external libpq is used

This commit is contained in:
Honza Horak 2021-06-09 17:27:40 +02:00
parent 8b2a0b66d3
commit 2ed9c8c1b1

View File

@ -278,7 +278,12 @@ Requires: krb5-devel
%if %llvmjit
Requires: clang-devel llvm-devel
%endif
%if ! %external_libpq
%if %external_libpq
# Some extensions require libpq
# Do not make them care about whether server uses private or system-wide
# libpq, simply let the server pull the correct one
Requires: libpq-devel
%else
Requires: %{name}-private-devel
%endif