Compare commits

..

5 commits

Author SHA1 Message Date
Packit
d1471ef51c Update to 17.6 upstream release
- Resolves: rhbz#2388579

Commit authored by Packit automation (https://packit.dev/)
2025-08-14 16:06:39 +00:00
Packit
624c332334 Update to 17.5 upstream release
- Resolves: rhbz#2365101

Commit authored by Packit automation (https://packit.dev/)
2025-05-21 07:34:15 +00:00
Packit
6eee395fb3 Update to 17.5 upstream release
- Resolves: rhbz#2365101

Commit authored by Packit automation (https://packit.dev/)
2025-05-08 14:43:08 +00:00
Packit
fad1c957d6 Update to 17.4 upstream release
- Resolves: rhbz#2326274

Commit authored by Packit automation (https://packit.dev/)
2025-04-03 07:40:01 +00:00
Filip Janus
c3993777eb enable packit 2025-04-03 07:32:36 +00:00
2 changed files with 5 additions and 53 deletions

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

View file

@ -106,7 +106,6 @@ Summary: PostgreSQL client programs
%endif
BuildRequires: make
BuildRequires: libzstd-devel
BuildRequires: lz4-devel
BuildRequires: gcc
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
@ -266,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
@ -542,14 +542,6 @@ 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 >postgresql17.sysusers.conf <<EOF
u postgres 26 'PostgreSQL Server' /var/lib/pgsql /bin/bash
EOF
cat > postgresql17.tmpfiles.conf <<EOF
d /var/lib/pgsql 0700 postgres postgres -
EOF
%build
# Avoid LTO on armv7hl as it runs out of memory
@ -628,7 +620,6 @@ common_configure_options='
--datadir=%_datadir/pgsql
--with-systemd
--with-lz4
--with-zstd
%if %icu
--with-icu
%endif
@ -716,7 +707,6 @@ upgrade_configure ()
--prefix=%prev_prefix \
--disable-rpath \
--with-lz4 \
--with-zstd \
%if %icu
--with-icu \
%endif
@ -957,8 +947,10 @@ find_lang_bins pltcl.lst pltcl
%endif
%endif
install -m0644 -D postgresql17.sysusers.conf %{buildroot}%{_sysusersdir}/postgresql17.conf
install -m0644 -D postgresql17.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/postgresql17.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
@ -1243,7 +1235,6 @@ make -C postgresql-setup-%{setup_version} check
%{_sbindir}/postgresql-new-systemd-unit
%{_tmpfilesdir}/postgresql.conf
%{_tmpfilesdir}/postgresql17.conf
%{_unitdir}/*postgresql*.service
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
@ -1253,7 +1244,6 @@ make -C postgresql-setup-%{setup_version} check
%if %pam
%config(noreplace) /etc/pam.d/postgresql
%endif
%{_sysusersdir}/postgresql17.conf
%files -n %{pkgname}-server-devel -f devel.lst
@ -1358,22 +1348,6 @@ make -C postgresql-setup-%{setup_version} check
- Update to version 17.6
- Resolves: rhbz#2388579
* Wed Aug 06 2025 František Zatloukal <fzatlouk@redhat.com> - 17.5-6
- Rebuilt for icu 77.1
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 17.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jul 15 2025 Filip Janus <fjanus@redhat.com> - 17.5-4
- Enable zstd support
- Enable tmpfiles.d configuration
* Mon Jul 07 2025 Jitka Plesnikova <jplesnik@redhat.com> - 17.5-3
- Perl 5.42 rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 17.5-2
- Rebuilt for Python 3.14
* Wed May 21 2025 Packit <hello@packit.dev> - 17.5-1
- Update to version 17.5
- Resolves: rhbz#2365101
@ -1382,9 +1356,6 @@ make -C postgresql-setup-%{setup_version} check
- Update to version 17.4
- Resolves: rhbz#2326274
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 17.2-2
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Wed Jan 29 2025 Filip Janus <fjanus@redhat.com> - 17.2-1
- Update to 17.2
- stick with std=c18