diff --git a/postgresql13.changes b/postgresql13.changes index 96ec1ca..152fee2 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,7 +1,9 @@ ------------------------------------------------------------------- -Fri Nov 20 09:50:09 UTC 2020 - Reinhard Max +Fri Nov 20 11:51:37 UTC 2020 - Reinhard Max - bsc#1178961: %ghost the symlinks to pg_config and ecpg. +- BuildRequire libpq5 and libecpg6 when not building them to avoid + dangling symlinks in the devel package. ------------------------------------------------------------------- Wed Nov 11 11:36:01 UTC 2020 - Reinhard Max diff --git a/postgresql13.spec b/postgresql13.spec index d452e2d..458343c 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -73,6 +73,10 @@ BuildRequires: timezone BuildRequires: zlib-devel %bcond_without selinux %bcond_without icu +%if !%buildlibs +BuildRequires: %libecpg +BuildRequires: %libpq +%endif %if 0%{?suse_version} >= 1300 %bcond_without systemd %bcond_without systemd_notify