From 5c98a5fbfa2a7fabb229ede0c313b7572f7adb1620b93969652dc700b412e50a Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 30 Nov 2021 19:04:11 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=61 --- postgresql12.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/postgresql12.spec b/postgresql12.spec index 3823cf3..846b4ab 100644 --- a/postgresql12.spec +++ b/postgresql12.spec @@ -127,10 +127,11 @@ BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) %endif -#!BuildIgnore: %pgname -#!BuildIgnore: %pgname-server #!BuildIgnore: postgresql-implementation #!BuildIgnore: postgresql-server-implementation +#!BuildIgnore: postgresql-devel-noarch +#!BuildIgnore: postgresql-llvmjit-devel-noarch +#!BuildIgnore: postgresql-server-devel-noarch Summary: Basic Clients and Utilities for PostgreSQL License: PostgreSQL Group: Productivity/Databases/Tools @@ -230,7 +231,7 @@ Conflicts: %pgname-devel %else Requires: %libecpg >= %version Requires: %libpq >= %version -Requires: postgresql-devel-noarch >= %version +Requires: postgresql-devel-noarch >= %pgmajor %endif # Installation of postgresql??-devel is exclusive Provides: postgresql-devel-exclusive = %pgmajor @@ -245,8 +246,8 @@ Provides: %pgname-server-devel = %version-%release %endif Provides: postgresql-server-devel = %version-%release Provides: postgresql-server-devel-implementation = %version-%release -Requires(post): postgresql-server-noarch >= %pgmajor -Requires(postun):postgresql-server-noarch >= %pgmajor +Requires(post): postgresql-server-devel-noarch >= %pgmajor +Requires(postun):postgresql-server-devel-noarch >= %pgmajor Requires: %pgname-devel = %version Requires: %pgname-server = %version-%release # Installation of postgresql??-devel is exclusive @@ -344,6 +345,7 @@ Provides: postgresql-llvmjit-devel = %version-%release Provides: postgresql-llvmjit-devel-implementation = %version-%release Requires: %pgname-server-devel = %version %if %{with llvm} +Requires: %pgname-llvmjit = %version Requires(post): postgresql-llvmjit-devel-noarch >= %pgmajor Requires(postun):postgresql-llvmjit-devel-noarch >= %pgmajor %requires_file %_bindir/llc @@ -902,10 +904,10 @@ fi %defattr(-,root,root) %pglibdir/llvm* %pglibdir/bitcode/* +%endif %files llvmjit-devel %doc README -%endif %files pltcl -f pltcl.lang %defattr(-,root,root)