Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bf4877c5c | ||
|
|
ce06cae99c | ||
|
|
98701fed80 | ||
|
|
a468bafe77 | ||
|
|
e5d63f6ddb | ||
|
|
4d05b44288 | ||
|
|
4ff17b0625 | ||
|
|
658daef190 | ||
|
|
d2550af127 | ||
|
|
d77bc28faf | ||
|
|
e0db8743dd |
6 changed files with 94 additions and 11 deletions
12
.gitignore
vendored
12
.gitignore
vendored
|
|
@ -9,3 +9,15 @@
|
||||||
/postgresql-17.2.tar.bz2.sha256
|
/postgresql-17.2.tar.bz2.sha256
|
||||||
/postgresql-16.6.tar.bz2
|
/postgresql-16.6.tar.bz2
|
||||||
/postgresql-16.6.tar.bz2.sha256
|
/postgresql-16.6.tar.bz2.sha256
|
||||||
|
/postgresql-17.4.tar.bz2
|
||||||
|
/postgresql-16.8.tar.bz2
|
||||||
|
/postgresql-17.4.tar.bz2.sha256
|
||||||
|
/postgresql-16.8.tar.bz2.sha256
|
||||||
|
/postgresql-17.5.tar.bz2
|
||||||
|
/postgresql-16.9.tar.bz2
|
||||||
|
/postgresql-17.5.tar.bz2.sha256
|
||||||
|
/postgresql-16.9.tar.bz2.sha256
|
||||||
|
/postgresql-17.6.tar.bz2
|
||||||
|
/postgresql-16.10.tar.bz2
|
||||||
|
/postgresql-17.6.tar.bz2.sha256
|
||||||
|
/postgresql-16.10.tar.bz2.sha256
|
||||||
|
|
|
||||||
3
README.packit
Normal file
3
README.packit
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
This repository is maintained by packit.
|
||||||
|
https://packit.dev/
|
||||||
|
The file was generated using packit 1.11.0.
|
||||||
8
packit-update-sources.sh
Executable file
8
packit-update-sources.sh
Executable 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_16_*" | sed -E "s/REL_16_([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
19
packit.yaml
Normal 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
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
Summary: PostgreSQL client programs
|
Summary: PostgreSQL client programs
|
||||||
Name: %{majorname}%{majorversion}
|
Name: %{majorname}%{majorversion}
|
||||||
Version: %{majorversion}.2
|
Version: %{majorversion}.6
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||||
|
|
@ -60,7 +60,7 @@ Url: http://www.postgresql.org/
|
||||||
# that this be kept up with the latest minor release of the previous series;
|
# that this be kept up with the latest minor release of the previous series;
|
||||||
# but update when bugs affecting pg_dump output are fixed.
|
# but update when bugs affecting pg_dump output are fixed.
|
||||||
%global prevmajorversion 16
|
%global prevmajorversion 16
|
||||||
%global prevversion %{prevmajorversion}.6
|
%global prevversion %{prevmajorversion}.10
|
||||||
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
|
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
|
||||||
%global precise_version %{?epoch:%epoch:}%version-%release
|
%global precise_version %{?epoch:%epoch:}%version-%release
|
||||||
|
|
||||||
|
|
@ -106,6 +106,7 @@ Summary: PostgreSQL client programs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: libzstd-devel
|
||||||
BuildRequires: lz4-devel
|
BuildRequires: lz4-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
|
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
|
||||||
|
|
@ -265,7 +266,6 @@ will interact with a PostgreSQL server.
|
||||||
%package -n %{pkgname}-server
|
%package -n %{pkgname}-server
|
||||||
Summary: The programs needed to create and run a PostgreSQL server
|
Summary: The programs needed to create and run a PostgreSQL server
|
||||||
Requires: %{pkgname}%{?_isa} = %precise_version
|
Requires: %{pkgname}%{?_isa} = %precise_version
|
||||||
Requires(pre): /usr/sbin/useradd
|
|
||||||
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
|
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
# Make sure it's there when scriptlets run, too
|
# Make sure it's there when scriptlets run, too
|
||||||
|
|
@ -542,6 +542,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)
|
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
|
||||||
find . -type f -name .gitignore | xargs rm
|
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
|
%build
|
||||||
# Avoid LTO on armv7hl as it runs out of memory
|
# Avoid LTO on armv7hl as it runs out of memory
|
||||||
|
|
@ -620,6 +628,7 @@ common_configure_options='
|
||||||
--datadir=%_datadir/pgsql
|
--datadir=%_datadir/pgsql
|
||||||
--with-systemd
|
--with-systemd
|
||||||
--with-lz4
|
--with-lz4
|
||||||
|
--with-zstd
|
||||||
%if %icu
|
%if %icu
|
||||||
--with-icu
|
--with-icu
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -707,6 +716,7 @@ upgrade_configure ()
|
||||||
--prefix=%prev_prefix \
|
--prefix=%prev_prefix \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--with-lz4 \
|
--with-lz4 \
|
||||||
|
--with-zstd \
|
||||||
%if %icu
|
%if %icu
|
||||||
--with-icu \
|
--with-icu \
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -947,10 +957,8 @@ find_lang_bins pltcl.lst pltcl
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre -n %{pkgname}-server
|
install -m0644 -D postgresql17.sysusers.conf %{buildroot}%{_sysusersdir}/postgresql17.conf
|
||||||
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
|
install -m0644 -D postgresql17.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/postgresql17.conf
|
||||||
/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
|
%post -n %{pkgname}-server
|
||||||
%systemd_post %service_name
|
%systemd_post %service_name
|
||||||
|
|
@ -1235,6 +1243,7 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
|
|
||||||
%{_sbindir}/postgresql-new-systemd-unit
|
%{_sbindir}/postgresql-new-systemd-unit
|
||||||
%{_tmpfilesdir}/postgresql.conf
|
%{_tmpfilesdir}/postgresql.conf
|
||||||
|
%{_tmpfilesdir}/postgresql17.conf
|
||||||
%{_unitdir}/*postgresql*.service
|
%{_unitdir}/*postgresql*.service
|
||||||
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
|
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
|
||||||
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
|
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
|
||||||
|
|
@ -1244,6 +1253,7 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
%if %pam
|
%if %pam
|
||||||
%config(noreplace) /etc/pam.d/postgresql
|
%config(noreplace) /etc/pam.d/postgresql
|
||||||
%endif
|
%endif
|
||||||
|
%{_sysusersdir}/postgresql17.conf
|
||||||
|
|
||||||
|
|
||||||
%files -n %{pkgname}-server-devel -f devel.lst
|
%files -n %{pkgname}-server-devel -f devel.lst
|
||||||
|
|
@ -1344,6 +1354,37 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 14 2025 Packit <hello@packit.dev> - 17.6-1
|
||||||
|
- 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
|
||||||
|
|
||||||
|
* Thu Apr 03 2025 Packit <hello@packit.dev> - 17.4-1
|
||||||
|
- 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
|
* Wed Jan 29 2025 Filip Janus <fjanus@redhat.com> - 17.2-1
|
||||||
- Update to 17.2
|
- Update to 17.2
|
||||||
- stick with std=c18
|
- stick with std=c18
|
||||||
|
|
|
||||||
8
sources
8
sources
|
|
@ -1,5 +1,5 @@
|
||||||
SHA512 (postgresql-17.2.tar.bz2) = 8e15e47c22d21e1cadc31249cf31af5abe34b8ab72930e58e5fe6124795ad237ca7b4fd3bf36b5f18589c4fc439dc2bab3045d9b4ba23d1846b4b2be6fd1cb69
|
SHA512 (postgresql-17.6.tar.bz2) = d377ed208b3fd1bf9611f148f4286e8c655374218cc3b12cd766917063001750f7dede140065874b7c8bdc2f2b3ecaf15c18cc6cd341929b2c3a574a7797a67e
|
||||||
SHA512 (postgresql-17.2.tar.bz2.sha256) = 07a0ffcbd9917196176b0d45a83fe4a51355b5b257a46cfcf58c03c78026fdbb4e00630af5bc0531380b3e8aa4a80da23453d4ab67663a4eef6193bf8ad8b065
|
SHA512 (postgresql-16.10.tar.bz2) = b6de80d522f863b0d9dd8c2bf4f71bea309bd07586859e309a9821e7f6fd5839557dc396351e7b61aebf492bf8c8a053a324f059a1dee621ac1a6d5e8eccea22
|
||||||
SHA512 (postgresql-16.6.tar.bz2) = ffd6d39fb7aed87241237d68af4934fba1b4ac1be4d3c2833e308e50c21a693796fe54b73e0905365d7557009c40049a23b966aa86765b969797434a0d4bd5f8
|
|
||||||
SHA512 (postgresql-16.6.tar.bz2.sha256) = 2b43dbf07487208f113ebc56958c4e16eb596d39104dc26ffdfded84c196b9fbc12cb52b03775727777fabc297ca26a4c1048b281a3a7b5c20a7bdedc533295f
|
|
||||||
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
|
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
|
||||||
|
SHA512 (postgresql-17.6.tar.bz2.sha256) = b727c9dac05f69992bb41f18ca48083147ba50f64aee9b638e081d64aa98c5901c5aaa3958f5d9a28e933fbbbdd83e7d43c5c429b0c3d4be0a840e90cfb44098
|
||||||
|
SHA512 (postgresql-16.10.tar.bz2.sha256) = 2489a4a2074c7be5c352153ab899681f0761db5dfce8fe315be19783d91613c033570a2f5f85145e5608550e1636231abbeb96aacaa8a94f463caf0c02af48a1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue