Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39b0e21a63 | ||
|
|
3dacbede98 | ||
|
|
1314ff66c1 | ||
|
|
ce3e6b201c | ||
|
|
f7cab0b0bf | ||
|
|
a4dbbdd8d2 | ||
|
|
06b93b8b1f | ||
|
|
48e93b166e |
3 changed files with 15 additions and 93 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -7,8 +7,6 @@
|
|||
/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
|
||||
|
|
|
|||
19
packit.yaml
19
packit.yaml
|
|
@ -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
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
%{!?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
|
||||
|
|
@ -107,7 +107,6 @@ 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
|
||||
|
|
@ -265,6 +264,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
|
||||
|
|
@ -450,7 +450,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,
|
||||
|
|
@ -541,14 +541,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 >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 +573,7 @@ cd ..
|
|||
# Fiddling with CFLAGS.
|
||||
|
||||
CFLAGS="${CFLAGS:-%optflags}"
|
||||
CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE -std=c18"
|
||||
CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE"
|
||||
# Strip out -ffast-math from CFLAGS....
|
||||
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
||||
export CFLAGS
|
||||
|
|
@ -593,7 +585,7 @@ common_configure_options='
|
|||
%endif
|
||||
%if %pltcl
|
||||
--with-tcl
|
||||
--with-tclconfig=/usr/%_lib
|
||||
--with-tclconfig=%_libdir
|
||||
%endif
|
||||
%if %ldap
|
||||
--with-ldap
|
||||
|
|
@ -623,11 +615,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
|
||||
|
|
@ -715,7 +706,6 @@ upgrade_configure ()
|
|||
--prefix=%prev_prefix \
|
||||
--disable-rpath \
|
||||
--with-lz4 \
|
||||
--with-zstd \
|
||||
%if %icu
|
||||
--with-icu \
|
||||
%endif
|
||||
|
|
@ -748,15 +738,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 \
|
||||
"$@"
|
||||
}
|
||||
|
|
@ -958,9 +945,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
|
||||
|
|
@ -1216,8 +1204,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
|
||||
|
|
@ -1246,8 +1234,6 @@ make -C postgresql-setup-%{setup_version} check
|
|||
%if %pam
|
||||
%config(noreplace) /etc/pam.d/postgresql
|
||||
%endif
|
||||
%{_sysusersdir}/postgresql16.conf
|
||||
%{_tmpfilesdir}/postgresql16.conf
|
||||
|
||||
|
||||
%files -n %{pkgname}-server-devel -f devel.lst
|
||||
|
|
@ -1349,63 +1335,20 @@ make -C postgresql-setup-%{setup_version} check
|
|||
- 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
|
||||
* Tue Sep 03 2024 Karolina Surma <ksurma@redhat.com> - 16.3-6
|
||||
- Fix the name of the Obsoleted Python package - it's plpython3
|
||||
|
||||
* Mon Aug 05 2024 Filip Janus <fjanus@redhat.com> - 16.3-5
|
||||
- Add Obsoletes of versioned alternative stream from F39
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue