diff --git a/postgresql16.spec b/postgresql16.spec index 5ff1a16..dc209e1 100644 --- a/postgresql16.spec +++ b/postgresql16.spec @@ -48,7 +48,7 @@ Summary: PostgreSQL client programs Name: %{majorname}%{majorversion} Version: %{majorversion}.8 -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. @@ -542,6 +542,9 @@ 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 +cat > postgresql16.tmpfiles.conf </dev/null 2>&1 || : /usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \ @@ -1237,6 +1242,7 @@ make -C postgresql-setup-%{setup_version} check %if %pam %config(noreplace) /etc/pam.d/postgresql %endif +%{_tmpfilesdir}/postgresql16.conf %files -n %{pkgname}-server-devel -f devel.lst @@ -1334,6 +1340,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Tue Jul 22 2025 Filip Janus - 16.8-2 +- Add tmpfiles.d configuration + * Wed Feb 19 2025 Filip Janus - 16.8-1 - Update to 16.8 - Fix CVE-2025-1094