From 369f5fe45c90ea6833504aa3a312841366c90c23c8373be2b4fbe91cf8f1ba8e Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 20 Nov 2020 11:53:36 +0000 Subject: [PATCH] - 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