Accepting request 854082 from server:database:postgresql

- bsc#1178961: %ghost the symlinks to pg_config and ecpg.
- boo#1179765: BuildRequire libpq5 and libecpg6 when not building
  them to avoid dangling symlinks in the devel package.

OBS-URL: https://build.opensuse.org/request/show/854082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-12-10 14:56:40 +00:00 committed by Git OBS Bridge
commit 31f98a1410
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 20 11:51:37 UTC 2020 - Reinhard Max <max@suse.com>
- bsc#1178961: %ghost the symlinks to pg_config and ecpg.
- boo#1179765: 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 <max@suse.com>

View File

@ -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
@ -917,7 +921,7 @@ fi
%defattr(-,root,root)
%dir %pgbasedir
%dir %pgbindir
%_bindir/ecpg
%ghost %_bindir/ecpg
%_libdir/pkgconfig/*
%_libdir/lib*.so
%pgbindir/ecpg
@ -932,7 +936,7 @@ fi
%files server-devel -f server-devel.files
%endif
%defattr(-,root,root)
%_bindir/pg_config
%ghost %_bindir/pg_config
%pgbindir/pg_config
%pgincludedir/server
%pglibdir/pgxs