Compare commits

..

42 commits

Author SHA1 Message Date
Packit
54bbb24079 Update to 16.11 upstream release
- Resolves: rhbz#2414832

Commit authored by Packit automation (https://packit.dev/)
2025-11-13 15:05:06 +00:00
Filip Janus
9f35c14618 Add OpenSSL support to upgrade_configure function
- Add --with-openssl parameter to upgrade_configure function
- This ensures upgrade server is compiled with OpenSSL support
- Required for SSL/TLS connections during database upgrades
- Bump release to 16.10-2
2025-09-09 19:53:52 +00:00
Packit
3eef9b7f69 Update to 16.10 upstream release
- Resolves: rhbz#2388580

Commit authored by Packit automation (https://packit.dev/)
2025-08-14 16:06:53 +00:00
František Zatloukal
3004e003d4 Rebuilt for icu 77.1 2025-08-06 09:57:02 +02:00
Fedora Release Engineering
349f48f183 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:04:17 +00:00
Nikola Davidova
27a75ba780 Make postgresql16 non default 2025-07-22 13:52:42 +02:00
Jitka Plesnikova
f33689347e Perl 5.42 rebuild 2025-07-07 16:43:50 +02:00
Filip Janus
51276f54f1 Enable zstd support 2025-06-25 06:20:56 +00:00
Filip Janus
042df027b0 Add tmpfiles.d configuration 2025-06-24 21:32:47 +00:00
Python Maint
290d36f9d8 Rebuilt for Python 3.14 2025-06-02 19:59:38 +02:00
Packit
4e5009ca14 Update to 16.9 upstream release
- Resolves: rhbz#2365100

Commit authored by Packit automation (https://packit.dev/)
2025-05-21 07:17:57 +00:00
Packit
72061a9ba2 Update to 16.9 upstream release
- Resolves: rhbz#2365100

Commit authored by Packit automation (https://packit.dev/)
2025-05-08 14:33:41 +00:00
Zbigniew Jędrzejewski-Szmek
792d356289 Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-26 22:14:20 +01:00
Packit
78d431c36a Update to 16.8 upstream release
- Resolves: rhbz#2282749

Commit authored by Packit automation (https://packit.dev/)
2025-02-26 06:48:55 +00:00
Filip Janus
4bee6b7687 add packit support for all versions of supported fedora
packit-update-sources.sh script is related to this change
2025-02-26 06:45:03 +00:00
Packit
84ff0438ce Update to 16.8 upstream release
- Resolves: rhbz#2282749

Commit authored by Packit automation (https://packit.dev/)
2025-02-26 06:31:53 +00:00
Filip Janus
8cd443c549 Add missing suffix in packit helper script 2025-02-25 22:09:00 +00:00
Filip Janus
28b8023ffd fix typo in packit helper script 2025-02-24 21:58:57 +00:00
Filip Janus
de696001ac Fix helper script 2025-02-24 21:35:01 +00:00
Filip Janus
90650b6371 add x flag for packit script 2025-02-24 10:58:36 +00:00
Filip Janus
6e4e3dd713 Packit onboarding add helper script 2025-02-24 10:26:12 +00:00
Filip Janus
1bc1753d81 update to 16.6
stick with std=c18
2025-01-29 12:31:27 +00:00
Fedora Release Engineering
705af7d6d4 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 10:38:46 +00:00
Pete Walter
84c13e436e Rebuild for ICU 76 2024-12-08 22:39:37 +00:00
Yaakov Selkowitz
e0a3c723a9 Fix tclconfig location for flatpaks
As of F41, tcl is part of the flatpak runtime, and is therefore in /usr
even when building in /app.
2024-09-26 10:55:11 -04:00
Yaakov Selkowitz
0b4a6b39f4 Fix flatpak build
tzdata is part of the runtime and therefore remains in /usr even for
flatpaks.  The initscripts (which are unused in flatpaks) are installed
into /usr regardless, just like the systemd units.
2024-09-17 01:06:15 +00:00
Filip
4055d7a0f2 Fix typos in provides 2024-09-16 21:08:41 +02:00
Filip Janus
fed07ce08a Add Obsoletes: postgresqlXX to make the upgrade path from alternative version clear 2024-08-28 10:01:12 +02:00
Lumir Balhar
b005b05197 Add new systemtap-sdt-dtrace to build deps
This is a part of approved Fedora change:
https://fedoraproject.org/wiki/Changes/Separate_dtrace_package

systemtap-sdt-devel will stop requiring systemtap-sdt-dtrace
and that would break the build of this package.
2024-07-29 13:17:16 +02:00
Fedora Release Engineering
e03e328e88 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 08:20:17 +00:00
Filip Janus
7fa64c3e44 Disable ENGINE API 2024-07-03 12:54:17 +02:00
Ales Nezbeda
4a7744bef2 Update to 16.3 and 15.7
LibXML and OpenSSL patches no longer needed.
2024-06-17 15:05:35 +02:00
Jitka Plesnikova
c23a399ca1 Perl 5.40 rebuild 2024-06-12 12:55:37 +02:00
Python Maint
ab3a6898d4 Rebuilt for Python 3.13 2024-06-07 08:34:01 +02:00
Filip Janus
e1172c877b Since /var/run/postgresql is symlink to /run/postgresql it could be removed.
Its not necessary to install /var/run/postgresql directory
because /run/postgresql is created by systemd script
Upstream rpm also deals only with /run
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/main/non-common/postgresql-16/main/postgresql-16.spec;h=93ebd0a0cfe52cf49cdf8b7bd18c3277c9df9402;hb=HEAD#l1179
Related:RHEL-25756
2024-02-26 14:52:59 +01:00
Yaakov Selkowitz
9b9a8eb409 Backport OpenSSL 3.2 fix from upstream master
https://git.postgresql.org/gitweb/?p=postgresql.git;h=b2b1f12882fb561c7d474b834044dd8ed570bfea
2024-02-19 21:52:31 -05:00
Filip Janus
9647cd2b64 Add macro virtual_conflicts_and_provides to be specfile more readable 2024-02-05 15:54:49 +01:00
Filip Janus
ceda0e6f43 Add versioned provide to the default version
Obsolete versioned is no more needed since only default stream provides
postgresql symbol
2024-02-05 15:09:07 +01:00
Pete Walter
9114cc0efe Rebuild for ICU 74 2024-01-31 20:07:45 +00:00
Yaakov Selkowitz
70ab2f6574 Fix build with GCC 14 and libxml2 2.12.0 2024-01-23 21:59:48 -05:00
Fedora Release Engineering
4c0280b8e6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:12:44 +00:00
Filip Janus
1fe2f9b4da Add symbol -any to each subpackage to ensure conflict with othere postgresql streams.
Symbol postgresql is now used only for setting the default version
of postgresql in the repository. The majorname cant be
used for such usecase due to different behavior of dnf install and dnf
builddep
More about it:
https://github.com/rpm-software-management/dnf5/issues/620
Related: 2255013
2024-01-05 11:08:44 +01:00
6 changed files with 223 additions and 62 deletions

22
.gitignore vendored
View file

@ -3,3 +3,25 @@
/postgresql-16.1.tar.bz2
/postgresql-16.1.tar.bz2.sha256
/postgresql-setup-8.9.tar.gz
/postgresql-15.7.tar.bz2
/postgresql-16.3.tar.bz2
/postgresql-15.7.tar.bz2.sha256
/postgresql-16.3.tar.bz2.sha256
/postgresql-16.6.tar.bz2
/postgresql-16.6.tar.bz2.sha256
/postgresql-16.8.tar.bz2
/postgresql-15.12.tar.bz2
/postgresql-16.8.tar.bz2.sha256
/postgresql-15.12.tar.bz2.sha256
/postgresql-16.9.tar.bz2
/postgresql-15.13.tar.bz2
/postgresql-16.9.tar.bz2.sha256
/postgresql-15.13.tar.bz2.sha256
/postgresql-16.10.tar.bz2
/postgresql-15.14.tar.bz2
/postgresql-16.10.tar.bz2.sha256
/postgresql-15.14.tar.bz2.sha256
/postgresql-16.11.tar.bz2
/postgresql-15.15.tar.bz2
/postgresql-16.11.tar.bz2.sha256
/postgresql-15.15.tar.bz2.sha256

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.12.0.post1.dev18+gc39b0e7d4.

8
packit-update-sources.sh Executable file
View file

@ -0,0 +1,8 @@
git clone --depth 1 --branch master https://github.com/postgres/postgres.git
pushd postgres
git fetch --tags
NEW_MINOR=$(git tag -l "REL_15_*" | sed -E "s/REL_15_([0-9]+)/\1/" | sort -n | tail -n 1)
popd
pushd $PACKIT_DOWNSTREAM_REPO
sed -i "s/\(%global prevversion %{prevmajorversion}\)\.[0-9]\+/\1.$NEW_MINOR/" $PACKIT_DOWNSTREAM_PACKAGE_NAME.spec
popd

19
packit.yaml Normal file
View file

@ -0,0 +1,19 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
actions:
pre-sync:
- bash -c "$PACKIT_DOWNSTREAM_REPO/packit-update-sources.sh"
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-all
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
fedora-all

View file

@ -47,8 +47,8 @@
Summary: PostgreSQL client programs
Name: %{majorname}%{majorversion}
Version: %{majorversion}.1
Release: 2%{?dist}
Version: %{majorversion}.11
Release: 1%{?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.
@ -60,7 +60,7 @@ Url: http://www.postgresql.org/
# that this be kept up with the latest minor release of the previous series;
# but update when bugs affecting pg_dump output are fixed.
%global prevmajorversion 15
%global prevversion %{prevmajorversion}.5
%global prevversion %{prevmajorversion}.15
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release
@ -107,6 +107,7 @@ Summary: PostgreSQL client programs
BuildRequires: make
BuildRequires: lz4-devel
BuildRequires: libzstd-devel
BuildRequires: gcc
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
BuildRequires: perl(ExtUtils::Embed), perl-devel
@ -163,6 +164,7 @@ BuildRequires: pam-devel
%if %sdt
BuildRequires: systemtap-sdt-devel
BuildRequires: systemtap-sdt-dtrace
%endif
%if %selinux
@ -173,16 +175,14 @@ BuildRequires: libselinux-devel
BuildRequires: libicu-devel
%endif
# Let's remove versioned provides in default version
# It should ensure that unversioned(default version) postgresql stream
# will be preferable to an versioned one.
# postgresql-16.0-1 will replace postgresql16-16.0-1
%if %?postgresql_default
%define obsoletes_postgresqlXX_if_default() %{expand:\
%define postgresqlXX_if_default() %{expand:\
Provides: postgresql%{majorversion}%{?1:-%{1}} = %precise_version\
Provides: postgresql%{majorversion}%{?1:-%{1}}%{?_isa} = %precise_version\
Obsoletes: postgresql%{majorversion}%{?1:-%{1}}\
}
%else
%define obsoletes_postgresqlXX_if_default() %{nil}
%define postgresqlXX_if_default() %{nil}
%endif
%define conflict_with_other_streams() %{expand:\
@ -190,11 +190,15 @@ Provides: %{majorname}%{?1:-%{1}}-any\
Conflicts: %{majorname}%{?1:-%{1}}-any\
}
%define virtual_conflicts_and_provides() %{expand:\
%conflict_with_other_streams %{**}\
%postgresqlXX_if_default %{**}\
}
Provides: %{pkgname} = %precise_version
Provides: %{pkgname}%{?_isa} = %precise_version
%conflict_with_other_streams
%obsoletes_postgresqlXX_if_default
%virtual_conflicts_and_provides
# https://bugzilla.redhat.com/1464368
# and do not provide pkgconfig RPM provides (RHBZ#1980992) and #2121696
@ -229,8 +233,7 @@ Requires(postun): glibc
Provides: %{pkgname}-private-libs = %precise_version
Provides: %{pkgname}-private-libs%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default private-libs
%conflict_with_other_streams private-libs
%virtual_conflicts_and_provides private-libs
%description -n %{pkgname}-private-libs
The postgresql-private-libs package provides the shared libraries for this
@ -248,8 +251,7 @@ Conflicts: libpq-devel
Provides: %{pkgname}-devel = %precise_version
Provides: %{pkgname}-devel%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default private-devel
%conflict_with_other_streams private-devel
%virtual_conflicts_and_provides private-devel
%description -n %{pkgname}-private-devel
The postgresql-private-devel package contains the header files and libraries
@ -263,7 +265,6 @@ will interact with a PostgreSQL server.
%package -n %{pkgname}-server
Summary: The programs needed to create and run a PostgreSQL server
Requires: %{pkgname}%{?_isa} = %precise_version
Requires(pre): /usr/sbin/useradd
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
Requires: systemd
# Make sure it's there when scriptlets run, too
@ -284,8 +285,7 @@ Provides: %{pkgname}-server%{?_isa} = %precise_version
# Provide symbol regardless version. This symbol is present in every single
# postgresql stream
%obsoletes_postgresqlXX_if_default server
%conflict_with_other_streams server
%virtual_conflicts_and_provides server
%description -n %{pkgname}-server
PostgreSQL is an advanced Object-Relational database management system (DBMS).
@ -300,8 +300,7 @@ Requires: %{pkgname}%{?_isa} = %precise_version
Provides: %{pkgname}-doc = %precise_version
Provides: %{pkgname}-docs = %precise_version
%obsoletes_postgresqlXX_if_default docs
%conflict_with_other_streams docs
%virtual_conflicts_and_provides docs
%description -n %{pkgname}-docs
The postgresql-docs package contains some additional documentation for
@ -315,8 +314,7 @@ Requires: %{pkgname}%{?_isa} = %precise_version
Provides: %{pkgname}-contrib = %precise_version
Provides: %{pkgname}-contrib%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default contrib
%conflict_with_other_streams contrib
%virtual_conflicts_and_provides contrib
%description -n %{pkgname}-contrib
The postgresql-contrib package contains various extension modules that are
@ -345,8 +343,7 @@ Requires: %{pkgname}-private-devel
Provides: %{pkgname}-server-devel = %precise_version
Provides: %{pkgname}-server-devel%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default server-devel
%conflict_with_other_streams server-devel
%virtual_conflicts_and_provides server-devel
%description -n %{pkgname}-server-devel
The postgresql-server-devel package contains the header files and configuration
@ -358,9 +355,6 @@ Requires: %{pkgname}-server = %precise_version
BuildArch: noarch
Provides: %{pkgname}-test-rpm-macros = %precise_version
%if %?postgresql_default
Obsoletes: postgresql%{majorversion}-test-rpm-macros
%endif
%conflict_with_other_streams test-rpm-macros
%description -n %{pkgname}-test-rpm-macros
@ -374,8 +368,7 @@ Requires: %{pkgname}-server-devel%{?_isa} = %precise_version
Provides: %{pkgname}-static = %precise_version
Provides: %{pkgname}-static%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default static
%conflict_with_other_streams static
%virtual_conflicts_and_provides static
%description -n %{pkgname}-static
Statically linked PostgreSQL libraries that do not have dynamically linked
@ -390,8 +383,7 @@ Provides: bundled(postgresql-server) = %prevversion
Provides: %{pkgname}-upgrade = %precise_version
Provides: %{pkgname}-upgrade%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default upgrade
%conflict_with_other_streams upgrade
%virtual_conflicts_and_provides upgrade
%description -n %{pkgname}-upgrade
The postgresql-upgrade package contains the pg_upgrade utility and supporting
@ -405,8 +397,7 @@ Requires: %{pkgname}-upgrade%{?_isa} = %precise_version
Provides: %{pkgname}-upgrade-devel = %precise_version
Provides: %{pkgname}-upgrade-devel%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default upgrade-devel
%conflict_with_other_streams upgrade-devel
%virtual_conflicts_and_provides upgrade-devel
%description -n %{pkgname}-upgrade-devel
The postgresql-devel package contains the header files and libraries
@ -427,8 +418,7 @@ BuildRequires: perl(Data::Dumper)
Provides: %{pkgname}-plperl = %precise_version
Provides: %{pkgname}-plperl%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default plperl
%conflict_with_other_streams plperl
%virtual_conflicts_and_provides plperl
%description -n %{pkgname}-plperl
The postgresql-plperl package contains the PL/Perl procedural language,
@ -444,8 +434,7 @@ Requires: %{pkgname}-server%{?_isa} = %precise_version
Provides: %{pkgname}-plpython3 = %precise_version
Provides: %{pkgname}-plpython3%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default python3
%conflict_with_other_streams python3
%virtual_conflicts_and_provides plpython3
%description -n %{pkgname}-plpython3
The postgresql-plpython3 package contains the PL/Python3 procedural language,
@ -461,8 +450,7 @@ Requires: %{pkgname}-server%{?_isa} = %precise_version
Provides: %{pkgname}-pltcl = %precise_version
Provides: %{pkgname}-pltcl%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default pltcl
%conflict_with_other_streams plctl
%virtual_conflicts_and_provides pltcl
%description -n %{pkgname}-pltcl
The postgresql-pltcl package contains the PL/Tcl procedural language,
@ -480,8 +468,7 @@ Requires: %{pkgname}-contrib%{?_isa} = %precise_version
Provides: %{pkgname}-test = %precise_version
Provides: %{pkgname}-test%{?_isa} = %precise_version
%obsoletes_postgresqlXX_if_default test
%conflict_with_other_streams test
%virtual_conflicts_and_provides test
%description -n %{pkgname}-test
The postgresql-test package contains files needed for various tests for the
@ -504,8 +491,7 @@ Provides: %{pkgname}-llvmjit%{?_isa} = %precise_version
BuildRequires: llvm-devel >= 5.0 clang-devel >= 5.0
%obsoletes_postgresqlXX_if_default llvmjit
%conflict_with_other_streams llvmjit
%virtual_conflicts_and_provides llvmjit
%description -n %{pkgname}-llvmjit
The postgresql-llvmjit package contains support for
@ -555,6 +541,14 @@ find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
find . -type f -name .gitignore | xargs rm
# Create a sysusers.d config file
cat >postgresql16.sysusers.conf <<EOF
u postgres 26 'PostgreSQL Server' /var/lib/pgsql /bin/bash
EOF
cat > postgresql16.tmpfiles.conf <<EOF
d /var/lib/pgsql 0700 postgres postgres -
EOF
%build
# Avoid LTO on armv7hl as it runs out of memory
@ -587,6 +581,7 @@ cd ..
# Fiddling with CFLAGS.
CFLAGS="${CFLAGS:-%optflags}"
CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE -std=c18"
# Strip out -ffast-math from CFLAGS....
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
export CFLAGS
@ -598,7 +593,7 @@ common_configure_options='
%endif
%if %pltcl
--with-tcl
--with-tclconfig=%_libdir
--with-tclconfig=/usr/%_lib
%endif
%if %ldap
--with-ldap
@ -628,10 +623,11 @@ common_configure_options='
%if %selinux
--with-selinux
%endif
--with-system-tzdata=%_datadir/zoneinfo
--with-system-tzdata=/usr/share/zoneinfo
--datadir=%_datadir/pgsql
--with-systemd
--with-lz4
--with-zstd
%if %icu
--with-icu
%endif
@ -713,12 +709,13 @@ upgrade_configure ()
# its ideas about installation paths.
# The -fno-aggressive-loop-optimizations is hack for #993532
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations -DOPENSSL_NO_ENGINE" ./configure \
--build=%{_build} \
--host=%{_host} \
--prefix=%prev_prefix \
--disable-rpath \
--with-lz4 \
--with-zstd \
%if %icu
--with-icu \
%endif
@ -751,12 +748,15 @@ upgrade_configure ()
--enable-dtrace \
%endif
%if %selinux
%if %ssl
--with-openssl \
%endif
--with-selinux \
%endif
%if %plpython3
--with-python \
%endif
--with-tclconfig=%_libdir \
--with-tclconfig=/usr/%_lib \
--with-system-tzdata=/usr/share/zoneinfo \
"$@"
}
@ -823,10 +823,6 @@ install -d $RPM_BUILD_ROOT/etc/pam.d
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
%endif
# Create the directory for sockets.
install -d -m 755 $RPM_BUILD_ROOT%{?_localstatedir}/run/postgresql
# ... and make a tmpfiles script to recreate it at reboot.
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
@ -962,10 +958,9 @@ find_lang_bins pltcl.lst pltcl
%endif
%endif
%pre -n %{pkgname}-server
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
/usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
install -m0644 -D postgresql16.sysusers.conf %{buildroot}%{_sysusersdir}/postgresql16.conf
install -m0644 -D postgresql16.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/postgresql16.conf
%post -n %{pkgname}-server
%systemd_post %service_name
@ -1208,6 +1203,7 @@ make -C postgresql-setup-%{setup_version} check
%{_datadir}/pgsql/system_constraints.sql
%{_datadir}/pgsql/system_functions.sql
%{_datadir}/pgsql/system_views.sql
%{_datadir}/pgsql/fix-CVE-2024-4317.sql
%{_datadir}/pgsql/timezonesets/
%{_datadir}/pgsql/tsearch_data/
%dir %{_datadir}/postgresql-setup
@ -1220,8 +1216,8 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/pg_prewarm.so
%{_libdir}/pgsql/pgoutput.so
%{_libdir}/pgsql/plpgsql.so
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
%dir %{_usr}/libexec/initscripts/legacy-actions/postgresql
%{_usr}/libexec/initscripts/legacy-actions/postgresql/*
%{_libexecdir}/postgresql-check-db-dir
%dir %{_sysconfdir}/postgresql-setup
%dir %{_sysconfdir}/postgresql-setup/upgrade
@ -1246,10 +1242,12 @@ make -C postgresql-setup-%{setup_version} check
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
%ghost %attr(755,postgres,postgres) %dir %{_rundir}/postgresql
%if %pam
%config(noreplace) /etc/pam.d/postgresql
%endif
%{_sysusersdir}/postgresql16.conf
%{_tmpfilesdir}/postgresql16.conf
%files -n %{pkgname}-server-devel -f devel.lst
@ -1347,6 +1345,117 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Thu Nov 13 2025 Packit <hello@packit.dev> - 16.11-1
- Update to version 16.11
- Resolves: rhbz#2414832
* Tue Sep 09 2025 Filip Janus <fjanus@redhat.com> - 16.10-2
- Add OpenSSL support to upgrade_configure function
- This ensures upgrade server is compiled with OpenSSL support
- Required for SSL/TLS connections during database upgrades
* Thu Aug 14 2025 Packit <hello@packit.dev> - 16.10-1
- Update to version 16.10
- Resolves: rhbz#2388580
* Wed Aug 06 2025 František Zatloukal <fzatlouk@redhat.com> - 16.9-8
- Rebuilt for icu 77.1
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jul 22 2025 Nikola Davidova <ndavidov@redhat.com> - 16.9-6
- Make Postgresql16 non default
* Mon Jul 07 2025 Jitka Plesnikova <jplesnik@redhat.com> - 16.9-5
- Perl 5.42 rebuild
* Wed Jun 25 2025 Filip Janus <fjanus@redhat.com> - 16.9-4
- Enable zstd
* Mon Jun 16 2025 Filip Janus <fjanus@redhat.com> - 16.9-3
- Add tmpfiles.d configuration file definition
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 16.9-2
- Rebuilt for Python 3.14
* Wed May 21 2025 Packit <hello@packit.dev> - 16.9-1
- Update to version 16.9
- Resolves: rhbz#2365100
* Wed Feb 26 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 16.8-2
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Wed Feb 26 2025 Packit <hello@packit.dev> - 16.8-1
- Update to version 16.8
- Resolves: rhbz#2282749
* Wed Feb 26 2025 Packit <hello@packit.dev> - 16.8-1
- Update to version 16.8
- Resolves: rhbz#2282749
* Wed Jan 29 2025 Filip Janus <fjanus@redhat.com> - 16.6-1
- Update to 16.6
- stick with std=C18
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sun Dec 08 2024 Pete Walter <pwalter@fedoraproject.org> - 16.3-7
- Rebuild for ICU 76
* Mon Sep 16 2024 Filip Janus <fjanus@redhat.com> - 16.3-6
- Fix typos in provides
* Mon Aug 05 2024 Filip Janus <fjanus@redhat.com> - 16.3-5
- Add Obsoletes of versioned alternative stream from F39
- It makes the upgrade path clear
* Mon Jul 29 2024 Lumír Balhar <lbalhar@redhat.com> - 16.3-4
- Add new systemtap-sdt-dtrace to build deps
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jul 3 2024 Filip Janus <fjanus@redhat.com> - 16.3-2
- Disable openssl ENGINE_API
- Fedora change: https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
- BZ: 2295339
* Mon Jun 17 2024 Ales Nezbeda <anezbeda@redhat.com> - 16.3-1
- Update to 16.3
- Remove unneeded libXML and OpenSSL patches
* Wed Jun 12 2024 Jitka Plesnikova <jplesnik@redhat.com> - 16.1-9
- Perl 5.40 rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 16.1-8
- Rebuilt for Python 3.13
* Mon Feb 26 2024 Filip Janus <fjanus@redhat.com> - 16.1-7
- Remove /var/run/postgresql
* Tue Feb 20 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 16.1-6
- Backport OpenSSL 3.2 fix from upstream master
* Mon Feb 5 2024 Filip Janus <fjanus@redhat.com> - 16.1-5
- Add versioned provide to the default version
- Obsolete versioned is no more needed since only default stream provides
postgresql symbol
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 16.1-4
- Rebuild for ICU 74
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 5 2024 Filip Janus <fjanus@redhat.com> - 16.1-2
- Add symbol any to ensure conflict with othere postgresql streams
- sympol postgresql is now used only for setting the default version
of postgresql in the repository
- It was done due to dnf feature. more about it:
https://github.com/rpm-software-management/dnf5/issues/620
* Mon Nov 27 2023 Filip Janus <fjanus@redhat.com> - 16.1-1
- Update to 16.1
- Initial import of demodularized version

8
sources Executable file → Normal file
View file

@ -1,5 +1,5 @@
SHA512 (postgresql-15.5.tar.bz2) = 9ed9d160b3cef99954ccd47a970c107b7e3b0196a7d848f740bf3c52a1c626f6f457814c97f37b9f0467bb07734e19806a15bd9cf3c39445e1d89e75b37064cc
SHA512 (postgresql-15.5.tar.bz2.sha256) = 896ad3a1952f54bc5186d49eb4faec40843813d3e1c200f7b27f0e099b426ef9b59e0c15cb5453ac166e8a566b24178b95836776207de0bf19f5e021fdccfbca
SHA512 (postgresql-16.1.tar.bz2) = 69f4635e5841452599f13b47df41ce2425ab34b4e4582fd2c635bc78d561fa36c5b03eccb4ae6569872dc74775be1b5a62dee20c9a4f12a43339250128352918
SHA512 (postgresql-16.1.tar.bz2.sha256) = 3f573d81a7af02dea2a3eee180d4e465546fc4d283dde5b6627d25af0be4a546ffd3ae914dd3490e45264d1a43cf143e829e14e5cd9c6bd8f179b6eae4fd6ff1
SHA512 (postgresql-16.11.tar.bz2) = f11f8f3e5855cfce27108a1bd2122c5a7a1ff37c6d9366d7a96a041aab67a4e4a31e54f0757b6b97c72d841acdcaa97d3eaa765213d4899b2cf7047c549012b8
SHA512 (postgresql-15.15.tar.bz2) = efd5dcdb6e45bc13cd4b1b73f4de19fc3ae2bac96e85086cacd649bfbf50969429c40193e86717380759c6995204c18e14ac5352565d5ae85df61c0a127a1562
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
SHA512 (postgresql-16.11.tar.bz2.sha256) = 3c07dc85608f8cee5071bd7d404feff1c767afb468a8f41225b73d5df05334dca9a3465e16307a3b5b21c1a44684deab0c496fbd03b9d061e4a9559684876671
SHA512 (postgresql-15.15.tar.bz2.sha256) = dcabc9fceaa557dac1d6d5b014d21ec6edfb7409103651820126351b5534c1605255f36bb18d654cd537f5128e705d2847f2bd52e38c6dd442a21c0722f39b76