Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Filip Janus
8ea668bfe2 Fix https://bugzilla.redhat.com/show_bug.cgi?id=2255013
Remove postgresql provides, only postgresqlXX persists
It should avoid possibility to install or builddep postgresql16 using
postgresql symol. Now only the default version provides postgresql symbol.
2024-01-23 14:23:58 +01:00
Filip Janus
611185e8cd Import alternative version of postgresql(16) for F39 2023-12-04 11:27:39 +01:00

View file

@ -29,7 +29,7 @@
%{!?sdt:%global sdt 1}
%{!?selinux:%global selinux 1}
%{!?runselftest:%global runselftest 1}
%{!?postgresql_default:%global postgresql_default 1}
%{!?postgresql_default:%global postgresql_default 0}
%global majorname postgresql
%global majorversion 16
@ -48,7 +48,7 @@
Summary: PostgreSQL client programs
Name: %{majorname}%{majorversion}
Version: %{majorversion}.1
Release: 1%{?dist}
Release: 2%{?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.
@ -182,10 +182,7 @@ BuildRequires: libicu-devel
Obsoletes: postgresql%{majorversion}%{?1:-%{1}}\
}
%else
%define obsoletes_postgresqlXX_if_default() %{expand:\
Provides: %{majorname}%{?1:-%{1}} = %precise_version\
Provides: %{majorname}%{?1:-%{1}}%{?_isa} = %precise_version\
}
%define obsoletes_postgresqlXX_if_default() %{nil}
%endif
@ -1349,6 +1346,10 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Tue Jan 23 2024 Filip Janus <fjanus@redhat.com> - 16.1-2
- Fix https://bugzilla.redhat.com/show_bug.cgi?id=2255013
- Remove postgresql provides, only postgresqlXX persists
* Mon Nov 27 2023 Filip Janus <fjanus@redhat.com> - 16.1-1
- Update to 16.1
- Initial import of demodularized version