Compare commits

..

2 commits

Author SHA1 Message Date
Honza Horak
7bffd7e336 Update sources file to be able to build from scm directly 2024-02-15 11:20:52 +01:00
Honza Horak
e471e88693 Test v17devel 2024-02-15 11:11:03 +01:00
10 changed files with 152 additions and 218 deletions

24
.gitignore vendored
View file

@ -3,25 +3,5 @@
/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
/postgresql-17devel.tar.bz2
/postgresql-17devel.tar.bz2.sha256

View file

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

View file

@ -1,8 +0,0 @@
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

View file

@ -1,19 +0,0 @@
# 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

37
postgresql-libxml2.patch Normal file
View file

@ -0,0 +1,37 @@
Fixes for GCC 14 and libxml2 2.12.0 "error: Make more xmlError structs constant"
xml.c: In function pg_xml_init:
xml.c:1177:52: error: passing argument 2 of xmlSetStructuredErrorFunc from incompatible pointer type [-Wincompatible-pointer-types]
1177 | xmlSetStructuredErrorFunc((void *) errcxt, xml_errorHandler);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /usr/include/libxml2/libxml/valid.h:15,
from /usr/include/libxml2/libxml/parser.h:19,
from xml.c:50:
/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected xmlStructuredErrorFunc {aka void (*)(void *, const struct _xmlError *)} but argument is of type void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
898 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
diff --git a/src/backend/utils/adt/xml.c b/src/backend/utils/adt/xml.c
index d3db75eb87..619f908c6d 100644
--- a/src/backend/utils/adt/xml.c
+++ b/src/backend/utils/adt/xml.c
@@ -124,7 +124,7 @@ static xmlParserInputPtr xmlPgEntityLoader(const char *URL, const char *ID,
xmlParserCtxtPtr ctxt);
static void xml_errsave(Node *escontext, PgXmlErrorContext *errcxt,
int sqlcode, const char *msg);
-static void xml_errorHandler(void *data, xmlErrorPtr error);
+static void xml_errorHandler(void *data, const xmlError *error);
static int errdetail_for_xml_code(int code);
static void chopStringInfoNewlines(StringInfo str);
static void appendStringInfoLineSeparator(StringInfo str);
@@ -2044,7 +2044,7 @@ xml_errsave(Node *escontext, PgXmlErrorContext *errcxt,
* Error handler for libxml errors and warnings
*/
static void
-xml_errorHandler(void *data, xmlErrorPtr error)
+xml_errorHandler(void *data, const xmlError *error)
{
PgXmlErrorContext *xmlerrcxt = (PgXmlErrorContext *) data;
xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) error->ctxt;

View file

@ -1,7 +1,7 @@
diff -up postgresql-15.0_original/src/backend/utils/misc/postgresql.conf.sample postgresql-15.0/src/backend/utils/misc/postgresql.conf.sample
--- postgresql-15.0_original/src/backend/utils/misc/postgresql.conf.sample 2022-09-27 16:57:00.652909198 +0200
+++ postgresql-15.0/src/backend/utils/misc/postgresql.conf.sample 2022-09-27 17:01:56.073606108 +0200
@@ -449,7 +449,7 @@
diff -up postgresql-17devel/src/backend/utils/misc/postgresql.conf.samplepatch2 postgresql-17devel/src/backend/utils/misc/postgresql.conf.sample
--- postgresql-17devel/src/backend/utils/misc/postgresql.conf.samplepatch2 2024-01-22 01:20:02.000000000 +0100
+++ postgresql-17devel/src/backend/utils/misc/postgresql.conf.sample 2024-02-02 09:00:38.532730471 +0100
@@ -460,7 +460,7 @@
# logging_collector to be on.
# This is used when logging to stderr:
@ -10,13 +10,13 @@ diff -up postgresql-15.0_original/src/backend/utils/misc/postgresql.conf.sample
# and csvlog into log files. Required
# to be on for csvlogs and jsonlogs.
# (change requires restart)
@@ -457,16 +457,16 @@
@@ -468,16 +468,16 @@
# These are only used if logging_collector is on:
#log_directory = 'log' # directory where log files are written,
# can be absolute or relative to PGDATA
-#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
+log_filename = 'postgresql-%a.log' # log file name pattern,
# can include strftime() escapes
# can include strftime() escapes
#log_file_mode = 0600 # creation mode for log files,
# begin with 0 to use octal notation
-#log_rotation_age = 1d # Automatic rotation of logfiles will

View file

@ -6,50 +6,50 @@ rhbz#1618698 change, rather provide pg_server_config binary, which int urn means
that we'll have to fix only a minimal set of packages which really build
PostgreSQL server modules.
diff -ur postgresql-16beta1/src/bin/pg_config/Makefile postgresql16_pg_config_patch/src/bin/pg_config/Makefile
--- postgresql-16beta1/src/bin/pg_config/Makefile 2023-05-22 23:08:08.000000000 +0200
+++ postgresql16_pg_config_patch/src/bin/pg_config/Makefile 2023-06-05 13:51:30.000000000 +0200
diff -up postgresql-17devel/src/bin/pg_config/Makefile.patch9 postgresql-17devel/src/bin/pg_config/Makefile
--- postgresql-17devel/src/bin/pg_config/Makefile.patch9 2024-01-04 05:20:21.000000000 +0100
+++ postgresql-17devel/src/bin/pg_config/Makefile 2024-02-02 09:03:49.186063096 +0100
@@ -11,6 +11,8 @@
PGFILEDESC = "pg_config - report configuration information"
PGAPPICON=win32
+PG_CONFIG = pg_server_config$(X)
+
subdir = src/bin/pg_config
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
@@ -19,22 +21,22 @@
@@ -19,22 +21,22 @@ OBJS = \
$(WIN32RES) \
pg_config.o
-all: pg_config
+all: $(PG_CONFIG)
-pg_config: $(OBJS) | submake-libpgport
- $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
+$(PG_CONFIG): $(OBJS) | submake-libpgport
+ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
install: all installdirs
- $(INSTALL_SCRIPT) pg_config$(X) '$(DESTDIR)$(bindir)/pg_config$(X)'
+ $(INSTALL_SCRIPT) $(PG_CONFIG) '$(DESTDIR)$(bindir)/$(PG_CONFIG)'
installdirs:
$(MKDIR_P) '$(DESTDIR)$(bindir)'
uninstall:
- rm -f '$(DESTDIR)$(bindir)/pg_config$(X)'
+ rm -f '$(DESTDIR)$(bindir)/$(PG_CONFIG)'
clean distclean maintainer-clean:
clean distclean:
- rm -f pg_config$(X) $(OBJS)
+ rm -f $(PG_CONFIG) $(OBJS)
rm -rf tmp_check
check:
diff -ur postgresql-16beta1/src/bin/pg_config/nls.mk postgresql16_pg_config_patch/src/bin/pg_config/nls.mk
--- postgresql-16beta1/src/bin/pg_config/nls.mk 2023-05-22 23:08:08.000000000 +0200
+++ postgresql16_pg_config_patch/src/bin/pg_config/nls.mk 2023-06-05 13:49:37.000000000 +0200
diff -up postgresql-17devel/src/bin/pg_config/nls.mk.patch9 postgresql-17devel/src/bin/pg_config/nls.mk
--- postgresql-17devel/src/bin/pg_config/nls.mk.patch9 2022-07-13 10:20:02.000000000 +0200
+++ postgresql-17devel/src/bin/pg_config/nls.mk 2024-02-02 09:01:57.260868411 +0100
@@ -1,3 +1,3 @@
# src/bin/pg_config/nls.mk
-CATALOG_NAME = pg_config

View file

@ -0,0 +1,37 @@
Fixes for GCC 14 and libxml2 2.12.0 "error: Make more xmlError structs constant"
xml.c: In function pg_xml_init:
xml.c:1177:52: error: passing argument 2 of xmlSetStructuredErrorFunc from incompatible pointer type [-Wincompatible-pointer-types]
1177 | xmlSetStructuredErrorFunc((void *) errcxt, xml_errorHandler);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /usr/include/libxml2/libxml/valid.h:15,
from /usr/include/libxml2/libxml/parser.h:19,
from xml.c:50:
/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected xmlStructuredErrorFunc {aka void (*)(void *, const struct _xmlError *)} but argument is of type void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
898 | xmlStructuredErrorFunc handler);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
diff --git a/src/backend/utils/adt/xml.c b/src/backend/utils/adt/xml.c
index 6411f56b99..0eb39fcfc2 100644
--- a/src/backend/utils/adt/xml.c
+++ b/src/backend/utils/adt/xml.c
@@ -119,7 +119,7 @@ struct PgXmlErrorContext
static xmlParserInputPtr xmlPgEntityLoader(const char *URL, const char *ID,
xmlParserCtxtPtr ctxt);
-static void xml_errorHandler(void *data, xmlErrorPtr error);
+static void xml_errorHandler(void *data, const xmlError *error);
static void xml_ereport_by_code(int level, int sqlcode,
const char *msg, int errcode);
static void chopStringInfoNewlines(StringInfo str);
@@ -1749,7 +1749,7 @@ xml_ereport(PgXmlErrorContext *errcxt, int level, int sqlcode, const char *msg)
* Error handler for libxml errors and warnings
*/
static void
-xml_errorHandler(void *data, xmlErrorPtr error)
+xml_errorHandler(void *data, const xmlError *error)
{
PgXmlErrorContext *xmlerrcxt = (PgXmlErrorContext *) data;
xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) error->ctxt;

