From c19b82d6c3ffc3d94e7462cc57871bb3c485ca4ed6b0ed0373563f9540d2fb13 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 23 Oct 2019 17:51:38 +0000 Subject: [PATCH] Accepting request 741945 from home:darix:branches:server:database:postgresql add requires to fix build failures from missing devel OBS-URL: https://build.opensuse.org/request/show/741945 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=2 --- postgresql12.changes | 6 ++++++ postgresql12.spec | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/postgresql12.changes b/postgresql12.changes index 7ab683a..8df86fe 100644 --- a/postgresql12.changes +++ b/postgresql12.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 22 16:50:55 UTC 2019 - Marcus Rueckert + +- add requires to the server-devel package for the libs that are + returned by pg_config --libs + ------------------------------------------------------------------- Mon Oct 7 09:03:24 UTC 2019 - Marcus Rueckert diff --git a/postgresql12.spec b/postgresql12.spec index 9e78a46..ad2aa2d 100644 --- a/postgresql12.spec +++ b/postgresql12.spec @@ -263,6 +263,19 @@ Conflicts: postgresql-server-devel-exclusive < %pgmajor %if %{with llvm} Requires: clang-devel %endif +Requires: libxslt-devel +Requires: openssl-devel +Requires: pam-devel +Requires: readline-devel +Requires: zlib-devel +%if 0%{?suse_version} == 1110 +Requires: krb5-devel +%else +Requires: pkgconfig(krb5) +%endif +%if %{with selinux} +Requires: libselinux-devel +%endif %description server-devel PostgreSQL is an advanced object-relational database management system