Do not provide pkgconfig(libpq) to not trick packages that actually require libpq-devel

Resolves: #1980992
This commit is contained in:
Honza Horak 2021-07-22 18:04:55 +02:00
parent 1859edfe4a
commit db0c99bbed
1 changed files with 9 additions and 3 deletions

View File

@ -63,7 +63,7 @@ Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 13
Version: %{majorversion}.3
Release: 5%{?dist}
Release: 6%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well.
@ -181,7 +181,8 @@ BuildRequires: libicu-devel
%endif
# https://bugzilla.redhat.com/1464368
%global __provides_exclude_from %{_libdir}/pgsql
# and do not provide pkgconfig RPM provides (RHBZ#1980992)
%global __provides_exclude_from %{_libdir}/(pgsql|pkgconfig)
%description
PostgreSQL is an advanced Object-Relational database management system (DBMS).
@ -1218,7 +1219,12 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Wed Jul 22 2021 Filip Januš <fjanus@redhat.com> - 13.3-5
* Thu Jul 22 2021 Honza Horak <hhorak@redhat.com> - 13.3-6
- Do not provide pkgconfig(libpq) to not trick packages that actually require
libpq-devel
Resolves: #1980992
* Thu Jul 22 2021 Filip Januš <fjanus@redhat.com> - 13.3-5
- Add explicit conflict between private-devel and libpq-devel
* Wed Jul 21 2021 Filip Januš <fjanus@redhat.com> - 13.3-4