diff --git a/postgresql13.changes b/postgresql13.changes index eb34a5e..a6b8a96 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 20 11:51:37 UTC 2020 - Reinhard Max + +- bsc#1178961: %ghost the symlinks to pg_config and ecpg. +- boo#1179765: 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 1384cee..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 @@ -917,7 +921,7 @@ fi %defattr(-,root,root) %dir %pgbasedir %dir %pgbindir -%_bindir/ecpg +%ghost %_bindir/ecpg %_libdir/pkgconfig/* %_libdir/lib*.so %pgbindir/ecpg @@ -932,7 +936,7 @@ fi %files server-devel -f server-devel.files %endif %defattr(-,root,root) -%_bindir/pg_config +%ghost %_bindir/pg_config %pgbindir/pg_config %pgincludedir/server %pglibdir/pgxs