Accepting request 1121433 from server:database:postgresql

Revert last change and make the devel package independend

OBS-URL: https://build.opensuse.org/request/show/1121433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=25
This commit is contained in:
Ana Guerrero 2023-10-31 19:26:32 +00:00 committed by Git OBS Bridge
commit 4f0fe7afa7
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 31 10:57:13 UTC 2023 - Reinhard Max <max@suse.com>
- 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 <max@suse.com> Tue Oct 10 12:49:02 UTC 2023 - Reinhard Max <max@suse.com>

View File

@ -760,7 +760,9 @@ popd
mkdir -p %buildroot%pgmandir/man1 mkdir -p %buildroot%pgmandir/man1
cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgmajor cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgmajor
%find_lang ecpg-$VLANG devel.files %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 %if !%mini
%find_lang pg_config-$VLANG server-devel.files %find_lang pg_config-$VLANG server-devel.files
@ -960,10 +962,9 @@ fi
%dir %pgbasedir %dir %pgbasedir
%dir %pgbindir %dir %pgbindir
%ghost %_bindir/ecpg %_bindir/ecpg
%_libdir/pkgconfig/* %_libdir/pkgconfig/*
%_libdir/lib*.so %_libdir/lib*.so
%pgbindir/ecpg
%pgincludedir %pgincludedir
%if %{with server_devel} %if %{with server_devel}
%exclude %pgincludedir/server %exclude %pgincludedir/server