Compare commits
42 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54bbb24079 | ||
|
|
9f35c14618 | ||
|
|
3eef9b7f69 | ||
|
|
3004e003d4 | ||
|
|
349f48f183 | ||
|
|
27a75ba780 | ||
|
|
f33689347e | ||
|
|
51276f54f1 | ||
|
|
042df027b0 | ||
|
|
290d36f9d8 | ||
|
|
4e5009ca14 | ||
|
|
72061a9ba2 | ||
|
|
792d356289 | ||
|
|
78d431c36a | ||
|
|
4bee6b7687 | ||
|
|
84ff0438ce | ||
|
|
8cd443c549 | ||
|
|
28b8023ffd | ||
|
|
de696001ac | ||
|
|
90650b6371 | ||
|
|
6e4e3dd713 | ||
|
|
1bc1753d81 | ||
|
|
705af7d6d4 | ||
|
|
84c13e436e | ||
|
|
e0a3c723a9 | ||
|
|
0b4a6b39f4 | ||
|
|
4055d7a0f2 | ||
|
|
fed07ce08a | ||
|
|
b005b05197 | ||
|
|
e03e328e88 | ||
|
|
7fa64c3e44 | ||
|
|
4a7744bef2 | ||
|
|
c23a399ca1 | ||
|
|
ab3a6898d4 | ||
|
|
e1172c877b | ||
|
|
9b9a8eb409 | ||
|
|
9647cd2b64 | ||
|
|
ceda0e6f43 | ||
|
|
9114cc0efe | ||
|
|
70ab2f6574 | ||
|
|
4c0280b8e6 | ||
|
|
1fe2f9b4da |
6 changed files with 228 additions and 69 deletions
22
.gitignore
vendored
22
.gitignore
vendored
|
|
@ -3,3 +3,25 @@
|
||||||
/postgresql-16.1.tar.bz2
|
/postgresql-16.1.tar.bz2
|
||||||
/postgresql-16.1.tar.bz2.sha256
|
/postgresql-16.1.tar.bz2.sha256
|
||||||
/postgresql-setup-8.9.tar.gz
|
/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
|
||||||
|
|
|
||||||
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.12.0.post1.dev18+gc39b0e7d4.
|
||||||
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_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
|
||||||
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
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
%{!?sdt:%global sdt 1}
|
%{!?sdt:%global sdt 1}
|
||||||
%{!?selinux:%global selinux 1}
|
%{!?selinux:%global selinux 1}
|
||||||
%{!?runselftest:%global runselftest 1}
|
%{!?runselftest:%global runselftest 1}
|
||||||
%{!?postgresql_default:%global postgresql_default 1}
|
%{!?postgresql_default:%global postgresql_default 0}
|
||||||
|
|
||||||
%global majorname postgresql
|
%global majorname postgresql
|
||||||
%global majorversion 16
|
%global majorversion 16
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
Summary: PostgreSQL client programs
|
Summary: PostgreSQL client programs
|
||||||
Name: %{majorname}%{majorversion}
|
Name: %{majorname}%{majorversion}
|
||||||
Version: %{majorversion}.1
|
Version: %{majorversion}.11
|
||||||
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 15
|
%global prevmajorversion 15
|
||||||
%global prevversion %{prevmajorversion}.5
|
%global prevversion %{prevmajorversion}.15
|
||||||
%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
|
||||||
|
|
||||||
|
|
@ -107,6 +107,7 @@ Summary: PostgreSQL client programs
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: lz4-devel
|
BuildRequires: lz4-devel
|
||||||
|
BuildRequires: libzstd-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
|
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
|
||||||
BuildRequires: perl(ExtUtils::Embed), perl-devel
|
BuildRequires: perl(ExtUtils::Embed), perl-devel
|
||||||
|
|
@ -163,6 +164,7 @@ BuildRequires: pam-devel
|
||||||
|
|
||||||
%if %sdt
|
%if %sdt
|
||||||
BuildRequires: systemtap-sdt-devel
|
BuildRequires: systemtap-sdt-devel
|
||||||
|
BuildRequires: systemtap-sdt-dtrace
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %selinux
|
%if %selinux
|
||||||
|
|
@ -173,27 +175,30 @@ BuildRequires: libselinux-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Let's remove versioned provides in default version
|
|
||||||
# It should ensure that unversioned(default version) postgresql stream
|
|
||||||
# will be preferable to an versioned one.
|
|
||||||
# postgresql-16.0-1 will replace postgresql16-16.0-1
|
|
||||||
%if %?postgresql_default
|
%if %?postgresql_default
|
||||||
%define obsoletes_postgresqlXX_if_default() %{expand:\
|
%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}}\
|
Obsoletes: postgresql%{majorversion}%{?1:-%{1}}\
|
||||||
}
|
}
|
||||||
%else
|
%else
|
||||||
%define obsoletes_postgresqlXX_if_default() %{expand:\
|
%define postgresqlXX_if_default() %{nil}
|
||||||
Provides: %{majorname}%{?1:-%{1}} = %precise_version\
|
|
||||||
Provides: %{majorname}%{?1:-%{1}}%{?_isa} = %precise_version\
|
|
||||||
}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%define conflict_with_other_streams() %{expand:\
|
||||||
|
Provides: %{majorname}%{?1:-%{1}}-any\
|
||||||
|
Conflicts: %{majorname}%{?1:-%{1}}-any\
|
||||||
|
}
|
||||||
|
|
||||||
|
%define virtual_conflicts_and_provides() %{expand:\
|
||||||
|
%conflict_with_other_streams %{**}\
|
||||||
|
%postgresqlXX_if_default %{**}\
|
||||||
|
}
|
||||||
|
|
||||||
Provides: %{pkgname} = %precise_version
|
Provides: %{pkgname} = %precise_version
|
||||||
Provides: %{pkgname}%{?_isa} = %precise_version
|
Provides: %{pkgname}%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default
|
%virtual_conflicts_and_provides
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/1464368
|
# https://bugzilla.redhat.com/1464368
|
||||||
# and do not provide pkgconfig RPM provides (RHBZ#1980992) and #2121696
|
# and do not provide pkgconfig RPM provides (RHBZ#1980992) and #2121696
|
||||||
|
|
@ -227,9 +232,8 @@ Requires(post): glibc
|
||||||
Requires(postun): glibc
|
Requires(postun): glibc
|
||||||
Provides: %{pkgname}-private-libs = %precise_version
|
Provides: %{pkgname}-private-libs = %precise_version
|
||||||
Provides: %{pkgname}-private-libs%{?_isa} = %precise_version
|
Provides: %{pkgname}-private-libs%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-private-libs
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default private-libs
|
%virtual_conflicts_and_provides private-libs
|
||||||
|
|
||||||
%description -n %{pkgname}-private-libs
|
%description -n %{pkgname}-private-libs
|
||||||
The postgresql-private-libs package provides the shared libraries for this
|
The postgresql-private-libs package provides the shared libraries for this
|
||||||
|
|
@ -246,9 +250,8 @@ Requires: %{pkgname}-private-libs%{?_isa} = %precise_version
|
||||||
Conflicts: libpq-devel
|
Conflicts: libpq-devel
|
||||||
Provides: %{pkgname}-devel = %precise_version
|
Provides: %{pkgname}-devel = %precise_version
|
||||||
Provides: %{pkgname}-devel%{?_isa} = %precise_version
|
Provides: %{pkgname}-devel%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-devel
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default private-devel
|
%virtual_conflicts_and_provides private-devel
|
||||||
|
|
||||||
%description -n %{pkgname}-private-devel
|
%description -n %{pkgname}-private-devel
|
||||||
The postgresql-private-devel package contains the header files and libraries
|
The postgresql-private-devel package contains the header files and libraries
|
||||||
|
|
@ -262,7 +265,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
|
||||||
|
|
@ -282,10 +284,8 @@ Provides: %{pkgname}-server = %precise_version
|
||||||
Provides: %{pkgname}-server%{?_isa} = %precise_version
|
Provides: %{pkgname}-server%{?_isa} = %precise_version
|
||||||
# Provide symbol regardless version. This symbol is present in every single
|
# Provide symbol regardless version. This symbol is present in every single
|
||||||
# postgresql stream
|
# postgresql stream
|
||||||
Provides: %{majorname}-server-any
|
|
||||||
Conflicts: %{majorname}-server
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default server
|
%virtual_conflicts_and_provides server
|
||||||
|
|
||||||
%description -n %{pkgname}-server
|
%description -n %{pkgname}-server
|
||||||
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
||||||
|
|
@ -299,9 +299,8 @@ Summary: Extra documentation for PostgreSQL
|
||||||
Requires: %{pkgname}%{?_isa} = %precise_version
|
Requires: %{pkgname}%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-doc = %precise_version
|
Provides: %{pkgname}-doc = %precise_version
|
||||||
Provides: %{pkgname}-docs = %precise_version
|
Provides: %{pkgname}-docs = %precise_version
|
||||||
Conflicts: %{majorname}-docs
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default docs
|
%virtual_conflicts_and_provides docs
|
||||||
|
|
||||||
%description -n %{pkgname}-docs
|
%description -n %{pkgname}-docs
|
||||||
The postgresql-docs package contains some additional documentation for
|
The postgresql-docs package contains some additional documentation for
|
||||||
|
|
@ -314,9 +313,8 @@ Summary: Extension modules distributed with PostgreSQL
|
||||||
Requires: %{pkgname}%{?_isa} = %precise_version
|
Requires: %{pkgname}%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-contrib = %precise_version
|
Provides: %{pkgname}-contrib = %precise_version
|
||||||
Provides: %{pkgname}-contrib%{?_isa} = %precise_version
|
Provides: %{pkgname}-contrib%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-contrib
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default contrib
|
%virtual_conflicts_and_provides contrib
|
||||||
|
|
||||||
%description -n %{pkgname}-contrib
|
%description -n %{pkgname}-contrib
|
||||||
The postgresql-contrib package contains various extension modules that are
|
The postgresql-contrib package contains various extension modules that are
|
||||||
|
|
@ -344,9 +342,8 @@ Requires: %{pkgname}-private-devel
|
||||||
%endif
|
%endif
|
||||||
Provides: %{pkgname}-server-devel = %precise_version
|
Provides: %{pkgname}-server-devel = %precise_version
|
||||||
Provides: %{pkgname}-server-devel%{?_isa} = %precise_version
|
Provides: %{pkgname}-server-devel%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-server-devel
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default server-devel
|
%virtual_conflicts_and_provides server-devel
|
||||||
|
|
||||||
%description -n %{pkgname}-server-devel
|
%description -n %{pkgname}-server-devel
|
||||||
The postgresql-server-devel package contains the header files and configuration
|
The postgresql-server-devel package contains the header files and configuration
|
||||||
|
|
@ -357,13 +354,8 @@ Summary: Convenience RPM macros for build-time testing against PostgreSQL server
|
||||||
Requires: %{pkgname}-server = %precise_version
|
Requires: %{pkgname}-server = %precise_version
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Provides: %{pkgname}-test-rpm-macros = %precise_version
|
Provides: %{pkgname}-test-rpm-macros = %precise_version
|
||||||
Conflicts: %{majorname}-test-rpm-macros
|
|
||||||
|
|
||||||
%if %?postgresql_default
|
%conflict_with_other_streams test-rpm-macros
|
||||||
Obsoletes: postgresql%{majorversion}-test-rpm-macros
|
|
||||||
%else
|
|
||||||
Provides: %{majorname}%-test-rpm-macros = %precise_version
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n %{pkgname}-test-rpm-macros
|
%description -n %{pkgname}-test-rpm-macros
|
||||||
This package is meant to be added as BuildRequires: dependency of other packages
|
This package is meant to be added as BuildRequires: dependency of other packages
|
||||||
|
|
@ -375,9 +367,8 @@ Summary: Statically linked PostgreSQL libraries
|
||||||
Requires: %{pkgname}-server-devel%{?_isa} = %precise_version
|
Requires: %{pkgname}-server-devel%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-static = %precise_version
|
Provides: %{pkgname}-static = %precise_version
|
||||||
Provides: %{pkgname}-static%{?_isa} = %precise_version
|
Provides: %{pkgname}-static%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-static
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default static
|
%virtual_conflicts_and_provides static
|
||||||
|
|
||||||
%description -n %{pkgname}-static
|
%description -n %{pkgname}-static
|
||||||
Statically linked PostgreSQL libraries that do not have dynamically linked
|
Statically linked PostgreSQL libraries that do not have dynamically linked
|
||||||
|
|
@ -391,9 +382,8 @@ Requires: %{pkgname}-server%{?_isa} = %precise_version
|
||||||
Provides: bundled(postgresql-server) = %prevversion
|
Provides: bundled(postgresql-server) = %prevversion
|
||||||
Provides: %{pkgname}-upgrade = %precise_version
|
Provides: %{pkgname}-upgrade = %precise_version
|
||||||
Provides: %{pkgname}-upgrade%{?_isa} = %precise_version
|
Provides: %{pkgname}-upgrade%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-upgrade
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default upgrade
|
%virtual_conflicts_and_provides upgrade
|
||||||
|
|
||||||
%description -n %{pkgname}-upgrade
|
%description -n %{pkgname}-upgrade
|
||||||
The postgresql-upgrade package contains the pg_upgrade utility and supporting
|
The postgresql-upgrade package contains the pg_upgrade utility and supporting
|
||||||
|
|
@ -406,9 +396,8 @@ Summary: Support for build of extensions required for upgrade process
|
||||||
Requires: %{pkgname}-upgrade%{?_isa} = %precise_version
|
Requires: %{pkgname}-upgrade%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-upgrade-devel = %precise_version
|
Provides: %{pkgname}-upgrade-devel = %precise_version
|
||||||
Provides: %{pkgname}-upgrade-devel%{?_isa} = %precise_version
|
Provides: %{pkgname}-upgrade-devel%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-upgrade-devel
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default upgrade-devel
|
%virtual_conflicts_and_provides upgrade-devel
|
||||||
|
|
||||||
%description -n %{pkgname}-upgrade-devel
|
%description -n %{pkgname}-upgrade-devel
|
||||||
The postgresql-devel package contains the header files and libraries
|
The postgresql-devel package contains the header files and libraries
|
||||||
|
|
@ -428,9 +417,8 @@ BuildRequires: perl(Data::Dumper)
|
||||||
%endif
|
%endif
|
||||||
Provides: %{pkgname}-plperl = %precise_version
|
Provides: %{pkgname}-plperl = %precise_version
|
||||||
Provides: %{pkgname}-plperl%{?_isa} = %precise_version
|
Provides: %{pkgname}-plperl%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-plperl
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default plperl
|
%virtual_conflicts_and_provides plperl
|
||||||
|
|
||||||
%description -n %{pkgname}-plperl
|
%description -n %{pkgname}-plperl
|
||||||
The postgresql-plperl package contains the PL/Perl procedural language,
|
The postgresql-plperl package contains the PL/Perl procedural language,
|
||||||
|
|
@ -445,9 +433,8 @@ Summary: The Python3 procedural language for PostgreSQL
|
||||||
Requires: %{pkgname}-server%{?_isa} = %precise_version
|
Requires: %{pkgname}-server%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-plpython3 = %precise_version
|
Provides: %{pkgname}-plpython3 = %precise_version
|
||||||
Provides: %{pkgname}-plpython3%{?_isa} = %precise_version
|
Provides: %{pkgname}-plpython3%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-plpython3
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default python3
|
%virtual_conflicts_and_provides plpython3
|
||||||
|
|
||||||
%description -n %{pkgname}-plpython3
|
%description -n %{pkgname}-plpython3
|
||||||
The postgresql-plpython3 package contains the PL/Python3 procedural language,
|
The postgresql-plpython3 package contains the PL/Python3 procedural language,
|
||||||
|
|
@ -462,9 +449,8 @@ Summary: The Tcl procedural language for PostgreSQL
|
||||||
Requires: %{pkgname}-server%{?_isa} = %precise_version
|
Requires: %{pkgname}-server%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-pltcl = %precise_version
|
Provides: %{pkgname}-pltcl = %precise_version
|
||||||
Provides: %{pkgname}-pltcl%{?_isa} = %precise_version
|
Provides: %{pkgname}-pltcl%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-pltcl
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default pltcl
|
%virtual_conflicts_and_provides pltcl
|
||||||
|
|
||||||
%description -n %{pkgname}-pltcl
|
%description -n %{pkgname}-pltcl
|
||||||
The postgresql-pltcl package contains the PL/Tcl procedural language,
|
The postgresql-pltcl package contains the PL/Tcl procedural language,
|
||||||
|
|
@ -481,9 +467,8 @@ Requires: %{pkgname}-server-devel%{?_isa} = %precise_version
|
||||||
Requires: %{pkgname}-contrib%{?_isa} = %precise_version
|
Requires: %{pkgname}-contrib%{?_isa} = %precise_version
|
||||||
Provides: %{pkgname}-test = %precise_version
|
Provides: %{pkgname}-test = %precise_version
|
||||||
Provides: %{pkgname}-test%{?_isa} = %precise_version
|
Provides: %{pkgname}-test%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-test
|
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default test
|
%virtual_conflicts_and_provides test
|
||||||
|
|
||||||
%description -n %{pkgname}-test
|
%description -n %{pkgname}-test
|
||||||
The postgresql-test package contains files needed for various tests for the
|
The postgresql-test package contains files needed for various tests for the
|
||||||
|
|
@ -503,11 +488,10 @@ Requires: llvm => 5.0
|
||||||
Provides: postgresql-llvmjit >= %{version}-%{release}
|
Provides: postgresql-llvmjit >= %{version}-%{release}
|
||||||
Provides: %{pkgname}-llvmjit = %precise_version
|
Provides: %{pkgname}-llvmjit = %precise_version
|
||||||
Provides: %{pkgname}-llvmjit%{?_isa} = %precise_version
|
Provides: %{pkgname}-llvmjit%{?_isa} = %precise_version
|
||||||
Conflicts: %{majorname}-llvmjit
|
|
||||||
|
|
||||||
BuildRequires: llvm-devel >= 5.0 clang-devel >= 5.0
|
BuildRequires: llvm-devel >= 5.0 clang-devel >= 5.0
|
||||||
|
|
||||||
%obsoletes_postgresqlXX_if_default llvmjit
|
%virtual_conflicts_and_provides llvmjit
|
||||||
|
|
||||||
%description -n %{pkgname}-llvmjit
|
%description -n %{pkgname}-llvmjit
|
||||||
The postgresql-llvmjit package contains support for
|
The postgresql-llvmjit package contains support for
|
||||||
|
|
@ -557,6 +541,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 >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
|
%build
|
||||||
# Avoid LTO on armv7hl as it runs out of memory
|
# Avoid LTO on armv7hl as it runs out of memory
|
||||||
|
|
@ -589,6 +581,7 @@ cd ..
|
||||||
# Fiddling with CFLAGS.
|
# Fiddling with CFLAGS.
|
||||||
|
|
||||||
CFLAGS="${CFLAGS:-%optflags}"
|
CFLAGS="${CFLAGS:-%optflags}"
|
||||||
|
CFLAGS="$CFLAGS -DOPENSSL_NO_ENGINE -std=c18"
|
||||||
# Strip out -ffast-math from CFLAGS....
|
# Strip out -ffast-math from CFLAGS....
|
||||||
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
|
|
@ -600,7 +593,7 @@ common_configure_options='
|
||||||
%endif
|
%endif
|
||||||
%if %pltcl
|
%if %pltcl
|
||||||
--with-tcl
|
--with-tcl
|
||||||
--with-tclconfig=%_libdir
|
--with-tclconfig=/usr/%_lib
|
||||||
%endif
|
%endif
|
||||||
%if %ldap
|
%if %ldap
|
||||||
--with-ldap
|
--with-ldap
|
||||||
|
|
@ -630,10 +623,11 @@ common_configure_options='
|
||||||
%if %selinux
|
%if %selinux
|
||||||
--with-selinux
|
--with-selinux
|
||||||
%endif
|
%endif
|
||||||
--with-system-tzdata=%_datadir/zoneinfo
|
--with-system-tzdata=/usr/share/zoneinfo
|
||||||
--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
|
||||||
|
|
@ -715,12 +709,13 @@ upgrade_configure ()
|
||||||
# its ideas about installation paths.
|
# its ideas about installation paths.
|
||||||
|
|
||||||
# The -fno-aggressive-loop-optimizations is hack for #993532
|
# The -fno-aggressive-loop-optimizations is hack for #993532
|
||||||
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
|
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations -DOPENSSL_NO_ENGINE" ./configure \
|
||||||
--build=%{_build} \
|
--build=%{_build} \
|
||||||
--host=%{_host} \
|
--host=%{_host} \
|
||||||
--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
|
||||||
|
|
@ -753,12 +748,15 @@ upgrade_configure ()
|
||||||
--enable-dtrace \
|
--enable-dtrace \
|
||||||
%endif
|
%endif
|
||||||
%if %selinux
|
%if %selinux
|
||||||
|
%if %ssl
|
||||||
|
--with-openssl \
|
||||||
|
%endif
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
%endif
|
%endif
|
||||||
%if %plpython3
|
%if %plpython3
|
||||||
--with-python \
|
--with-python \
|
||||||
%endif
|
%endif
|
||||||
--with-tclconfig=%_libdir \
|
--with-tclconfig=/usr/%_lib \
|
||||||
--with-system-tzdata=/usr/share/zoneinfo \
|
--with-system-tzdata=/usr/share/zoneinfo \
|
||||||
"$@"
|
"$@"
|
||||||
}
|
}
|
||||||
|
|
@ -825,10 +823,6 @@ install -d $RPM_BUILD_ROOT/etc/pam.d
|
||||||
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
|
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
|
||||||
%endif
|
%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}
|
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
||||||
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
||||||
|
|
||||||
|
|
@ -964,10 +958,9 @@ find_lang_bins pltcl.lst pltcl
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre -n %{pkgname}-server
|
install -m0644 -D postgresql16.sysusers.conf %{buildroot}%{_sysusersdir}/postgresql16.conf
|
||||||
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
|
install -m0644 -D postgresql16.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/postgresql16.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
|
||||||
|
|
@ -1210,6 +1203,7 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
%{_datadir}/pgsql/system_constraints.sql
|
%{_datadir}/pgsql/system_constraints.sql
|
||||||
%{_datadir}/pgsql/system_functions.sql
|
%{_datadir}/pgsql/system_functions.sql
|
||||||
%{_datadir}/pgsql/system_views.sql
|
%{_datadir}/pgsql/system_views.sql
|
||||||
|
%{_datadir}/pgsql/fix-CVE-2024-4317.sql
|
||||||
%{_datadir}/pgsql/timezonesets/
|
%{_datadir}/pgsql/timezonesets/
|
||||||
%{_datadir}/pgsql/tsearch_data/
|
%{_datadir}/pgsql/tsearch_data/
|
||||||
%dir %{_datadir}/postgresql-setup
|
%dir %{_datadir}/postgresql-setup
|
||||||
|
|
@ -1222,8 +1216,8 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
%{_libdir}/pgsql/pg_prewarm.so
|
%{_libdir}/pgsql/pg_prewarm.so
|
||||||
%{_libdir}/pgsql/pgoutput.so
|
%{_libdir}/pgsql/pgoutput.so
|
||||||
%{_libdir}/pgsql/plpgsql.so
|
%{_libdir}/pgsql/plpgsql.so
|
||||||
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
|
%dir %{_usr}/libexec/initscripts/legacy-actions/postgresql
|
||||||
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
|
%{_usr}/libexec/initscripts/legacy-actions/postgresql/*
|
||||||
%{_libexecdir}/postgresql-check-db-dir
|
%{_libexecdir}/postgresql-check-db-dir
|
||||||
%dir %{_sysconfdir}/postgresql-setup
|
%dir %{_sysconfdir}/postgresql-setup
|
||||||
%dir %{_sysconfdir}/postgresql-setup/upgrade
|
%dir %{_sysconfdir}/postgresql-setup/upgrade
|
||||||
|
|
@ -1248,10 +1242,12 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
|
%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/backups
|
||||||
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
|
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
|
||||||
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
|
%ghost %attr(755,postgres,postgres) %dir %{_rundir}/postgresql
|
||||||
%if %pam
|
%if %pam
|
||||||
%config(noreplace) /etc/pam.d/postgresql
|
%config(noreplace) /etc/pam.d/postgresql
|
||||||
%endif
|
%endif
|
||||||
|
%{_sysusersdir}/postgresql16.conf
|
||||||
|
%{_tmpfilesdir}/postgresql16.conf
|
||||||
|
|
||||||
|
|
||||||
%files -n %{pkgname}-server-devel -f devel.lst
|
%files -n %{pkgname}-server-devel -f devel.lst
|
||||||
|
|
@ -1349,6 +1345,117 @@ make -C postgresql-setup-%{setup_version} check
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
||||||
|
postgresql symbol
|
||||||
|
|
||||||
|
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 16.1-4
|
||||||
|
- Rebuild for ICU 74
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 5 2024 Filip Janus <fjanus@redhat.com> - 16.1-2
|
||||||
|
- Add symbol any to ensure conflict with othere postgresql streams
|
||||||
|
- sympol postgresql is now used only for setting the default version
|
||||||
|
of postgresql in the repository
|
||||||
|
- It was done due to dnf feature. more about it:
|
||||||
|
https://github.com/rpm-software-management/dnf5/issues/620
|
||||||
|
|
||||||
* Mon Nov 27 2023 Filip Janus <fjanus@redhat.com> - 16.1-1
|
* Mon Nov 27 2023 Filip Janus <fjanus@redhat.com> - 16.1-1
|
||||||
- Update to 16.1
|
- Update to 16.1
|
||||||
- Initial import of demodularized version
|
- Initial import of demodularized version
|
||||||
|
|
|
||||||
8
sources
Executable file → Normal file
8
sources
Executable file → Normal file
|
|
@ -1,5 +1,5 @@
|
||||||
SHA512 (postgresql-15.5.tar.bz2) = 9ed9d160b3cef99954ccd47a970c107b7e3b0196a7d848f740bf3c52a1c626f6f457814c97f37b9f0467bb07734e19806a15bd9cf3c39445e1d89e75b37064cc
|
SHA512 (postgresql-16.11.tar.bz2) = f11f8f3e5855cfce27108a1bd2122c5a7a1ff37c6d9366d7a96a041aab67a4e4a31e54f0757b6b97c72d841acdcaa97d3eaa765213d4899b2cf7047c549012b8
|
||||||
SHA512 (postgresql-15.5.tar.bz2.sha256) = 896ad3a1952f54bc5186d49eb4faec40843813d3e1c200f7b27f0e099b426ef9b59e0c15cb5453ac166e8a566b24178b95836776207de0bf19f5e021fdccfbca
|
SHA512 (postgresql-15.15.tar.bz2) = efd5dcdb6e45bc13cd4b1b73f4de19fc3ae2bac96e85086cacd649bfbf50969429c40193e86717380759c6995204c18e14ac5352565d5ae85df61c0a127a1562
|
||||||
SHA512 (postgresql-16.1.tar.bz2) = 69f4635e5841452599f13b47df41ce2425ab34b4e4582fd2c635bc78d561fa36c5b03eccb4ae6569872dc74775be1b5a62dee20c9a4f12a43339250128352918
|
|
||||||
SHA512 (postgresql-16.1.tar.bz2.sha256) = 3f573d81a7af02dea2a3eee180d4e465546fc4d283dde5b6627d25af0be4a546ffd3ae914dd3490e45264d1a43cf143e829e14e5cd9c6bd8f179b6eae4fd6ff1
|
|
||||||
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
|
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
|
||||||
|
SHA512 (postgresql-16.11.tar.bz2.sha256) = 3c07dc85608f8cee5071bd7d404feff1c767afb468a8f41225b73d5df05334dca9a3465e16307a3b5b21c1a44684deab0c496fbd03b9d061e4a9559684876671
|
||||||
|
SHA512 (postgresql-15.15.tar.bz2.sha256) = dcabc9fceaa557dac1d6d5b014d21ec6edfb7409103651820126351b5534c1605255f36bb18d654cd537f5128e705d2847f2bd52e38c6dd442a21c0722f39b76
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue