diff --git a/postgresql12.changes b/postgresql12.changes index 057bd39..8e288e8 100644 --- a/postgresql12.changes +++ b/postgresql12.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 12:04:35 UTC 2020 - Reinhard Max diff --git a/postgresql12.spec b/postgresql12.spec index 9c6a2f7..889f897 100644 --- a/postgresql12.spec +++ b/postgresql12.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