From 403cdbef9923e1dbd9265d91d5bdf6c69aa619fbe4646773bc9522d64238157c Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 31 Oct 2023 11:04:13 +0000 Subject: [PATCH] - boo#1216734: Revert the last change and make the devel package independend of all other subpackages except for the libs. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql14?expand=0&rev=58 --- postgresql14.changes | 6 ++++++ postgresql14.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/postgresql14.changes b/postgresql14.changes index 4c595a6..3b6edb6 100644 --- a/postgresql14.changes +++ b/postgresql14.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 31 10:57:13 UTC 2023 - Reinhard Max + +- boo#1216734: Revert the last change and make the devel package + independend of all other subpackages except for the libs. + ------------------------------------------------------------------- Tue Oct 10 12:49:02 UTC 2023 - Reinhard Max diff --git a/postgresql14.spec b/postgresql14.spec index 2ebd577..0ecc691 100644 --- a/postgresql14.spec +++ b/postgresql14.spec @@ -760,7 +760,9 @@ popd mkdir -p %buildroot%pgmandir/man1 cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgmajor %find_lang ecpg-$VLANG devel.files -ln -s %pgbindir/ecpg %buildroot%_bindir/ecpg +# The devel subpackage is exclusive across versions +# and not handled by update-alternatives. +mv %buildroot%pgbindir/ecpg %buildroot%_bindir/ecpg %if !%mini %find_lang pg_config-$VLANG server-devel.files @@ -960,10 +962,9 @@ fi %dir %pgbasedir %dir %pgbindir -%ghost %_bindir/ecpg +%_bindir/ecpg %_libdir/pkgconfig/* %_libdir/lib*.so -%pgbindir/ecpg %pgincludedir %if %{with server_devel} %exclude %pgincludedir/server