From 7f5f09222b729f95fda1b449791be106626d1c19446aa2b3add5b6478dd7b645 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 20 Nov 2020 10:52:37 +0000 Subject: [PATCH 1/3] - bsc#1178961: %ghost the symlinks to pg_config and ecpg. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=7 --- postgresql13.changes | 5 +++++ postgresql13.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/postgresql13.changes b/postgresql13.changes index eb34a5e..96ec1ca 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 20 09:50:09 UTC 2020 - Reinhard Max + +- bsc#1178961: %ghost the symlinks to pg_config and ecpg. + ------------------------------------------------------------------- Wed Nov 11 11:36:01 UTC 2020 - Reinhard Max diff --git a/postgresql13.spec b/postgresql13.spec index 1384cee..d452e2d 100644 --- a/postgresql13.spec +++ b/postgresql13.spec @@ -917,7 +917,7 @@ fi %defattr(-,root,root) %dir %pgbasedir %dir %pgbindir -%_bindir/ecpg +%ghost %_bindir/ecpg %_libdir/pkgconfig/* %_libdir/lib*.so %pgbindir/ecpg @@ -932,7 +932,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 From 369f5fe45c90ea6833504aa3a312841366c90c23c8373be2b4fbe91cf8f1ba8e Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 20 Nov 2020 11:53:36 +0000 Subject: [PATCH 2/3] - BuildRequire libpq5 and libecpg6 when not building them to avoid dangling symlinks in the devel package. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=8 --- postgresql13.changes | 4 +++- postgresql13.spec | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 From 52d5e75e4ea93c3b6db7c9315b59c03e1cdbe5642c371958bd0088ad936eb4a8 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 8 Dec 2020 16:13:10 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=9 --- postgresql13.changes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgresql13.changes b/postgresql13.changes index 152fee2..a6b8a96 100644 --- a/postgresql13.changes +++ b/postgresql13.changes @@ -2,8 +2,8 @@ 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. +- 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