View file

@ -22,17 +22,17 @@
%{!?icu:%global icu 1}
%{!?kerberos:%global kerberos 1}
%{!?ldap:%global ldap 1}
%{!?nls:%global nls 1}
%{!?nls:%global nls 0}
%{!?uuid:%global uuid 1}
%{!?xml:%global xml 1}
%{!?pam:%global pam 1}
%{!?sdt:%global sdt 1}
%{!?selinux:%global selinux 1}
%{!?runselftest:%global runselftest 1}
%{!?postgresql_default:%global postgresql_default 0}
%{!?postgresql_default:%global postgresql_default 1}
%global majorname postgresql
%global majorversion 16
%global majorversion 17devel
# By default, patch(1) creates backup files when chunks apply with offsets.
# Turn that off to ensure such files don't get included in RPMs.
@ -47,8 +47,8 @@
Summary: PostgreSQL client programs
Name: %{majorname}%{majorversion}
Version: %{majorversion}.11
Release: 1%{?dist}
Version: %{majorversion}
Release: 4.alternative%{?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}.15
%global prevversion %{prevmajorversion}.5
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release
@ -95,6 +95,8 @@ Patch9: postgresql-server-pg_config.patch
# rhbz#1940964
Patch10: postgresql-datalayout-mismatch-on-s390.patch
Patch12: postgresql-no-libecpg.patch
#Patch13: postgresql-libxml2.patch
Patch14: postgresql15-libxml2.patch
# This macro is used for package names in the files section
%if %?postgresql_default
@ -107,11 +109,11 @@ 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
BuildRequires: perl(Opcode)
BuildRequires: perl(FindBin)
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: perl-generators
%endif
@ -164,7 +166,6 @@ BuildRequires: pam-devel
%if %sdt
BuildRequires: systemtap-sdt-devel
BuildRequires: systemtap-sdt-dtrace
%endif
%if %selinux
@ -179,7 +180,6 @@ BuildRequires: libicu-devel
%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 postgresqlXX_if_default() %{nil}
@ -265,6 +265,7 @@ 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
@ -434,7 +435,7 @@ Requires: %{pkgname}-server%{?_isa} = %precise_version
Provides: %{pkgname}-plpython3 = %precise_version
Provides: %{pkgname}-plpython3%{?_isa} = %precise_version
%virtual_conflicts_and_provides plpython3
%virtual_conflicts_and_provides python3
%description -n %{pkgname}-plpython3
The postgresql-plpython3 package contains the PL/Python3 procedural language,
@ -450,7 +451,7 @@ Requires: %{pkgname}-server%{?_isa} = %precise_version
Provides: %{pkgname}-pltcl = %precise_version
Provides: %{pkgname}-pltcl%{?_isa} = %precise_version
%virtual_conflicts_and_provides pltcl
%virtual_conflicts_and_provides plctl
%description -n %{pkgname}-pltcl
The postgresql-pltcl package contains the PL/Tcl procedural language,
@ -535,20 +536,14 @@ tar xfj %{SOURCE3}
find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= %{private_soname}-\1/" {} \;
%endif
%patch 14 -p1 -d postgresql-%{prevversion}
# apply once SOURCE3 is extracted
%endif
# 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
@ -581,7 +576,6 @@ 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
@ -593,7 +587,7 @@ common_configure_options='
%endif
%if %pltcl
--with-tcl
--with-tclconfig=/usr/%_lib
--with-tclconfig=%_libdir
%endif
%if %ldap
--with-ldap
@ -623,11 +617,10 @@ common_configure_options='
%if %selinux
--with-selinux
%endif
--with-system-tzdata=/usr/share/zoneinfo
--with-system-tzdata=%_datadir/zoneinfo
--datadir=%_datadir/pgsql
--with-systemd
--with-lz4
--with-zstd
%if %icu
--with-icu
%endif
@ -709,13 +702,12 @@ upgrade_configure ()
# its ideas about installation paths.
# The -fno-aggressive-loop-optimizations is hack for #993532
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations -DOPENSSL_NO_ENGINE" ./configure \
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
--build=%{_build} \
--host=%{_host} \
--prefix=%prev_prefix \
--disable-rpath \
--with-lz4 \
--with-zstd \
%if %icu
--with-icu \
%endif
@ -748,15 +740,12 @@ upgrade_configure ()
--enable-dtrace \
%endif
%if %selinux
%if %ssl
--with-openssl \
%endif
--with-selinux \
%endif
%if %plpython3
--with-python \
%endif
--with-tclconfig=/usr/%_lib \
--with-tclconfig=%_libdir \
--with-system-tzdata=/usr/share/zoneinfo \
"$@"
}
@ -823,6 +812,10 @@ 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
@ -958,9 +951,10 @@ find_lang_bins pltcl.lst pltcl
%endif
%endif
install -m0644 -D postgresql16.sysusers.conf %{buildroot}%{_sysusersdir}/postgresql16.conf
install -m0644 -D postgresql16.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/postgresql16.conf
%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 || :
%post -n %{pkgname}-server
%systemd_post %service_name
@ -980,7 +974,8 @@ make -C postgresql-setup-%{setup_version} check
%endif
# FILES sections.
%files -f main.lst -n %{pkgname}
#%%files -f main.lst -n %{pkgname}
%files -n %{pkgname}
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
%doc COPYRIGHT README HISTORY
%doc README.rpm-dist
@ -1029,7 +1024,8 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/tutorial/
%files -n %{pkgname}-contrib -f contrib.lst
%files -n %{pkgname}-contrib
#-f contrib.lst
%doc contrib/spi/*.example
%{_bindir}/oid2name
%{_bindir}/pg_amcheck
@ -1037,6 +1033,8 @@ make -C postgresql-setup-%{setup_version} check
%{_bindir}/pg_test_fsync
%{_bindir}/pg_test_timing
%{_bindir}/pg_waldump
%{_bindir}/pg_combinebackup
%{_bindir}/pg_walsummary
%{_bindir}/pgbench
%{_bindir}/vacuumlo
%{_datadir}/pgsql/extension/adminpack*
@ -1067,7 +1065,7 @@ make -C postgresql-setup-%{setup_version} check
%{_datadir}/pgsql/extension/lo*
%{_datadir}/pgsql/extension/ltree*
%{_datadir}/pgsql/extension/moddatetime*
%{_datadir}/pgsql/extension/old_snapshot*
#%%{_datadir}/pgsql/extension/old_snapshot*
%{_datadir}/pgsql/extension/pageinspect*
%{_datadir}/pgsql/extension/pg_buffercache*
%{_datadir}/pgsql/extension/pg_freespacemap*
@ -1126,7 +1124,7 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/ltree_plpython3.so
%endif
%{_libdir}/pgsql/moddatetime.so
%{_libdir}/pgsql/old_snapshot.so
#%%{_libdir}/pgsql/old_snapshot.so
%{_libdir}/pgsql/pageinspect.so
%{_libdir}/pgsql/passwordcheck.so
%{_libdir}/pgsql/pg_buffercache.so
@ -1159,6 +1157,8 @@ make -C postgresql-setup-%{setup_version} check
%{_mandir}/man1/pg_waldump.*
%{_mandir}/man1/pgbench.*
%{_mandir}/man1/vacuumlo.*
%{_mandir}/man1/pg_combinebackup.1.gz
%{_mandir}/man1/pg_walsummary.1.gz
%{_mandir}/man3/dblink*
%if %selinux
%{_datadir}/pgsql/contrib/sepgsql.sql
@ -1177,7 +1177,8 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/pgxml.so
%endif
%files -n %{pkgname}-server -f server.lst
%files -n %{pkgname}-server
#-f server.lst
%{_bindir}/initdb
%{_bindir}/pg_basebackup
%{_bindir}/pg_controldata
@ -1203,7 +1204,6 @@ 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
@ -1216,8 +1216,8 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/pg_prewarm.so
%{_libdir}/pgsql/pgoutput.so
%{_libdir}/pgsql/plpgsql.so
%dir %{_usr}/libexec/initscripts/legacy-actions/postgresql
%{_usr}/libexec/initscripts/legacy-actions/postgresql/*
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
%{_libexecdir}/postgresql-check-db-dir
%dir %{_sysconfdir}/postgresql-setup
%dir %{_sysconfdir}/postgresql-setup/upgrade
@ -1242,15 +1242,14 @@ 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
%ghost %attr(755,postgres,postgres) %dir %{_rundir}/postgresql
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
%if %pam
%config(noreplace) /etc/pam.d/postgresql
%endif
%{_sysusersdir}/postgresql16.conf
%{_tmpfilesdir}/postgresql16.conf
%files -n %{pkgname}-server-devel -f devel.lst
%files -n %{pkgname}-server-devel
#-f devel.lst
%{_bindir}/pg_server_config
%dir %{_datadir}/pgsql
%{_datadir}/pgsql/errcodes.txt
@ -1270,6 +1269,7 @@ make -C postgresql-setup-%{setup_version} check
%{_includedir}/postgres_ext.h
%{_includedir}/pgsql/internal/*.h
%{_includedir}/pgsql/internal/libpq/pqcomm.h
%{_includedir}/pgsql/internal/libpq/protocol.h
%{_includedir}/libpq/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libpq.so
@ -1316,7 +1316,8 @@ make -C postgresql-setup-%{setup_version} check
%endif
%if %plperl
%files -n %{pkgname}-plperl -f plperl.lst
%files -n %{pkgname}-plperl
#-f plperl.lst
%{_datadir}/pgsql/extension/bool_plperl*
%{_datadir}/pgsql/extension/plperl*
%{_libdir}/pgsql/bool_plperl.so
@ -1325,14 +1326,16 @@ make -C postgresql-setup-%{setup_version} check
%if %pltcl
%files -n %{pkgname}-pltcl -f pltcl.lst
%files -n %{pkgname}-pltcl
#-f pltcl.lst
%{_datadir}/pgsql/extension/pltcl*
%{_libdir}/pgsql/pltcl.so
%endif
%if %plpython3
%files -n %{pkgname}-plpython3 -f plpython3.lst
%files -n %{pkgname}-plpython3
#-f plpython3.lst
%{_datadir}/pgsql/extension/plpython3*
%{_libdir}/pgsql/plpython3.so
%endif
@ -1345,99 +1348,6 @@ 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

8
sources Normal file → Executable file
View file

@ -1,5 +1,5 @@
SHA512 (postgresql-16.11.tar.bz2) = f11f8f3e5855cfce27108a1bd2122c5a7a1ff37c6d9366d7a96a041aab67a4e4a31e54f0757b6b97c72d841acdcaa97d3eaa765213d4899b2cf7047c549012b8
SHA512 (postgresql-15.15.tar.bz2) = efd5dcdb6e45bc13cd4b1b73f4de19fc3ae2bac96e85086cacd649bfbf50969429c40193e86717380759c6995204c18e14ac5352565d5ae85df61c0a127a1562
SHA512 (postgresql-15.5.tar.bz2) = 9ed9d160b3cef99954ccd47a970c107b7e3b0196a7d848f740bf3c52a1c626f6f457814c97f37b9f0467bb07734e19806a15bd9cf3c39445e1d89e75b37064cc
SHA512 (postgresql-15.5.tar.bz2.sha256) = 896ad3a1952f54bc5186d49eb4faec40843813d3e1c200f7b27f0e099b426ef9b59e0c15cb5453ac166e8a566b24178b95836776207de0bf19f5e021fdccfbca
SHA512 (postgresql-17devel.tar.bz2) = c33b82561f55b74c37c921a668f5b548555d5abc5caf67a365541aa0e31572e1bcfa0ccdaceb8807a84ccefb547e846092ac0e94bc49af2bcfbe2b7a88b02c57
SHA512 (postgresql-17devel.tar.bz2.sha256) = 7f875a02e2673a9e3e86fd6bf61707144484eaad2d9f1d6e141091af67113f99214d19db1e347676e17501a0bb254b9ddd315e4cd5e3ea697e59c1e0905733cc
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
SHA512 (postgresql-16.11.tar.bz2.sha256) = 3c07dc85608f8cee5071bd7d404feff1c767afb468a8f41225b73d5df05334dca9a3465e16307a3b5b21c1a44684deab0c496fbd03b9d061e4a9559684876671
SHA512 (postgresql-15.15.tar.bz2.sha256) = dcabc9fceaa557dac1d6d5b014d21ec6edfb7409103651820126351b5534c1605255f36bb18d654cd537f5128e705d2847f2bd52e38c6dd442a21c0722f39b76