80b1cae
# This is the PostgreSQL Global Development Group Official RPMset spec file,
80b1cae
# or a derivative thereof.
084ca74
# Copyright 2003-2009 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
1ade253
# and others listed.                 ** vi: ts=4 sw=4 noexpandtab nosmarttab
80b1cae
80b1cae
# Major Contributors:
80b1cae
# ---------------
80b1cae
# Lamar Owen
80b1cae
# Trond Eivind Glomsrd <teg@redhat.com>
80b1cae
# Thomas Lockhart
80b1cae
# Reinhard Max
80b1cae
# Karl DeBisschop
80b1cae
# Peter Eisentraut
80b1cae
# Joe Conway
80b1cae
# Andrew Overholt
80b1cae
# David Jee
80b1cae
# Kaj J. Niemi
80b1cae
# Sander Steffann
80b1cae
# Tom Lane
80b1cae
# and others in the Changelog....
80b1cae
Tom Lane 13cd21d
# This spec file and ancillary files are licensed in accordance with
80b1cae
# The PostgreSQL license.
80b1cae
084ca74
# In this file you can find the default build package list macros.
084ca74
# These can be overridden by defining on the rpm command line:
80b1cae
# rpm --define 'packagename 1' .... to force the package to build.
80b1cae
# rpm --define 'packagename 0' .... to force the package NOT to build.
Tom Lane 13cd21d
# The base package, the libs package, the devel package, and the server package
084ca74
# always get built.
cvsdist c205ec8
cb07b6b
%{!?beta:%global beta 0}
a6a1e9b
a6a1e9b
%{!?test:%global test 1}
41cd600
%{!?llvmjit:%global llvmjit 1}
0eaa9ce
%{!?external_libpq:%global external_libpq 0}
Tom Lane 4753f36
%{!?upgrade:%global upgrade 1}
Tom Lane 795d3d1
%{!?plpython3:%global plpython3 1}
a6a1e9b
%{!?pltcl:%global pltcl 1}
a6a1e9b
%{!?plperl:%global plperl 1}
a6a1e9b
%{!?ssl:%global ssl 1}
70efd44
%{!?icu:%global icu 1}
a6a1e9b
%{!?kerberos:%global kerberos 1}
a6a1e9b
%{!?ldap:%global ldap 1}
a6a1e9b
%{!?nls:%global nls 1}
a6a1e9b
%{!?uuid:%global uuid 1}
a6a1e9b
%{!?xml:%global xml 1}
a6a1e9b
%{!?pam:%global pam 1}
a6a1e9b
%{!?sdt:%global sdt 1}
Tom Lane 13cd21d
%{!?selinux:%global selinux 1}
a6a1e9b
%{!?runselftest:%global runselftest 1}
cvsdist c205ec8
Jozef Mlich 3355515
# By default, patch(1) creates backup files when chunks apply with offsets.
Jozef Mlich 3355515
# Turn that off to ensure such files don't get included in RPMs.
Jozef Mlich 3355515
%global _default_patch_flags --no-backup-if-mismatch
Jozef Mlich 3355515
4f1d2a0
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
4f1d2a0
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
4f1d2a0
cad6817
# Don't create note file, added package_note_flags to linker by redhat-rpm-config
cad6817
# will cause issue during extension build because it'll be inherited.
cad6817
%undefine _package_note_file
cad6817
27a52c7
Summary: PostgreSQL client programs
cvsdist c205ec8
Name: postgresql
371af17
%global majorversion 14
6e41c39
Version: %{majorversion}.3
07442b9
Release: 5%{?dist}
Tom Lane 72893f4
b7fa69b
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
b7fa69b
# recognizes it as an independent license, so we do as well.
b7fa69b
License: PostgreSQL
Tom Lane 4753f36
Url: http://www.postgresql.org/
Tom Lane 4753f36
Tom Lane 4753f36
# This SRPM includes a copy of the previous major release, which is needed for
Tom Lane 4753f36
# in-place upgrade of an old database.  In most cases it will not be critical
Tom Lane 5f6fb79
# that this be kept up with the latest minor release of the previous series;
Tom Lane 5f6fb79
# but update when bugs affecting pg_dump output are fixed.
371af17
%global prevmajorversion 13
6e41c39
%global prevversion %{prevmajorversion}.7
07894e0
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
5b50426
%global precise_version %{?epoch:%epoch:}%version-%release
80b1cae
371af17
%global setup_version 8.7
c88f76d
19af205
%global service_name postgresql.service
01110f9
1fa73e0
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
8d21c7a
# The PDF file is generated by generate-pdf.sh, which see for comments
8d21c7a
Source1: postgresql-%{version}-US.pdf
63cfa0e
# generate-pdf.sh is not used during RPM build, but include for documentation
63cfa0e
Source2: generate-pdf.sh
1fa73e0
Source3: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
c88f76d
Source4: Makefile.regress
c88f76d
Source9: postgresql.tmpfiles.d
c88f76d
Source10: postgresql.pam
c88f76d
Source11: postgresql-bashprofile
c88f76d
19af205
19af205
# git: https://github.com/devexp-db/postgresql-setup
bb1db95
Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{setup_version}/postgresql-setup-%{setup_version}.tar.gz
80b1cae
c9a55bd
# Those here are just to enforce packagers check that the tarball was downloaded
c9a55bd
# correctly.  Also, this allows us check that packagers-only tarballs do not
c9a55bd
# differ with publicly released ones.
1fa73e0
Source16: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
1fa73e0
Source17: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2.sha256
0e04655
446c31a
# Comments for these patches are in the patch files.
6e96691
Patch1: rpm-pgsql.patch
Tom Lane 4753f36
Patch2: postgresql-logging.patch
24c5bf3
Patch5: postgresql-var-run-socket.patch
ffc865e
Patch8: postgresql-external-libpq.patch
ffc865e
Patch9: postgresql-server-pg_config.patch
41cd600
# Upstream bug #16971: https://www.postgresql.org/message-id/16971-5d004d34742a3d35%40postgresql.org
41cd600
# rhbz#1940964
41cd600
Patch10: postgresql-datalayout-mismatch-on-s390.patch
0eaa9ce
Patch12: postgresql-no-libecpg.patch
21b8d7a
# This patch disables deprecated ciphers in the test suite
21b8d7a
Patch14: postgresql-pgcrypto-openssl3-tests.patch
2e3ea50
# Fix compatibility with Python 3.11
2e3ea50
Patch15: postgresql-SPI-s-handling-of-errors-during-transaction-comm.patch
8b4a2d7
# Fix compatibility with Perl 5.36
8b4a2d7
Patch16: postgresql-pl-perl-test-case.patch
f9f152f
b43bea6
BuildRequires: make
0948580
BuildRequires: gcc
19af205
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
8533877
BuildRequires: perl(ExtUtils::Embed), perl-devel
22cc719
BuildRequires: perl(Opcode)
19af205
%if 0%{?fedora} || 0%{?rhel} > 7
34e9d01
BuildRequires: perl-generators
19af205
%endif
Tom Lane 72893f4
BuildRequires: readline-devel zlib-devel
5dec06f
BuildRequires: systemd systemd-devel util-linux
a3f63f1
BuildRequires: multilib-rpm-config
0eaa9ce
%if %external_libpq
27dc0dd
BuildRequires: libpq-devel >= %version
0eaa9ce
%endif
db7b88d
BuildRequires: docbook-style-xsl
80b1cae
Jozef Mlich 08eb705
# postgresql-setup build requires
Jozef Mlich 08eb705
BuildRequires: m4 elinks docbook-utils help2man
Jozef Mlich 08eb705
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
BuildRequires: python3-devel
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
2a1cdc6
%if %pltcl
2ee0978
BuildRequires: tcl-devel
cvsdist c205ec8
%endif
80b1cae
cvsdist c205ec8
%if %ssl
2ee0978
BuildRequires: openssl-devel
cvsdist c205ec8
%endif
80b1cae
cvsdist c205ec8
%if %kerberos
2ee0978
BuildRequires: krb5-devel
cvsdist c205ec8
%endif
80b1cae
affd6a0
%if %ldap
affd6a0
BuildRequires: openldap-devel
affd6a0
%endif
affd6a0
cvsdist c205ec8
%if %nls
2ee0978
BuildRequires: gettext >= 0.10.35
cvsdist c205ec8
%endif
80b1cae
8bf3ae4
%if %uuid
8bf3ae4
BuildRequires: uuid-devel
8bf3ae4
%endif
8bf3ae4
32269db
%if %xml
2ee0978
BuildRequires: libxml2-devel libxslt-devel
32269db
%endif
cvsdist c205ec8
80b1cae
%if %pam
2ee0978
BuildRequires: pam-devel
80b1cae
%endif
cvsdist eeda6e6
14d3433
%if %sdt
14d3433
BuildRequires: systemtap-sdt-devel
14d3433
%endif
14d3433
Tom Lane 13cd21d
%if %selinux
Tom Lane 13cd21d
BuildRequires: libselinux-devel
Tom Lane 13cd21d
%endif
Tom Lane 13cd21d
70efd44
%if %icu
70efd44
BuildRequires:	libicu-devel
70efd44
%endif
70efd44
25dea2d
# https://bugzilla.redhat.com/1464368
7c1110c
%global __provides_exclude_from %{_libdir}/pgsql
25dea2d
cvsdist c205ec8
%description
Tom Lane 464a98d
PostgreSQL is an advanced Object-Relational database management system (DBMS).
Tom Lane 464a98d
The base postgresql package contains the client programs that you'll need to
Tom Lane 464a98d
access a PostgreSQL DBMS server, as well as HTML documentation for the whole
Tom Lane 464a98d
system.  These client programs can be located on the same machine as the
Tom Lane 464a98d
PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
Tom Lane 464a98d
over a network connection.  The PostgreSQL server can be found in the
Tom Lane 464a98d
postgresql-server sub-package.
Tom Lane 464a98d
cvsdist c205ec8
d12fb44
%if ! %external_libpq
d12fb44
%package private-libs
d12fb44
Summary: The shared libraries required only for this build of PostgreSQL server
d12fb44
Group: Applications/Databases
d12fb44
# for /sbin/ldconfig
d12fb44
Requires(post): glibc
d12fb44
Requires(postun): glibc
d12fb44
d12fb44
%description private-libs
d12fb44
The postgresql-private-libs package provides the shared libraries for this
d12fb44
build of PostgreSQL server and plugins build with this version of server.
d12fb44
For shared libraries used by client packages that need to connect to a
d12fb44
PostgreSQL server, install libpq package instead.
d12fb44
d12fb44
d12fb44
%package private-devel
d12fb44
Summary: PostgreSQL development header files for this build of PostgreSQL server
d12fb44
Group: Development/Libraries
d12fb44
Requires: %{name}-private-libs%{?_isa} = %precise_version
d34e80c
# Conflict is desired here, a user must pick one or another
d34e80c
Conflicts: libpq-devel
d12fb44
d12fb44
%description private-devel
d12fb44
The postgresql-private-devel package contains the header files and libraries
d12fb44
needed to compile C or C++ applications which will directly interact
d12fb44
with a PostgreSQL database management server.
d12fb44
You need to install this package if you want to develop applications which
d12fb44
will interact with a PostgreSQL server.
d12fb44
%endif
d12fb44
d12fb44
cvsdist c205ec8
%package server
2ee0978
Summary: The programs needed to create and run a PostgreSQL server
5b50426
Requires: %{name}%{?_isa} = %precise_version
27a52c7
Requires(pre): /usr/sbin/useradd
Tom Lane 497da8c
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
56b78dd
Requires: systemd
Tom Lane 497da8c
# Make sure it's there when scriptlets run, too
56b78dd
%{?systemd_requires}
4597c0d
# postgresql setup requires runuser from util-linux package
4597c0d
BuildRequires: util-linux
4f1d2a0
# Packages which provide postgresql plugins should build-require
ffc865e
# postgresql-server-devel and require
4f1d2a0
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
4f1d2a0
# This will automatically guard against incompatible server & plugin
4f1d2a0
# installation (#1008939, #1007840)
4f1d2a0
Provides: %{name}-server(:MODULE_COMPAT_%{majorversion})
4a3d241
Provides: bundled(postgresql-setup) = %setup_version
cvsdist c205ec8
cvsdist c205ec8
%description server
Tom Lane 464a98d
PostgreSQL is an advanced Object-Relational database management system (DBMS).
Tom Lane 464a98d
The postgresql-server package contains the programs needed to create
cvsdist c205ec8
and run a PostgreSQL server, which will in turn allow you to create
Tom Lane 464a98d
and maintain PostgreSQL databases.
cvsdist c205ec8
cvsdist c205ec8
cvsdist c205ec8
%package docs
cvsdist c205ec8
Summary: Extra documentation for PostgreSQL
5b50426
Requires: %{name}%{?_isa} = %precise_version
a4d772f
# Just for more intuitive documentation installation
5b50426
Provides: %{name}-doc = %precise_version
dadd60b
cvsdist c205ec8
%description docs
Tom Lane 464a98d
The postgresql-docs package contains some additional documentation for
084ca74
PostgreSQL.  Currently, this includes the main documentation in PDF format
084ca74
and source files for the PostgreSQL tutorial.
cvsdist c205ec8
dadd60b
cvsdist c205ec8
%package contrib
Tom Lane 464a98d
Summary: Extension modules distributed with PostgreSQL
5b50426
Requires: %{name}%{?_isa} = %precise_version
dadd60b
cvsdist c205ec8
%description contrib
Tom Lane 464a98d
The postgresql-contrib package contains various extension modules that are
cvsdist c205ec8
included in the PostgreSQL distribution.
cvsdist c205ec8
cvsdist c205ec8
ffc865e
%package server-devel
2ee0978
Summary: PostgreSQL development header files and libraries
70efd44
%if %icu
70efd44
Requires:	libicu-devel
70efd44
%endif
f86d009
%if %kerberos
f86d009
Requires: krb5-devel
f86d009
%endif
22cc719
%if %llvmjit
22cc719
Requires: clang-devel llvm-devel
22cc719
%endif
2ed9c8c
%if %external_libpq
2ed9c8c
# Some extensions require libpq
2ed9c8c
# Do not make them care about whether server uses private or system-wide
2ed9c8c
# libpq, simply let the server pull the correct one
2ed9c8c
Requires: libpq-devel
2ed9c8c
%else
d12fb44
Requires: %{name}-private-devel
d12fb44
%endif
cvsdist c205ec8
ffc865e
%description server-devel
ffc865e
The postgresql-server-devel package contains the header files and configuration
ffc865e
needed to compile PostgreSQL server extension.
Tom Lane 4753f36
50065a2
%package test-rpm-macros
50065a2
Summary: Convenience RPM macros for build-time testing against PostgreSQL server
50065a2
Requires: %{name}-server = %precise_version
e4bf760
BuildArch: noarch
50065a2
50065a2
%description test-rpm-macros
50065a2
This package is meant to be added as BuildRequires: dependency of other packages
50065a2
that want to run build-time testsuite against running PostgreSQL server.
50065a2
50065a2
f01c700
%package static
f01c700
Summary: Statically linked PostgreSQL libraries
ffc865e
Requires: %{name}-server-devel%{?_isa} = %precise_version
f01c700
f01c700
%description static
f01c700
Statically linked PostgreSQL libraries that do not have dynamically linked
f01c700
counterparts.
f01c700
f01c700
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
%package upgrade
Tom Lane 4753f36
Summary: Support for upgrading from the previous major release of PostgreSQL
5b50426
Requires: %{name}-server%{?_isa} = %precise_version
ffc865e
Provides: bundled(postgresql-server) = %prevversion
Tom Lane 4753f36
Tom Lane 4753f36
%description upgrade
Tom Lane 464a98d
The postgresql-upgrade package contains the pg_upgrade utility and supporting
Tom Lane 464a98d
files needed for upgrading a PostgreSQL database from the previous major
Tom Lane 464a98d
version of PostgreSQL.
Jozef Mlích 710aefb
8ac102b
Jozef Mlích 710aefb
%package upgrade-devel
Jozef Mlích 710aefb
Summary: Support for build of extensions required for upgrade process
5b50426
Requires: %{name}-upgrade%{?_isa} = %precise_version
Jozef Mlích 710aefb
Jozef Mlích 710aefb
%description upgrade-devel
Jozef Mlích 710aefb
The postgresql-devel package contains the header files and libraries
Jozef Mlích 710aefb
needed to compile C or C++ applications which are necessary in upgrade
Jozef Mlích 710aefb
process.
Tom Lane 4753f36
%endif
Tom Lane 4753f36
Tom Lane 4753f36
d6ea25d
%if %plperl
d6ea25d
%package plperl
2ee0978
Summary: The Perl procedural language for PostgreSQL
5b50426
Requires: %{name}-server%{?_isa} = %precise_version
8533877
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19af205
%if %runselftest
b081e11
BuildRequires: perl(Opcode)
19af205
BuildRequires: perl(Data::Dumper)
19af205
%endif
d6ea25d
d6ea25d
%description plperl
Tom Lane 464a98d
The postgresql-plperl package contains the PL/Perl procedural language,
Tom Lane 464a98d
which is an extension to the PostgreSQL database server.
Tom Lane 464a98d
Install this if you want to write database functions in Perl.
d6ea25d
%endif
d6ea25d
8ac102b
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
%package plpython3
Tom Lane 795d3d1
Summary: The Python3 procedural language for PostgreSQL
5b50426
Requires: %{name}-server%{?_isa} = %precise_version
Tom Lane 795d3d1
Tom Lane 795d3d1
%description plpython3
Tom Lane 795d3d1
The postgresql-plpython3 package contains the PL/Python3 procedural language,
Tom Lane 795d3d1
which is an extension to the PostgreSQL database server.
Tom Lane 795d3d1
Install this if you want to write database functions in Python 3.
d6ea25d
%endif
d6ea25d
8ac102b
d6ea25d
%if %pltcl
d6ea25d
%package pltcl
2ee0978
Summary: The Tcl procedural language for PostgreSQL
5b50426
Requires: %{name}-server%{?_isa} = %precise_version
d6ea25d
d6ea25d
%description pltcl
Tom Lane 795d3d1
The postgresql-pltcl package contains the PL/Tcl procedural language,
Tom Lane 464a98d
which is an extension to the PostgreSQL database server.
Tom Lane 464a98d
Install this if you want to write database functions in Tcl.
cvsdist c205ec8
%endif
cvsdist c205ec8
8ac102b
cvsdist c205ec8
%if %test
cvsdist c205ec8
%package test
2ee0978
Summary: The test suite distributed with PostgreSQL
5b50426
Requires: %{name}-server%{?_isa} = %precise_version
ffc865e
Requires: %{name}-server-devel%{?_isa} = %precise_version
cvsdist c205ec8
cvsdist c205ec8
%description test
Tom Lane 464a98d
The postgresql-test package contains files needed for various tests for the
Tom Lane 464a98d
PostgreSQL database management system, including regression tests and
Tom Lane 464a98d
benchmarks.
cvsdist c205ec8
%endif
cvsdist c205ec8
01110f9
%if %llvmjit
01110f9
%package llvmjit
01110f9
Summary:	Just-in-time compilation support for PostgreSQL
01110f9
Requires:	%{name}-server%{?_isa} = %{version}-%{release}
01110f9
%if 0%{?rhel} && 0%{?rhel} == 7
01110f9
Requires:	llvm5.0 >= 5.0
01110f9
%else
01110f9
Requires:	llvm => 5.0
01110f9
%endif
01110f9
Provides:	postgresql-llvmjit >= %{version}-%{release}
01110f9
01110f9
BuildRequires:	llvm-devel >= 5.0 clang-devel >= 5.0
01110f9
01110f9
%description llvmjit
01110f9
The postgresql-llvmjit package contains support for
01110f9
just-in-time compiling parts of PostgreSQL queries. Using LLVM it
01110f9
compiles e.g. expressions and tuple deforming into native code, with the
01110f9
goal of accelerating analytics queries.
01110f9
%endif
8ac102b
cvsdist c205ec8
%prep
15c9a5a
(
15c9a5a
  cd "$(dirname "%{SOURCE0}")"
15c9a5a
  sha256sum -c %{SOURCE16}
15c9a5a
%if %upgrade
15c9a5a
  sha256sum -c %{SOURCE17}
15c9a5a
%endif
15c9a5a
)
01110f9
%setup -q -a 12 -n postgresql-%{version}
cvsdist c205ec8
%patch1 -p1
b2169aa
%patch2 -p1
Tom Lane 497da8c
%patch5 -p1
0eaa9ce
%if %external_libpq
ffc865e
%patch8 -p1
0eaa9ce
%else
0eaa9ce
%patch12 -p1
0eaa9ce
%endif
ffc865e
%patch9 -p1
41cd600
%patch10 -p1
21b8d7a
%patch14 -p1
2e3ea50
%patch15 -p1
8b4a2d7
%patch16 -p1
Tom Lane 4753f36
# We used to run autoconf here, but there's no longer any real need to,
Tom Lane 4753f36
# since Postgres ships with a reasonably modern configure script.
cvsdist c205ec8
8d21c7a
cp -p %{SOURCE1} .
cvsdist c205ec8
0eaa9ce
%if ! %external_libpq
0eaa9ce
%global private_soname private%{majorversion}
0eaa9ce
find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= %{private_soname}-\1/" {} \;
0eaa9ce
%endif
0eaa9ce
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
tar xfj %{SOURCE3}
Tom Lane 4753f36
0eaa9ce
# libpq from this upgrade-only build is dropped and the libpq from the main
0eaa9ce
# version is used. Use the same major hack therefore.
0eaa9ce
%if ! %external_libpq
0eaa9ce
find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= %{private_soname}-\1/" {} \;
0eaa9ce
%endif
0eaa9ce
24c5bf3
# apply once SOURCE3 is extracted
9d28c85
%endif
0415e33
Tom Lane 6b84484
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
Tom Lane 6b84484
find . -type f -name .gitignore | xargs rm
Tom Lane 6b84484
cvsdist c205ec8
8ac102b
%build
d97a199
# Avoid LTO on armv7hl as it runs out of memory
d97a199
%ifarch armv7hl s390x
86232b0
%define _lto_cflags %{nil}
d97a199
%endif
1a80a96
# fail quickly and obviously if user tries to build as root
1a80a96
%if %runselftest
1a80a96
	if [ x"`id -u`" = x0 ]; then
1a80a96
		echo "postgresql's regression tests fail if run as root."
1a80a96
		echo "If you really need to build the RPM as root, use"
1a80a96
		echo "--define='runselftest 0' to skip the regression tests."
1a80a96
		exit 1
1a80a96
	fi
1a80a96
%endif
1a80a96
c88f76d
# Building postgresql-setup
c88f76d
c88f76d
cd postgresql-setup-%{setup_version}
c88f76d
Jozef Mlich fd57b14
%configure \
Jozef Mlich 08eb705
    pgdocdir=%{_pkgdocdir} \
Jozef Mlich 08eb705
    PGVERSION=%{version} \
Jozef Mlich 08eb705
    PGMAJORVERSION=%{majorversion} \
Jozef Mlich 08eb705
    NAME_DEFAULT_PREV_SERVICE=postgresql
c88f76d
c88f76d
make %{?_smp_mflags}
c88f76d
cd ..
c88f76d
88e98c3
# Fiddling with CFLAGS.
cvsdist c205ec8
88e98c3
CFLAGS="${CFLAGS:-%optflags}"
cvsdist c205ec8
# Strip out -ffast-math from CFLAGS....
cvsdist c205ec8
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
88e98c3
export CFLAGS
6e96691
5fbaf23
common_configure_options='
5fbaf23
	--disable-rpath
Tom Lane 795d3d1
%if %beta
5fbaf23
	--enable-debug
5fbaf23
	--enable-cassert
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %plperl
5fbaf23
	--with-perl
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %pltcl
5fbaf23
	--with-tcl
5fbaf23
	--with-tclconfig=%_libdir
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %ldap
5fbaf23
	--with-ldap
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %ssl
5fbaf23
	--with-openssl
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %pam
5fbaf23
	--with-pam
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %kerberos
5fbaf23
	--with-gssapi
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %uuid
5fbaf23
	--with-ossp-uuid
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %xml
5fbaf23
	--with-libxml
5fbaf23
	--with-libxslt
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %nls
5fbaf23
	--enable-nls
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %sdt
5fbaf23
	--enable-dtrace
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %selinux
5fbaf23
	--with-selinux
Tom Lane 795d3d1
%endif
5fbaf23
	--with-system-tzdata=%_datadir/zoneinfo
5fbaf23
	--datadir=%_datadir/pgsql
5dec06f
	--with-systemd
70efd44
%if %icu
70efd44
	--with-icu
70efd44
%endif
01110f9
%if %llvmjit
01110f9
	--with-llvm
01110f9
%endif
5fbaf23
%if %plpython3
5fbaf23
	--with-python
df7acb6
%endif
e084551
'
Tom Lane 795d3d1
e084551
export PYTHON=/usr/bin/python3
cvsdist c205ec8
e084551
# These configure options must match main build
e084551
%configure $common_configure_options
db5a549
840f216
%make_build world
cvsdist c205ec8
6e96691
# Have to hack makefile to put correct path into tutorial scripts
6e96691
sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
6e96691
make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
6e96691
rm -f src/tutorial/GNUmakefile
6e96691
19af205
# The object files shouldn't be copied to rpm bz#1187514
19af205
rm -f src/tutorial/*.o
19af205
1ade253
# run_testsuite WHERE
1ade253
# -------------------
1ade253
# Run 'make check' in WHERE path.  When that command fails, return the logs
0801498
# given by PostgreSQL build system and set 'test_failure=1'.  This function
0801498
# never exits directly nor stops rpmbuild where `set -e` is enabled.
1ade253
run_testsuite()
1ade253
{
0801498
	make -k -C "$1" MAX_CONNECTIONS=5 check && return 0 || test_failure=1
1ade253
	(
1ade253
		set +x
3120db3
		echo "=== trying to find all regression.diffs files in build directory ==="
0801498
		find "$1" -name 'regression.diffs' | \
1ade253
		while read line; do
1ade253
			echo "=== make failure: $line ==="
1ade253
			cat "$line"
1ade253
		done
1ade253
	)
1ade253
}
1ade253
0801498
test_failure=0
0801498
6e96691
%if %runselftest
1ade253
	run_testsuite "src/test/regress"
1ade253
	make clean -C "src/test/regress"
1ade253
	run_testsuite "src/pl"
1ade253
	run_testsuite "contrib"
6e96691
%endif
6e96691
1ade253
# "assert(ALL_TESTS_OK)"
1ade253
test "$test_failure" -eq 0
1ade253
6e96691
%if %test
1ade253
	# undo the "make clean" above
1ade253
	make all -C src/test/regress
cvsdist c205ec8
%endif
cvsdist c205ec8
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
	pushd postgresql-%{prevversion}
Tom Lane 4753f36
Tom Lane 4753f36
	# The upgrade build can be pretty stripped-down, but make sure that
Tom Lane 4753f36
	# any options that affect on-disk file layout match the previous
cc5d65f
	# major release!
4dafc07
3e9c3b5
	# The set of built server modules here should ideally create superset
3e9c3b5
	# of modules we used to ship in %%prevversion (in the installation
3e9c3b5
	# the user will upgrade from), including *-contrib or *-pl*
3e9c3b5
	# subpackages.  This increases chances that the upgrade from
3e9c3b5
	# %%prevversion will work smoothly.
3e9c3b5
cc5d65f
upgrade_configure ()
cc5d65f
{
cc5d65f
	# Note we intentionally do not use %%configure here, because we *don't* want
cc5d65f
	# its ideas about installation paths.
cc5d65f
4dafc07
	# The -fno-aggressive-loop-optimizations is hack for #993532
4dafc07
	CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
4dafc07
		--build=%{_build} \
4dafc07
		--host=%{_host} \
07894e0
		--prefix=%prev_prefix \
Tom Lane 4753f36
		--disable-rpath \
cb07b6b
%if %beta
cb07b6b
		--enable-debug \
cb07b6b
		--enable-cassert \
cb07b6b
%endif
70efd44
%if %icu
70efd44
		--with-icu \
70efd44
%endif
cc5d65f
%if %plperl
3e9c3b5
		--with-perl \
cc5d65f
%endif
cc5d65f
%if %pltcl
3e9c3b5
		--with-tcl \
cc5d65f
%endif
24c8fef
%if %ldap
24c8fef
       --with-ldap \
24c8fef
%endif
24c8fef
%if %pam
24c8fef
       --with-pam \
24c8fef
%endif
24c8fef
%if %kerberos
24c8fef
       --with-gssapi \
24c8fef
%endif
24c8fef
%if %uuid
24c8fef
       --with-ossp-uuid \
24c8fef
%endif
24c8fef
%if %xml
24c8fef
       --with-libxml \
24c8fef
       --with-libxslt \
24c8fef
%endif
24c8fef
%if %nls
24c8fef
       --enable-nls \
24c8fef
%endif
24c8fef
%if %sdt
24c8fef
       --enable-dtrace \
24c8fef
%endif
24c8fef
%if %selinux
24c8fef
       --with-selinux \
24c8fef
%endif
e084551
%if %plpython3
e084551
		--with-python \
e084551
%endif
3e9c3b5
		--with-tclconfig=%_libdir \
cc5d65f
		--with-system-tzdata=/usr/share/zoneinfo \
cc5d65f
		"$@"
cc5d65f
}
cc5d65f
cc5d65f
	upgrade_configure \
Tom Lane 4753f36
Tom Lane 4753f36
	make %{?_smp_mflags} all
bf6f085
	make -C contrib %{?_smp_mflags} all
Tom Lane 4753f36
	popd
df7acb6
# endif upgrade
df7acb6
%endif
Tom Lane 4753f36
8ac102b
cvsdist c205ec8
%install
c88f76d
cd postgresql-setup-%{setup_version}
c88f76d
make install DESTDIR=$RPM_BUILD_ROOT
c88f76d
cd ..
c88f76d
a037a89
# For some reason, having '%%doc %%{_pkgdocdir}/README.rpm-dist' in %%files
a037a89
# causes FTBFS (at least on RHEL6), see rhbz#1250006.
19af205
mv $RPM_BUILD_ROOT/%{_pkgdocdir}/README.rpm-dist ./
Jozef Mlich 08eb705
Jozef Mlich 08eb705
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql.conf <
Jozef Mlich 08eb705
id              postgresql
Jozef Mlich 08eb705
major           %{prevmajorversion}
Jozef Mlich 08eb705
data_default    %{_localstatedir}/pgsql/data
04a9ae7
package         postgresql-upgrade
Jozef Mlich 08eb705
engine          %{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin
Jozef Mlich 08eb705
description     "Upgrade data from system PostgreSQL version (PostgreSQL %{prevmajorversion})"
Jozef Mlich 08eb705
redhat_sockets_hack no
Jozef Mlich 08eb705
EOF
Jozef Mlich 08eb705
Tom Lane 4753f36
make DESTDIR=$RPM_BUILD_ROOT install-world
cvsdist c205ec8
ffc865e
# We ship pg_config through libpq-devel
ffc865e
mv $RPM_BUILD_ROOT/%_mandir/man1/pg_{,server_}config.1
9e2fd57
%if %external_libpq
ffc865e
rm $RPM_BUILD_ROOT/%_includedir/pg_config*.h
ffc865e
rm $RPM_BUILD_ROOT/%_includedir/libpq/libpq-fs.h
ffc865e
rm $RPM_BUILD_ROOT/%_includedir/postgres_ext.h
ffc865e
rm -r $RPM_BUILD_ROOT/%_includedir/pgsql/internal/
9e2fd57
%else
9e2fd57
ln -s pg_server_config $RPM_BUILD_ROOT/%_bindir/pg_config
0eaa9ce
rm $RPM_BUILD_ROOT/%{_libdir}/libpq.a
0eaa9ce
%endif
ffc865e
Tom Lane 3b77faf
# make sure these directories exist even if we suppressed all contrib modules
Tom Lane 3b77faf
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
Tom Lane 3b77faf
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
Tom Lane 3b77faf
ffc865e
# multilib header hack
a3f63f1
for header in \
a3f63f1
	%{_includedir}/pgsql/server/pg_config.h \
a3f63f1
	%{_includedir}/pgsql/server/pg_config_ext.h
a3f63f1
do
a3f63f1
%multilib_fix_c_header --file "$header"
8a02c71
done
a15ec21
6e96691
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
Tom Lane d44dce3
cp -p src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
cvsdist c205ec8
32269db
%if %pam
8d5bd11
install -d $RPM_BUILD_ROOT/etc/pam.d
c88f76d
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
32269db
%endif
32269db
Tom Lane 497da8c
# Create the directory for sockets.
19af205
install -d -m 755 $RPM_BUILD_ROOT%{?_localstatedir}/run/postgresql
Tom Lane 497da8c
Tom Lane 497da8c
# ... and make a tmpfiles script to recreate it at reboot.
b6b61d6
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
c88f76d
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
Tom Lane 497da8c
cvsdist c205ec8
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
19af205
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/data
cvsdist c205ec8
cvsdist c205ec8
# backups of data go here...
19af205
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/backups
cvsdist c205ec8
cvsdist c205ec8
# postgres' .bash_profile
19af205
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/.bash_profile
cvsdist c205ec8
ffc865e
rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1
ffc865e
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
	pushd postgresql-%{prevversion}
Tom Lane 4753f36
	make DESTDIR=$RPM_BUILD_ROOT install
bf6f085
	make -C contrib DESTDIR=$RPM_BUILD_ROOT install
Tom Lane 4753f36
	popd
Tom Lane 4753f36
Tom Lane 4753f36
	# remove stuff we don't actually need for upgrade purposes
Tom Lane 4753f36
	pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/postgresql-%{prevmajorversion}
Tom Lane 4753f36
	rm bin/clusterdb
Tom Lane 4753f36
	rm bin/createdb
Tom Lane 4753f36
	rm bin/createuser
Tom Lane 4753f36
	rm bin/dropdb
Tom Lane 4753f36
	rm bin/dropuser
Tom Lane 4753f36
	rm bin/ecpg
Tom Lane 4753f36
	rm bin/initdb
Tom Lane 795d3d1
	rm bin/pg_basebackup
Tom Lane 4753f36
	rm bin/pg_dump
Tom Lane 4753f36
	rm bin/pg_dumpall
Tom Lane 4753f36
	rm bin/pg_restore
83fb3d5
	rm bin/pgbench
Tom Lane 4753f36
	rm bin/psql
Tom Lane 4753f36
	rm bin/reindexdb
Tom Lane 4753f36
	rm bin/vacuumdb
Tom Lane 4753f36
	rm -rf share/doc
Tom Lane 4753f36
	rm -rf share/man
Tom Lane 4753f36
	rm -rf share/tsearch_data
1942c8b
	rm lib/*.a
1942c8b
	# Drop libpq.  This might need some tweaks once there's
1942c8b
	# soname bump between %%prevversion and %%version.
1942c8b
	rm lib/libpq.so*
1942c8b
	# Drop libraries.
1942c8b
	rm lib/lib{ecpg,ecpg_compat,pgtypes}.so*
Tom Lane 4753f36
	rm share/*.bki
Tom Lane 4753f36
	rm share/*.sample
Tom Lane 4753f36
	rm share/*.sql
Tom Lane 4753f36
	rm share/*.txt
3e9c3b5
	rm share/extension/*.sql
3e9c3b5
	rm share/extension/*.control
Tom Lane 4753f36
	popd
07894e0
	cat <<EOF > $RPM_BUILD_ROOT%macrosdir/macros.%name-upgrade
07894e0
%%postgresql_upgrade_prefix %prev_prefix
07894e0
EOF
Tom Lane 4753f36
%endif
Tom Lane 4753f36
0b7d13d
# Let plugins use the same llvmjit settings as server has
0b7d13d
cat <<EOF >> $RPM_BUILD_ROOT%macrosdir/macros.%name
0b7d13d
%%postgresql_server_llvmjit %llvmjit
0b7d13d
EOF
Tom Lane 4753f36
cvsdist c205ec8
%if %test
6e96691
	# tests. There are many files included here that are unnecessary,
6e96691
	# but include them anyway for completeness.  We replace the original
6e96691
	# Makefiles, however.
6e96691
	mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
6e96691
	cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
8ac102b
	# pg_regress binary should be only in one subpackage,
c99f89f
	# there will be a symlink from -test to -devel
c99f89f
	rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
c99f89f
	ln -sf ../../pgxs/src/test/regress/pg_regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
eb3bf28
	pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
1fbccd0
	rm -f GNUmakefile Makefile *.o
Tom Lane d1e157d
	chmod 0755 pg_regress regress.so
cvsdist c205ec8
	popd
269d2b7
	sed 's|@bindir@|%{_bindir}|g' \
269d2b7
		< %{SOURCE4} \
269d2b7
		> $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
6e96691
	chmod 0644 $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
cvsdist c205ec8
%endif
cvsdist c205ec8
83ea972
rm -rf doc/html # HACK! allow 'rpmbuild -bi --short-circuit'
6e96691
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
6e96691
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
cvsdist c205ec8
a6a1e9b
# remove files not to be packaged
ffc865e
rm $RPM_BUILD_ROOT%{_libdir}/libpgfeutils.a
2427b5e
2427b5e
%if !%plperl
2427b5e
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plperl.so
2427b5e
%endif
2427b5e
e084551
# no python2, yet installed, remove
bd3d5e9
rm -f $RPM_BUILD_ROOT%{_datadir}/pgsql/extension/*_plpythonu*
bd3d5e9
rm -f $RPM_BUILD_ROOT%{_datadir}/pgsql/extension/*_plpython2u*
Tom Lane 13cd21d
Tom Lane 13cd21d
%if %nls
d3a91d2
find_lang_bins ()
d3a91d2
{
d3a91d2
	lstfile=$1 ; shift
15c9a5a
	cp /dev/null "$lstfile"
d3a91d2
	for binary; do
d3a91d2
		%find_lang "$binary"-%{majorversion}
15c9a5a
		cat "$binary"-%{majorversion}.lang >>"$lstfile"
d3a91d2
	done
d3a91d2
}
ffc865e
find_lang_bins devel.lst pg_server_config
d3a91d2
find_lang_bins server.lst \
626e81a
	initdb pg_basebackup pg_controldata pg_ctl pg_resetwal pg_rewind plpgsql \
b081e11
	postgres pg_checksums pg_verifybackup
d3a91d2
find_lang_bins contrib.lst \
371af17
	pg_amcheck pg_archivecleanup pg_test_fsync pg_test_timing pg_waldump
15c9a5a
find_lang_bins main.lst \
0eaa9ce
	pg_dump pg_upgrade pgscripts psql \
0eaa9ce
%if ! %external_libpq
0eaa9ce
libpq%{private_soname}-5
0eaa9ce
%endif
7fb6fc9
084ca74
%if %plperl
d3a91d2
find_lang_bins plperl.lst plperl
084ca74
%endif
Tom Lane 795d3d1
%if %plpython3
d3a91d2
find_lang_bins plpython3.lst plpython
Tom Lane 795d3d1
%endif
084ca74
%if %pltcl
d3a91d2
find_lang_bins pltcl.lst pltcl
084ca74
%endif
Tom Lane 13cd21d
%endif
cvsdist c205ec8
cvsdist c205ec8
%pre server
9cc5f20
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
9cc5f20
/usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
e8f554d
	-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
e8f554d
cvsdist c205ec8
%post server
19af205
%systemd_post %service_name
Tom Lane 72893f4
cvsdist c205ec8
cvsdist c205ec8
%preun server
19af205
%systemd_preun %service_name
56b78dd
cvsdist c205ec8
cvsdist c205ec8
%postun server
19af205
%systemd_postun_with_restart %service_name
cvsdist c205ec8
19af205
19af205
%check
19af205
%if %runselftest
19af205
make -C postgresql-setup-%{setup_version} check
19af205
%endif
19af205
8ac102b
# FILES sections.
cvsdist c205ec8
%files -f main.lst
Tom Lane d1e157d
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
01110f9
%doc COPYRIGHT README HISTORY
a037a89
%doc README.rpm-dist
cvsdist c205ec8
%{_bindir}/clusterdb
cvsdist c205ec8
%{_bindir}/createdb
cvsdist c205ec8
%{_bindir}/createuser
cvsdist c205ec8
%{_bindir}/dropdb
cvsdist c205ec8
%{_bindir}/dropuser
cvsdist c205ec8
%{_bindir}/pg_dump
cvsdist c205ec8
%{_bindir}/pg_dumpall
24c5bf3
%{_bindir}/pg_isready
cvsdist c205ec8
%{_bindir}/pg_restore
2427b5e
%{_bindir}/pg_upgrade
cvsdist c205ec8
%{_bindir}/psql
80b1cae
%{_bindir}/reindexdb
cvsdist c205ec8
%{_bindir}/vacuumdb
cvsdist c205ec8
%{_mandir}/man1/clusterdb.*
cvsdist c205ec8
%{_mandir}/man1/createdb.*
cvsdist c205ec8
%{_mandir}/man1/createuser.*
cvsdist c205ec8
%{_mandir}/man1/dropdb.*
cvsdist c205ec8
%{_mandir}/man1/dropuser.*
cvsdist c205ec8
%{_mandir}/man1/pg_dump.*
cvsdist c205ec8
%{_mandir}/man1/pg_dumpall.*
24c5bf3
%{_mandir}/man1/pg_isready.*
cvsdist c205ec8
%{_mandir}/man1/pg_restore.*
2427b5e
%{_mandir}/man1/pg_upgrade.*
cvsdist c205ec8
%{_mandir}/man1/psql.*
80b1cae
%{_mandir}/man1/reindexdb.*
cvsdist c205ec8
%{_mandir}/man1/vacuumdb.*
cvsdist c205ec8
%{_mandir}/man7/*
01110f9
%if %llvmjit
01110f9
# Install bitcode directory along with the main package,
01110f9
# so that extensions can use this dir.
01110f9
%dir %{_libdir}/pgsql/bitcode
01110f9
%endif
d12fb44
d12fb44
0eaa9ce
%if ! %external_libpq
d12fb44
%files private-libs
0eaa9ce
%{_libdir}/libpq.so.*
0eaa9ce
%endif
8ac102b
d12fb44
cvsdist c205ec8
%files docs
6e96691
%doc *-US.pdf
bf770dd
%doc doc/html
3ca08a7
%{_libdir}/pgsql/tutorial/
cvsdist c205ec8
8ac102b
d3a91d2
%files contrib -f contrib.lst
3ca08a7
%doc contrib/spi/*.example
3ca08a7
%{_bindir}/oid2name
371af17
%{_bindir}/pg_amcheck
3ca08a7
%{_bindir}/pg_archivecleanup
3ca08a7
%{_bindir}/pg_test_fsync
3ca08a7
%{_bindir}/pg_test_timing
d3a91d2
%{_bindir}/pg_waldump
3ca08a7
%{_bindir}/pgbench
3ca08a7
%{_bindir}/vacuumlo
Tom Lane d1e157d
%{_datadir}/pgsql/extension/adminpack*
d3a91d2
%{_datadir}/pgsql/extension/amcheck*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/autoinc*
97dfdfe
%{_datadir}/pgsql/extension/bloom*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/btree_gin*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/btree_gist*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/citext*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/cube*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/dblink*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/dict_int*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/dict_xsyn*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/earthdistance*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/file_fdw*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/fuzzystrmatch*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/hstore*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/insert_username*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/intagg*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/intarray*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/isn*
626e81a
%if %{plperl}
626e81a
%{_datadir}/pgsql/extension/jsonb_plperl*
626e81a
%endif
626e81a
%if %{plpython3}
626e81a
%{_datadir}/pgsql/extension/jsonb_plpython3u*
626e81a
%endif
Tom Lane d1e157d
%{_datadir}/pgsql/extension/lo*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/ltree*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/moddatetime*
371af17
%{_datadir}/pgsql/extension/old_snapshot*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/pageinspect*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/pg_buffercache*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_freespacemap*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_prewarm*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_stat_statements*
371af17
%{_datadir}/pgsql/extension/pg_surgery*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_trgm*
97dfdfe
%{_datadir}/pgsql/extension/pg_visibility*
3ca08a7
%{_datadir}/pgsql/extension/pgcrypto*
3ca08a7
%{_datadir}/pgsql/extension/pgrowlocks*
3ca08a7
%{_datadir}/pgsql/extension/pgstattuple*
24c5bf3
%{_datadir}/pgsql/extension/postgres_fdw*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/refint*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/seg*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/tablefunc*
Tom Lane 795d3d1
%{_datadir}/pgsql/extension/tcn*
2427b5e
%{_datadir}/pgsql/extension/tsm_system_rows*
2427b5e
%{_datadir}/pgsql/extension/tsm_system_time*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/unaccent*
3ca08a7
%{_libdir}/pgsql/_int.so
9405842
%{_libdir}/pgsql/adminpack.so
d3a91d2
%{_libdir}/pgsql/amcheck.so
Tom Lane d1e157d
%{_libdir}/pgsql/auth_delay.so
084ca74
%{_libdir}/pgsql/auto_explain.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/autoinc.so
97dfdfe
%{_libdir}/pgsql/bloom.so
084ca74
%{_libdir}/pgsql/btree_gin.so
cvsdist c205ec8
%{_libdir}/pgsql/btree_gist.so
084ca74
%{_libdir}/pgsql/citext.so
cvsdist c205ec8
%{_libdir}/pgsql/cube.so
cvsdist c205ec8
%{_libdir}/pgsql/dblink.so
8bf3ae4
%{_libdir}/pgsql/dict_int.so
8bf3ae4
%{_libdir}/pgsql/dict_xsyn.so
cvsdist c205ec8
%{_libdir}/pgsql/earthdistance.so
Tom Lane d1e157d
%{_libdir}/pgsql/file_fdw.so
cvsdist c205ec8
%{_libdir}/pgsql/fuzzystrmatch.so
9405842
%{_libdir}/pgsql/hstore.so
2427b5e
%if %plperl
2427b5e
%{_libdir}/pgsql/hstore_plperl.so
2427b5e
%endif
840f216
%if %plpython3
840f216
%{_libdir}/pgsql/hstore_plpython3.so
840f216
%endif
cvsdist c205ec8
%{_libdir}/pgsql/insert_username.so
9405842
%{_libdir}/pgsql/isn.so
626e81a
%if %plperl
626e81a
%{_libdir}/pgsql/jsonb_plperl.so
626e81a
%endif
840f216
%if %plpython3
840f216
%{_libdir}/pgsql/jsonb_plpython3.so
840f216
%endif
cvsdist c205ec8
%{_libdir}/pgsql/lo.so
cvsdist c205ec8
%{_libdir}/pgsql/ltree.so
840f216
%if %plpython3
840f216
%{_libdir}/pgsql/ltree_plpython3.so
840f216
%endif
cvsdist c205ec8
%{_libdir}/pgsql/moddatetime.so
371af17
%{_libdir}/pgsql/old_snapshot.so
8bf3ae4
%{_libdir}/pgsql/pageinspect.so
Tom Lane 4753f36
%{_libdir}/pgsql/passwordcheck.so
80b1cae
%{_libdir}/pgsql/pg_buffercache.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_freespacemap.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_stat_statements.so
371af17
%{_libdir}/pgsql/pg_surgery.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_trgm.so
97dfdfe
%{_libdir}/pgsql/pg_visibility.so
3ca08a7
%{_libdir}/pgsql/pgcrypto.so
3ca08a7
%{_libdir}/pgsql/pgrowlocks.so
3ca08a7
%{_libdir}/pgsql/pgstattuple.so
24c5bf3
%{_libdir}/pgsql/postgres_fdw.so
cvsdist c205ec8
%{_libdir}/pgsql/refint.so
cvsdist c205ec8
%{_libdir}/pgsql/seg.so
cvsdist c205ec8
%{_libdir}/pgsql/tablefunc.so
Tom Lane 795d3d1
%{_libdir}/pgsql/tcn.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/test_decoding.so
2427b5e
%{_libdir}/pgsql/tsm_system_rows.so
2427b5e
%{_libdir}/pgsql/tsm_system_time.so
Tom Lane 4753f36
%{_libdir}/pgsql/unaccent.so
3ca08a7
%{_mandir}/man1/oid2name.*
371af17
%{_mandir}/man1/pg_amcheck.*
3ca08a7
%{_mandir}/man1/pg_archivecleanup.*
3ca08a7
%{_mandir}/man1/pg_recvlogical.*
3ca08a7
%{_mandir}/man1/pg_test_fsync.*
3ca08a7
%{_mandir}/man1/pg_test_timing.*
d3a91d2
%{_mandir}/man1/pg_waldump.*
3ca08a7
%{_mandir}/man1/pgbench.*
3ca08a7
%{_mandir}/man1/vacuumlo.*
3ca08a7
%{_mandir}/man3/dblink*
Tom Lane 13cd21d
%if %selinux
Tom Lane 13cd21d
%{_datadir}/pgsql/contrib/sepgsql.sql
Tom Lane 13cd21d
%{_libdir}/pgsql/sepgsql.so
Tom Lane 13cd21d
%endif
Tom Lane 13cd21d
%if %ssl
Tom Lane 13cd21d
%{_datadir}/pgsql/extension/sslinfo*
Tom Lane 13cd21d
%{_libdir}/pgsql/sslinfo.so
Tom Lane 13cd21d
%endif
8bf3ae4
%if %uuid
Tom Lane d1e157d
%{_datadir}/pgsql/extension/uuid-ossp*
8bf3ae4
%{_libdir}/pgsql/uuid-ossp.so
8bf3ae4
%endif
32269db
%if %xml
Tom Lane d1e157d
%{_datadir}/pgsql/extension/xml2*
32269db
%{_libdir}/pgsql/pgxml.so
32269db
%endif
cvsdist c205ec8
cvsdist c205ec8
%files server -f server.lst
cvsdist c205ec8
%{_bindir}/initdb
Tom Lane d1e157d
%{_bindir}/pg_basebackup
cvsdist c205ec8
%{_bindir}/pg_controldata
cvsdist c205ec8
%{_bindir}/pg_ctl
d3a91d2
%{_bindir}/pg_receivewal
Jozef Mlich fd57b14
%{_bindir}/pg_recvlogical
d3a91d2
%{_bindir}/pg_resetwal
2427b5e
%{_bindir}/pg_rewind
01110f9
%{_bindir}/pg_checksums
b081e11
%{_bindir}/pg_verifybackup
cvsdist c205ec8
%{_bindir}/postgres
Tom Lane 72893f4
%{_bindir}/postgresql-setup
0ab52b8
%{_bindir}/postgresql-upgrade
Jozef Mlich fd57b14
%{_bindir}/postmaster
3ca08a7
%dir %{_datadir}/pgsql
3ca08a7
%{_datadir}/pgsql/*.sample
3ca08a7
%dir %{_datadir}/pgsql/contrib
3ca08a7
%dir %{_datadir}/pgsql/extension
3ca08a7
%{_datadir}/pgsql/extension/plpgsql*
3ca08a7
%{_datadir}/pgsql/information_schema.sql
cvsdist c205ec8
%{_datadir}/pgsql/postgres.bki
3ca08a7
%{_datadir}/pgsql/snowball_create.sql
3ca08a7
%{_datadir}/pgsql/sql_features.txt
371af17
%{_datadir}/pgsql/system_constraints.sql
371af17
%{_datadir}/pgsql/system_functions.sql
6e96691
%{_datadir}/pgsql/system_views.sql
9405842
%{_datadir}/pgsql/timezonesets/
8bf3ae4
%{_datadir}/pgsql/tsearch_data/
c14bb2c
%dir %{_datadir}/postgresql-setup
Jozef Mlich 08eb705
%{_datadir}/postgresql-setup/library.sh
95a1777
%dir %{_libdir}/pgsql
3ca08a7
%{_libdir}/pgsql/*_and_*.so
8bf3ae4
%{_libdir}/pgsql/dict_snowball.so
3ca08a7
%{_libdir}/pgsql/euc2004_sjis2004.so
3ca08a7
%{_libdir}/pgsql/libpqwalreceiver.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_prewarm.so
d3a91d2
%{_libdir}/pgsql/pgoutput.so
cvsdist c205ec8
%{_libdir}/pgsql/plpgsql.so
3ca08a7
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
3ca08a7
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
3ca08a7
%{_libexecdir}/postgresql-check-db-dir
Jozef Mlich 08eb705
%dir %{_sysconfdir}/postgresql-setup
Jozef Mlich 08eb705
%dir %{_sysconfdir}/postgresql-setup/upgrade
Jozef Mlich 08eb705
%config %{_sysconfdir}/postgresql-setup/upgrade/*.conf
3ca08a7
%{_mandir}/man1/initdb.*
3ca08a7
%{_mandir}/man1/pg_basebackup.*
3ca08a7
%{_mandir}/man1/pg_controldata.*
3ca08a7
%{_mandir}/man1/pg_ctl.*
d3a91d2
%{_mandir}/man1/pg_receivewal.*
d3a91d2
%{_mandir}/man1/pg_resetwal.*
2427b5e
%{_mandir}/man1/pg_rewind.*
01110f9
%{_mandir}/man1/pg_checksums.*
b081e11
%{_mandir}/man1/pg_verifybackup.*
3ca08a7
%{_mandir}/man1/postgres.*
6f2e353
%{_mandir}/man1/postgresql-new-systemd-unit.*
3ca08a7
%{_mandir}/man1/postgresql-setup.*
0ab52b8
%{_mandir}/man1/postgresql-upgrade.*
3ca08a7
%{_mandir}/man1/postmaster.*
6f2e353
%{_sbindir}/postgresql-new-systemd-unit
b6b61d6
%{_tmpfilesdir}/postgresql.conf
19af205
%{_unitdir}/*postgresql*.service
19af205
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
19af205
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
19af205
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
19af205
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
19af205
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
3ca08a7
%if %pam
3ca08a7
%config(noreplace) /etc/pam.d/postgresql
3ca08a7
%endif
cvsdist c205ec8
19af205
ffc865e
%files server-devel -f devel.lst
ffc865e
%{_bindir}/pg_server_config
626e81a
%dir %{_datadir}/pgsql
626e81a
%{_datadir}/pgsql/errcodes.txt
ffc865e
%dir %{_includedir}/pgsql
ffc865e
%{_includedir}/pgsql/server
6e96691
%{_libdir}/pgsql/pgxs/
ffc865e
%{_mandir}/man1/pg_server_config.*
Tom Lane 4753f36
%{_mandir}/man3/SPI_*
07894e0
%{macrosdir}/macros.%name
d12fb44
d12fb44
9e2fd57
%if ! %external_libpq
d12fb44
%files private-devel
9e2fd57
%{_bindir}/pg_config
9e2fd57
%{_includedir}/libpq-events.h
9e2fd57
%{_includedir}/libpq-fe.h
9e2fd57
%{_includedir}/postgres_ext.h
9e2fd57
%{_includedir}/pgsql/internal/*.h
9e2fd57
%{_includedir}/pgsql/internal/libpq/pqcomm.h
9e2fd57
%{_includedir}/libpq/*.h
9e2fd57
%{_libdir}/pkgconfig/*.pc
9e2fd57
%{_libdir}/libpq.so
9e2fd57
%{_includedir}/pg_config*.h
9e2fd57
%endif
Tom Lane 4753f36
50065a2
50065a2
%files test-rpm-macros
50065a2
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
8ac102b
%{macrosdir}/macros.%name-test
50065a2
50065a2
f01c700
%files static
f01c700
%{_libdir}/libpgcommon.a
f01c700
%{_libdir}/libpgport.a
01110f9
%{_libdir}/libpgcommon_shlib.a
01110f9
%{_libdir}/libpgport_shlib.a
f01c700
8ac102b
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
%files upgrade
83fb3d5
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin
83fb3d5
%exclude %{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin/pg_config
83fb3d5
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib
83fb3d5
%exclude %{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib/pgxs
83fb3d5
%exclude %{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib/pkgconfig
83fb3d5
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/share
Jozef Mlích 710aefb
8ac102b
Jozef Mlích 710aefb
%files upgrade-devel
Jozef Mlích 710aefb
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin/pg_config
83fb3d5
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/include
83fb3d5
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib/pkgconfig
83fb3d5
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib/pgxs
07894e0
%{macrosdir}/macros.%name-upgrade
Tom Lane 4753f36
%endif
cvsdist c205ec8
01110f9
%if %llvmjit
01110f9
%files llvmjit
01110f9
%defattr(-,root,root)
01110f9
%{_libdir}/pgsql/bitcode/*
01110f9
%{_libdir}/pgsql/llvmjit.so
01110f9
%{_libdir}/pgsql/llvmjit_types.bc
01110f9
%endif
8ac102b
cvsdist c205ec8
%if %plperl
084ca74
%files plperl -f plperl.lst
b081e11
%{_datadir}/pgsql/extension/bool_plperl*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/plperl*
b081e11
%{_libdir}/pgsql/bool_plperl.so
cvsdist c205ec8
%{_libdir}/pgsql/plperl.so
cvsdist c205ec8
%endif
d6ea25d
8ac102b
cvsdist c205ec8
%if %pltcl
084ca74
%files pltcl -f pltcl.lst
3ca08a7
%{_datadir}/pgsql/extension/pltcl*
3ca08a7
%{_libdir}/pgsql/pltcl.so
cvsdist c205ec8
%endif
d6ea25d
8ac102b
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
%files plpython3 -f plpython3.lst
Tom Lane 795d3d1
%{_datadir}/pgsql/extension/plpython3*
Tom Lane 795d3d1
%{_libdir}/pgsql/plpython3.so
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
8ac102b
cvsdist c205ec8
%if %test
cvsdist c205ec8
%files test
3ca08a7
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
cvsdist c205ec8
%endif
cvsdist c205ec8
8ac102b
cvsdist c205ec8
%changelog
07442b9
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 14.3-5
07442b9
- Rebuilt for Python 3.11
07442b9
8b4a2d7
* Mon Jun 06 2022 Honza Horak <hhorak@redhat.com> - 14.3-4
8b4a2d7
- Fix compatibility with Perl 5.36
8b4a2d7
  Resolves: #2092426
8b4a2d7
2e3ea50
* Mon Jun 06 2022 Honza Horak <hhorak@redhat.com> - 14.3-3
2e3ea50
- Fix handling of errors during transaction with Python 3.11
2e3ea50
  Resolves: #2023272
2e3ea50
1c40401
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 14.3-2
1c40401
- Perl 5.36 rebuild
1c40401
6e41c39
* Tue May 31 2022 Honza Horak <hhorak@redhat.com> - 14.3-1
6e41c39
- Update to 14.3
6e41c39
  Also fixes: CVE-2022-1552
6e41c39
4597c0d
* Mon Apr 04 2022 Filip Janus <fjanus@redhat.com> - 14.2-3
4597c0d
- Add build requirement util-linux
4597c0d
cad6817
* Wed Feb 23 2022 Marek Kulik <mkulik@redhat.com> - 14.2-2
cad6817
- Disable package note generation due to extension build issue.
cad6817
22d30cc
* Wed Feb 09 2022 Filip Janus <fjanus@redhat.com> - 14.2-1
22d30cc
- Update to 14.2
22d30cc
e3e990e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.1-2
e3e990e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
e3e990e
371af17
* Wed Jan 05 2022 Filip Januš <fjanus@redhat.com> - 14.1-1
371af17
- Update to 14.1
371af17
- Update postgresql-setup to v8.7
371af17
- Resolves: https://fedoraproject.org/wiki/Changes/PostgreSQL_14
371af17
260f86c
* Mon Dec 13 2021 Marek Kulik <mkulik@redhat.com> - 13.5-1
260f86c
- Update to 13.5
260f86c
  Remove patch postgresql-pgcrypto-openssl3-init.patch - already in upstream
260f86c
20d84be
* Thu Nov 18 2021 Marek Kulik <mkulik@redhat.com> - 13.4-5
20d84be
- Update postgresql-setup to v8.6
20d84be
2730106
* Tue Oct 19 2021 Filip Januš <fjanus@redhat.com> - 13.4-4
2730106
- rebuild after llvm .so name chnage
2730106
21b8d7a
* Wed Oct 06 2021 Filip Januš <fjanus@redhat.com> - 13.4-3
21b8d7a
- Add patch 13 - corrects initialization of ciphers
21b8d7a
- Add patch 14 - disable unsupported ciphers in test suite
21b8d7a
f7fb7fc
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 13.4-2
f7fb7fc
- Rebuilt with OpenSSL 3.0.0
f7fb7fc
07cc19d
* Thu Aug 12 2021 Filip Januš <fjanus@rehdat.com> - 13.4-1
07cc19d
- Update to 13.4
07cc19d
- Disable postgresql-subtransaction-test.patch
07cc19d
  now succeeds without patch
07cc19d
08bdabc
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.3-5
08bdabc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
08bdabc
24c8fef
* Tue Jul 20 2021 Filip Januš <fjanus@redhat.com> - 13.3-4
24c8fef
- Enable ssl and other features for upgrade server
24c8fef
0eaa9ce
* Fri Jun 04 2021 Honza Horak <hhorak@redhat.com> - 13.3-3
0eaa9ce
- Build with a private libpq
8b2a0b6
  Resolves: #1905584
0eaa9ce
3ccb5d8
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 13.3-2
3ccb5d8
- Rebuilt for Python 3.10
3ccb5d8
0bf1efb
* Fri May 21 2021 Filip Januš <fjanus@redhat.com> - 13.3-1
0bf1efb
- Update to 13.3
0bf1efb
43201d5
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 13.2-9
43201d5
- Perl 5.34 rebuild
43201d5
aa29ed6
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 13.2-8
aa29ed6
- Rebuild for ICU 69
aa29ed6
91d03e3
* Tue May 11 2021 Honza Horak <hhorak@redhat.com> - 13.2-7
91d03e3
- Fix subtransaction test for Python 3.10
91d03e3
  Resolves: #1959080
8d886c8
41cd600
* Thu Apr 22 2021 Honza Horak <hhorak@redhat.com> - 13.2-6
41cd600
- Fix jit failure on s390x
41cd600
  Thanks to Tom Stellard
41cd600
  Related: #1940964
41cd600
0b7d13d
* Tue Apr 20 2021 Honza Horak <hhorak@redhat.com> - 13.2-5
0b7d13d
- Add macro for llvmjit settings
0b7d13d
8b2a0b6
* Wed Mar 17 2021 Honza Horak <hhorak@redhat.com> - 13.2-4
e084551
- Remove plpython2 entirely, same as upstream did
e084551
  Resolves: #1913681
34a02d6
- Disable llvmjit in order to build at all
34a02d6
  Related: #1940964
e084551
e45b75d
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 13.2-3
e45b75d
- Rebuilt for updated systemd-rpm-macros
e45b75d
  See https://pagure.io/fesco/issue/2583.
e45b75d
bd3d5e9
* Wed Feb 17 2021 Honza Horak <hhorak@redhat.com> - 13.2-2
bd3d5e9
- Do not build plpython on RHEL > 8
bd3d5e9
  Related: #1913681
bd3d5e9
8784e33
* Tue Feb 16 2021 Honza Horak <hhorak@redhat.com> - 13.2-1
8784e33
- Update to 13.2
8784e33
af5a1aa
* Fri Feb 12 2021 Michal Schorm <mschorm@redhat.com> - 13.1-2
af5a1aa
- Remove ancient PPC64 hack
af5a1aa
8784e33
* Wed Jan 13 2021 Honza Horak <hhorak@redhat.com> - 13.1-1
b081e11
- Rebase to usptream release 13.1
b081e11
fbf0534
* Wed Jan 13 2021 Patrik Novotný <panovotn@redhat.com> - 12.5-1
fbf0534
- Rebase to upstream release 12.5
fbf0534
  Patch for libpq 13.x build time compatibility
fbf0534
  Fixes CVE-2020-25694
fbf0534
  Fixes CVE-2020-25695
fbf0534
  Fixes CVE-2020-25696
fbf0534
c924b35
* Wed Jan 06 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.4-5
6abbbcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6abbbcd
0ab52b8
* Mon Nov 16 2020 Honza Horak <hhorak@redhat.com> - 12.4-4
0ab52b8
- Update postgresql-setup to v8.5
0ab52b8
33d08c0
* Fri Oct 09 2020 Honza Horak <hhorak@redhat.com> - 12.4-3
33d08c0
- Removing problematic requirements on ppc64 arch
33d08c0
  Resolves: #1882642
33d08c0
d97a199
* Fri Aug 21 2020 Jeff Law <law@redhat.com> - 12.4-2
d97a199
- Re-enable LTO
d97a199
b5c03e5
* Tue Aug 18 2020 Patrik Novotný <panovotn@redhat.com> - 12.4-1
b5c03e5
- Rebase to upstream release 12.4
b5c03e5
d45fe7a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.3-6
d45fe7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d45fe7a
86232b0
* Fri Jul 24 2020 Jeff Law <law@redhat.com> - 12.3-5
86232b0
- Disable LTO
86232b0
9d4f356
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 12.3-4
9d4f356
- Perl 5.32 rebuild
9d4f356
db7b88d
* Sat Jun 06 2020 Pavel Raiskup <praiskup@redhat.com> - 12.3-3
db7b88d
- add docbook-style-xsl to BuildRequires
db7b88d
4611924
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 12.3-2
4611924
- Rebuilt for Python 3.9
4611924
15682df
* Tue May 19 2020 Patrik Novotný <panovotn@redhat.com> - 12.3-2
15682df
- Drop postgresql-man.patch
15682df
8dad51a
* Mon May 18 2020 Patrik Novotný <panovotn@redhat.com> - 12.3-1
8dad51a
- Rebase to upstream release 12.3
8dad51a
32d2abe
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 12.2-3
32d2abe
- Rebuild for ICU 67
32d2abe
22cc719
* Thu Mar 12 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-2
22cc719
- Fix requirements for JIT in postgresql-server-devel
22cc719
- Fix build issues regarding new perl update
22cc719
9637a4e
* Fri Feb 14 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-1
9637a4e
- Rebase to upstream release 12.2
9637a4e
01110f9
* Tue Feb 11 2020 Patrik Novotný <panovotn@redhat.com> - 12.1-1
01110f9
- Rebase to upstream release 12.1
01110f9
261eac4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.6-2
261eac4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
261eac4
b70ea66
* Mon Nov 25 2019 Patrik Novotný <panovotn@redhat.com> - 11.6-1
b70ea66
- Rebase to upstream version 11.6
b70ea66
368b14b
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 11.5-6
368b14b
- Rebuild for ICU 65
368b14b
f86d009
* Thu Sep 05 2019 Patrik Novotný <panovotn@redhat.com> - 11.5-5
f86d009
- postgresql-server-devel requires krb5-devel
f86d009
f25f4d7
* Tue Sep 03 2019 Patrik Novotný <panovotn@redhat.com> - 11.5-4
f25f4d7
- Add explicit obsoletes to plpython2 package
f25f4d7
5c5f249
* Mon Sep 02 2019 Patrik Novotný <panovotn@redhat.com> - 11.5-3
5c5f249
- Rename plpython to plpython2 and provide plpython virtually.
5c5f249
2c626b6
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 11.5-2
2c626b6
- Rebuilt for Python 3.8
2c626b6
910a512
* Wed Aug 07 2019 Petr Kubat <pkubat@redhat.com> - 11.5-1
910a512
- New upstream version 11.5
910a512
  https://www.postgresql.org/docs/11/release-11-5.html
910a512
8738443
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.4-2
8738443
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8738443
e6a3dbb
* Tue Jul 09 2019 Petr Kubat <pkubat@redhat.com> - 11.4-1
e6a3dbb
- New upstream version 11.4
e6a3dbb
  https://www.postgresql.org/docs/11/release-11-4.html
e6a3dbb
bcb06d9
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 11.3-2
bcb06d9
- Perl 5.30 rebuild
bcb06d9
083e635
* Thu May 09 2019 Patrik Novotný <panovotn@redhat.com> - 11.3-1
083e635
- Rebase to upstream release 11.3
083e635
  https://www.postgresql.org/docs/11/release-11-3.html
083e635
538260f
* Tue Mar 05 2019 Pavel Raiskup <praiskup@redhat.com> - 11.2-3
538260f
- update postgresql-setup to 8.4 (related to rhbz#1668301)
538260f
b6f5483
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 11.2-2
b6f5483
- Rebuild for readline 8.0
b6f5483
c56e80e
* Thu Feb 14 2019 Patrik Novotný <panovotn@redhat.com> - 11.2-1
c56e80e
- Rebase to upstream release 11.2
c56e80e
27dc0dd
* Thu Feb 14 2019 Pavel Raiskup <praiskup@redhat.com> - 11.1-5
27dc0dd
- protect against building server against older libpq library
27dc0dd
d93212b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.1-4
d93212b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d93212b
70efd44
* Tue Jan 22 2019 Pavel Raiskup <praiskup@redhat.com> - 11.1-3
70efd44
- build with ICU support, to provide more opt-in collations
70efd44
b498ca8
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 11.1-2
b498ca8
- Rebuilt for libcrypt.so.2 (#1666033)
b498ca8
ad8ff44
* Wed Nov 07 2018 Patrik Novotný <panovotn@redhat.com> - 11.1-1
ad8ff44
- Rebase to upstream release 11.1
ad8ff44
  https://www.postgresql.org/docs/11/release-11-1.html
ad8ff44
840f216
* Fri Oct 26 2018 Pavel Raiskup <praiskup@redhat.com> - 11.0-2
840f216
- build also contrib *plpython3 modules
840f216
626e81a
* Tue Oct 16 2018 Pavel Raiskup <praiskup@redhat.com> - 11.0-1
626e81a
- new upstream release, per release notes:
ad8ff44
  https://www.postgresql.org/docs/11/static/release-11.html
626e81a
ffc865e
* Wed Sep 05 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-4
ffc865e
- build without postgresql-libs; libraries moved to libpq and libecpg
ffc865e
b46d68a
* Mon Aug 27 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-3
b46d68a
- devel subpackage provides postgresql-server-devel and libecpg-devel
b46d68a
  (first step for rhbz#1618698)
b46d68a
15c9a5a
* Mon Aug 27 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-2
15c9a5a
- packaging cleanup
9242708
- devel subpackage to provide libpq-devel (first step for rhbz#1618698)
15c9a5a
51abe65
* Wed Aug 08 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-1
51abe65
- update to 10.5 per release notes:
51abe65
  https://www.postgresql.org/docs/10/static/release-10-5.html
51abe65
ff6bdd2
* Thu Aug 02 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-8
ff6bdd2
- new postgresql-setup, the %%postgresql_tests* macros now start
ff6bdd2
  the build-time server on random port number
ff6bdd2
e4f9b1f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.4-7
e4f9b1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e4f9b1f
be2d41d
* Thu Jul 12 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-6
be2d41d
- drop ppc64 patch, gcc is already fixed (rhbz#1544349)
f1d6398
- move pg_config*.mo files into devel subpackage
be2d41d
07daa8e
* Mon Jul 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-5
07daa8e
- re-enable -O3 for 64bit PPC boxes
db5a549
- explicitly set PYTHON=python2, /bin/python doesn't exist fc29+
07daa8e
12b384b
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 10.4-4
12b384b
- Perl 5.28 rebuild
12b384b
82e5aaa
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 10.4-3
82e5aaa
- Perl 5.28 rebuild
82e5aaa
d18c574
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 10.4-2
d18c574
- Rebuilt for Python 3.7
d18c574
b707571
* Wed May 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-1
b707571
- update to 10.4 per release notes:
b707571
  https://www.postgresql.org/docs/10/static/release-10-4.html
b707571
c8ac449
* Thu Apr 26 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-5
c8ac449
- pltcl: drop tcl-pltcl dependency (rhbz#1571181)
c8ac449
cc5d65f
* Thu Apr 19 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-4
cc5d65f
- upgrade: package plpython*.so modules
cc5d65f
3e9c3b5
* Mon Apr 16 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-3
3e9c3b5
- upgrade: package plperl.so and pltcl.so
bf6f085
- upgrade: package contrib modules
1942c8b
- upgrade: drop dynamic libraries
3e9c3b5
5b50426
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-2
5b50426
- define %%precise_version helper macro
5b50426
- drop explicit libpq.so provide from *-libs
fa3717b
- update postgresql-setup tarball
50065a2
- add postgresql-test-rpm-macros package
5b50426
7e03144
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-1
7e03144
- update to 10.3 per release notes:
7e03144
  https://www.postgresql.org/docs/10/static/release-10-3.html
7e03144
82b3e4e
* Thu Feb 08 2018 Petr Kubat <pkubat@redhat.com> - 10.2-1
82b3e4e
- update to 10.2 per release notes:
82b3e4e
  https://www.postgresql.org/docs/10/static/release-10-2.html
82b3e4e
0df80d9
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 10.1-5
0df80d9
- Rebuilt for switch to libxcrypt
0df80d9
5dec06f
* Tue Dec 19 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-4
5dec06f
- configure with --with-systemd (rhbz#1414314)
5dec06f
- disable startup timeout of PostgreSQL service (rhbz#1525477)
5dec06f
5fbaf23
* Wed Dec 13 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-3
5fbaf23
- unify %%configure options for python2/python3 configure
55a65cc
- drop --with-krb5 option, not supported since PostgreSQL 9.4
ead24cd
- python packaging - requires/provides s/python/python2/
5fbaf23
0a81447
* Tue Nov 14 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-2
0a81447
- postgresql-setup v7.0
0a81447
971c8f8
* Wed Nov 08 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-1
971c8f8
- update to 10.1 per release notes:
971c8f8
  https://www.postgresql.org/docs/10/static/release-10-1.html
971c8f8
6f2e353
* Mon Nov 06 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-4
6f2e353
- rebase to new postgresql-setup 6.0 version, to fix CVE-2017-15097
6f2e353
4a3d241
* Thu Oct 12 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-3
4a3d241
- confess that we bundle setup scripts and previous version of ourseleves
07894e0
- provide %%postgresql_upgrade_prefix macro
4a3d241
83fb3d5
* Mon Oct 09 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-2
83fb3d5
- stricter separation of files in upgrade/upgrade-devel
83fb3d5
Jozef Mlích 710aefb
* Mon Oct 09 2017 Jozef Mlich <jmlich@redhat.com> - 10.0-2
Jozef Mlích 710aefb
- support for upgrade with extenstions
Jozef Mlích 710aefb
  i.e the postgresql-upgrade-devel subpackage was added (rhbz#1475177)
Jozef Mlích 710aefb
d3a91d2
* Fri Oct 06 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-1
d3a91d2
- update to 10.0 per release notes:
d3a91d2
  https://www.postgresql.org/docs/10/static/release-10.html
d3a91d2
e1715bb
* Tue Sep 05 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-2
e1715bb
- move %%_libdir/pgsql into *-libs subpackage
e1715bb
d93550a
* Tue Aug 29 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-1
d93550a
- update to 9.6.5 per release notes:
d93550a
  https://www.postgresql.org/docs/9.6/static/release-9-6-5.html
d93550a
698585a
* Tue Aug 08 2017 Petr Kubat <pkubat@redhat.com> - 9.6.4-1
698585a
- update to 9.6.4 per release notes:
698585a
  https://www.postgresql.org/docs/9.6/static/release-9-6-4.html
698585a
c719c5e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.3-9
c719c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c719c5e
e244775
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.3-8
e244775
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e244775
c27dd8d
* Mon Jul 24 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-7
c27dd8d
- drop perl rpath patch; libperl.so* is now in %%_libdir (rhbz#1474417)
c27dd8d
7c1110c
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-6
25dea2d
- don't provide libpqwalreceiver.so() soname
25dea2d
36a141a
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-5
36a141a
- drop the __os_install_post redefinition hack
36a141a
235453b
* Mon Jun 12 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-4
235453b
- drop -DLINUX_OOM_SCORE_ADJ=0 define from CFLAGS (rhbz#1110969, rhbz#1436554)
235453b
19739cf
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 9.6.3-3
19739cf
- Perl 5.26 rebuild
19739cf
5b2a26a
* Mon May 22 2017 Petr Kubat <pkubat@redhat.com> - 9.6.3-2
5b2a26a
- fix indentation issues in hstore_plperlu test-case (rhbz#1453111)
5b2a26a
4aa087f
* Thu May 11 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
4aa087f
- update to 9.6.3 per release notes:
4aa087f
  https://www.postgresql.org/docs/9.6/static/release-9-6-3.html
4aa087f
cb6e898
* Mon Apr 24 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-4
cb6e898
- rebase to postgresql-setup 5.1
cb6e898
56b78dd
* Mon Apr 10 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-3
19af205
- spring cleanup
19af205
55a2b11
* Mon Mar 27 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-2
55a2b11
- rebuild for rhbz#1436006
55a2b11
86f7229
* Wed Feb 22 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-1
f200f72
- update to 9.6.2 per release notes:
f200f72
  https://www.postgresql.org/docs/9.6/static/release-9-6-2.html
86f7229
- remove mistakenly isntalled libpgfeutils.a
f200f72
Igor Gnatenko 069ea47
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 9.6.1-3
Igor Gnatenko 069ea47
- Rebuild for readline 7.x
Igor Gnatenko 069ea47
61feab0
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 9.6.1-2
61feab0
- Rebuild for Python 3.6
61feab0
30648b9
* Wed Oct 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.1-1
30648b9
- update to 9.6.1 per release notes:
30648b9
  https://www.postgresql.org/docs/9.6/static/release-9-6-1.html
30648b9
- add gen_sources.sh script
ba2a356
- remove plpython build hack, fixed upstream
b0108e4
- remove aarch64 and ppc64p7 hacks, fixed by the %%configure call
30648b9
bb1db95
* Tue Oct 04 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
bb1db95
- rebase the postgresql-setup tarball
bb1db95
97dfdfe
* Fri Sep 30 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
97dfdfe
- update to 9.6.0 per release notes:
97dfdfe
  https://www.postgresql.org/docs/9.6/static/release-9-6.html
97dfdfe
5239ac0
* Fri Aug 12 2016 Petr Kubat <pkubat@redhat.com> - 9.5.4-1
5239ac0
- update to 9.5.4 per release notes:
5239ac0
  http://www.postgresql.org/docs/9.5/static/release-9-5-4.html
5239ac0
a3f63f1
* Mon Jun 20 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.3-3
a3f63f1
- use multilib-rpm-config package for multilib hacks
a3f63f1
b530813
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 9.5.3-2
b530813
- Perl 5.24 rebuild
b530813
f164285
* Thu May 12 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.3-1
f164285
- update to 9.5.3 per release notes:
f164285
  http://www.postgresql.org/docs/9.5/static/release-9-5-3.html
f164285
269d2b7
* Mon May 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-2
269d2b7
- fix the test subpackage, pg_regress now uses --bindir
269d2b7
b6b08df
* Sun Apr 03 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-1
b6b08df
- update to 9.5.2 per release notes
b6b08df
  http://www.postgresql.org/docs/9.5/static/release-9-5-2.html
b6b08df
f01c700
* Fri Feb 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-2
f01c700
- package static libraries without dynamic counterparts (rhbz#784281)
f01c700
89f36b7
* Tue Feb 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-1
89f36b7
- update to 9.5.1 per release notes
89f36b7
  http://www.postgresql.org/docs/9.5/static/release-9-5-1.html
89f36b7
c12fcd3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.5.0-2
c12fcd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c12fcd3
2427b5e
* Wed Jan 06 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.0-1
2427b5e
- update to 9.5.0 per release notes
2427b5e
  http://www.postgresql.org/docs/9.5/static/release-9-5.html
04a9ae7
- update postgresql-setup to v4.0 to reflect new packaging style
2427b5e
2427b5e
* Wed Dec 16 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.4.5-5
Pavel Kajaba 1032664
- fixed problem with xml2 test (rhbz#1286692)
Pavel Kajaba 1032664
Pavel Kajaba bda5fb8
* Thu Dec 3 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.4.5-4
Pavel Kajaba bda5fb8
- fixed short-circuit build
Pavel Kajaba bda5fb8
c7e64e1
* Thu Nov 12 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-3
c7e64e1
- fix testsuite failure with new Python 3.5 (rhbz#1280404)
c7e64e1
74667b2
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.5-3
74667b2
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
74667b2
4034635
* Fri Oct 16 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-2
4034635
- devel package should not require the main package (rhbz#1272219)
8a02c71
- multilib fix, more general solution (rhbz#1190346)
4034635
5cf6330
* Tue Oct 06 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-1
5cf6330
- update to 9.4.5 per release notes
5cf6330
  http://www.postgresql.org/docs/9.4/static/release-9-4-5.html
5cf6330
b66f190
* Fri Sep 25 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-6
b66f190
- postgresql-setup rebase to 3.4 (rhbz#1265319, rhbz#1247477)
b66f190
72ca6af
* Thu Sep 17 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-5
72ca6af
- enable hardening (safe for kernel 4.1+) (see rhbz#952946 comment #24)
72ca6af
a037a89
* Tue Aug 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-4
a037a89
- install README.rpm-dist properly (rhbz#1249708)
a037a89
31524fb
* Tue Jul 14 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-3
31524fb
- revert/fix part of e6acde1a9 commit related to multilib hack (rhbz#1242873)
31524fb
9e3e919
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.4-2
9e3e919
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9e3e919
7184916
* Mon Jun 15 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
7184916
- fix for Perl 5.22 rebase (rhbz#1231279)
7184916
295849a
* Thu Jun 11 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
295849a
- update to 9.4.4 per release notes
295849a
  http://www.postgresql.org/docs/9.4/static/release-9-4-4.html
295849a
0729cbe
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 9.4.3-2
0729cbe
- Perl 5.22 rebuild
0729cbe
Jozef Mlich 68a237c
* Wed Jun 03 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.3-1
Jozef Mlich 68a237c
- update to 9.4.3 per release notes
Jozef Mlich 68a237c
  http://www.postgresql.org/docs/9.4/static/release-9-4-3.html
Jozef Mlich 68a237c
Jozef Mlích e66ec66
* Thu May 21 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.2-1
Jozef Mlích e66ec66
- update to 9.4.2 per release notes
Jozef Mlích e66ec66
  http://www.postgresql.org/docs/9.4/static/release-9-4-2.html
Jozef Mlích e66ec66
3120db3
* Thu May 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4
3120db3
- make the %%check phase more verbose for FAIL cases
3c624ca
- don't FTBFS on f23+ where hardening is on by default
3120db3
Jozef Mlich 08eb705
* Wed Mar 25 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-3
Jozef Mlich 08eb705
- update to postgresql-setup 3.3
Jozef Mlich 08eb705
Jozef Mlich 58e1c1f
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-2
Jozef Mlich 58e1c1f
- Adding tcl-pgtcl into Requires of -tcl subpackage
Jozef Mlich 58e1c1f
ab28639
* Wed Feb 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-1
ab28639
- update to 9.4.1 per release notes
ab28639
  http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
ab28639
3ca08a7
* Tue Feb 03 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.0-2
3ca08a7
- sort file lists alphabetically
3ca08a7
Jozef Mlich fd57b14
* Tue Dec 23 2014 Jozef Mlich <jmlich@redhat.com> - 9.4.0-1
Jozef Mlich fd57b14
- update to 9.4.0 per release notes
Jozef Mlich fd57b14
  http://www.postgresql.org/docs/9.4/static/index.html
Jozef Mlich fd57b14
1ade253
* Mon Nov 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-8
1ade253
- print regression.diffs contents to stdout (#1118392)
1ade253
7fcd426
* Mon Oct 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-7
7fcd426
- be forgiving of variant spellings of locale names in pg_upgrade (#1007802)
7fcd426
c88f76d
* Sun Sep 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-6
c88f76d
- postgresql-setup & relatives are now in separate tarball
c88f76d
721530b
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 9.3.5-5
721530b
- Perl 5.20 rebuild
721530b
ebf59e4
* Thu Aug 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-4
ebf59e4
- install macros.postgresql, not postgresql.macros
ebf59e4
0927108
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.5-3
0927108
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0927108
c9a55bd
* Thu Jul 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-2
c9a55bd
- fix the prevversion sum link and comment a little
c9a55bd
0e04655
* Tue Jul 22 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-1
0e04655
- update to 9.3.5 per release notes
0e04655
  http://www.postgresql.org/docs/9.3/static/release-9-3-5.html
0e04655
4f1d2a0
* Fri Jul 18 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-8
a4d772f
- provide postgresql-doc for postgresql-docs package (#1086420)
bf770dd
- move html documentation to *-docs subpackage (#1086420)
4f1d2a0
- provide postgresql-server(:MODULE_COMPAT_%%{postgresql_major}) to guard
4f1d2a0
  against incompatible plugin installation (#1008939)
a4d772f
49f074f
* Thu Jun 19 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-7
49f074f
- OOM handling compatible with 9.5+, by Tom Lane (#1110969)
49f074f
abb534a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.4-6
abb534a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
abb534a
729866c
* Mon May 26 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-5
729866c
- Rebuild for Python 3.4
729866c
832a5a0
* Fri May 23 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-4
832a5a0
- Change plpython_do test a bit so it is universal for all python versions
832a5a0
b57df46
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 9.3.4-3
b57df46
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
b57df46
533a1ef
* Wed May 14 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-2
533a1ef
- set basic $PATH when it is empty or unset, (#1097317)
533a1ef
Jozef Mlich 365123c
* Thu Mar 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.4-1
Jozef Mlich 365123c
- update to 9.3.4 minor version per release notes:
Jozef Mlich 365123c
  http://www.postgresql.org/docs/9.3/static/release-9-3-4.html
Jozef Mlich 365123c
Jozef Mlich a21b7d5
* Thu Mar 13 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-2
8ac102b
- Fix WAL replay of locking an updated tuple
8ac102b
  kudos to Alvaro Herrera
Jozef Mlich a21b7d5
Jozef Mlich a2f501b
* Thu Feb 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-1
Jozef Mlich a2f501b
- update to 9.3.3 minor version per release notes:
Jozef Mlich a2f501b
  http://www.postgresql.org/docs/9.3/static/release-9-3-3.html
Jozef Mlich a2f501b
6d2de0b
* Thu Jan 23 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-7
6d2de0b
- postgresql-setup: typos
6d2de0b
a43ac07
* Tue Jan 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-6
a43ac07
- add PGSETUP_PGUPGRADE_OPTIONS env var for postgresql-setup
a43ac07
7df4c0e
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-5
7df4c0e
- fix the postgresql-setup --version option
7df4c0e
ca2964b
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-4
083dd21
- postgresql-setup(upgrade): don't stop old server when it can not be started
2f213eb
- postgresql-setup(initdb, upgrade): add $PGSETUP_INITDB_OPTIONS
8e40185
- postgresql-setup: do not pretend 'sh' compatibility
44cd816
- move script generation to proper place
ca2964b
- postgresql-setup: document a little and genrate manual page
083dd21
88e98c3
* Fri Jan 10 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-3
88e98c3
- build with -O3 on ppc64 (private #1051075)
88e98c3
4c6bd5d
* Fri Dec 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-2
4c6bd5d
- lint the postgresql-setup script
4c6bd5d
Jozef Mlich 85e0b07
* Thu Dec 12 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-2
Jozef Mlich 85e0b07
- don't fail if user has badly configure 'postgres' user access (#1040364)
Jozef Mlich 85e0b07
Jozef Mlich 3355515
* Thu Dec 05 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-1
Jozef Mlich 3355515
- update to 9.3.2 minor version per release notes:
Jozef Mlich 3355515
  http://www.postgresql.org/docs/9.3/static/release-9-3-2.html
Jozef Mlich 3355515
Jozef Mlich 4b81ad4
* Thu Oct 17 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-2
Jozef Mlich 4b81ad4
- the prevversion (see package upgrade process) is updated
Jozef Mlich 4b81ad4
  from 9.2.4 to 9.2.5
Jozef Mlich 4b81ad4
Jozef Mlich 592d0de
* Thu Oct 10 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-1
Jozef Mlich 592d0de
- update to 9.3.1 minor version per release notes:
Jozef Mlich 592d0de
  http://www.postgresql.org/docs/9.3/static/release-9-3-1.html
Jozef Mlich 592d0de
24c5bf3
* Tue Sep 10 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.0-1
24c5bf3
- update to 9.3 major version per release notes:
24c5bf3
  http://www.postgresql.org/docs/9.3/static/release-9-3.html
24c5bf3
f9f152f
* Thu Aug 15 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-11
f9f152f
- upgrade: stop old server in case of permissions problem (#896161)
f9f152f
4dafc07
* Mon Aug 12 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-10
4dafc07
- disable aggressive loop optimizations for old codebase (#993532)
4dafc07
9124149
* Wed Aug 07 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-9
9124149
- generate links docdir links in postgresql-check-db-dir correctly (#994048)
9124149
83ea972
* Tue Aug 06 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-8
83ea972
- allow `rpmbuild -bi --short-circuit`
83ea972
a680fe1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.2.4-7
a680fe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a680fe1
9d28c85
* Wed Jul 24 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-6
9d28c85
- split aarch64 patch to allow build without postgresql-upgrade
9d28c85
44506bd
* Tue Jul 23 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-5
44506bd
- fix testsuite to allow build against Perl 5.18
44506bd
304cc8d
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 9.2.4-5
304cc8d
- Perl 5.18 rebuild
304cc8d
6f62d35
* Tue Jul 09 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-4
3fea88c
- do not use -b for manual page fixes
3fea88c
6f62d35
* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
3992fad
- fix README.rpm-dist for the bug (#969050)
a57d617
- replace hard-wired path with %%{_datadir}
3992fad
33319f6
* Thu Jun 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
0415e33
- add atomic operations support for aarch64 to preupgrade version also (#970661)
3202ca7
- apply the forgotten man-page-day patch (#948933)
0415e33
cac63b3
* Thu Jun 13 2013 Jan Stanek <jstanek@redhat.com> - 9.2.4-3
cac63b3
- added patch for manual pages (#948933)
cac63b3
63807df
* Tue Jun 11 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
63807df
- postgresql-setup: don't create whole path to server's data to make sure that
63807df
  the parent directory has correct permissions (#972425)
63807df
30d053b
* Wed Jun 05 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
b6b61d6
- fix rpmlint warnings
30d053b
- fix aarch64 build by defining missing atomic operations (#970661)
b6b61d6
Tom Lane d27a983
* Thu Apr  4 2013 Tom Lane <tgl@redhat.com> 9.2.4-1
Tom Lane d27a983
- Update to PostgreSQL 9.2.4, for various fixes described at
Tom Lane d27a983
  http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
Tom Lane d27a983
  including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
Tom Lane d27a983
Resolves: #929223, #929255, #929328
Tom Lane d27a983
- fix build for aarch64 and ppc64p7
Tom Lane d27a983
Tom Lane 3b77faf
* Thu Feb  7 2013 Tom Lane <tgl@redhat.com> 9.2.3-1
Tom Lane 3b77faf
- Update to PostgreSQL 9.2.3, for various fixes described at
Tom Lane 3b77faf
  http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
Tom Lane 3b77faf
  including the fix for CVE-2013-0255
Tom Lane 3b77faf
Resolves: #908722
Tom Lane 3b77faf
- Make the package build with selinux option disabled
Tom Lane 3b77faf
Resolves: #894367
Tom Lane 3b77faf
- Include old version of pg_controldata in postgresql-upgrade subpackage
Tom Lane 3b77faf
Related: #896161
Tom Lane 3b77faf
Tom Lane 1cd49a0
* Thu Jan  3 2013 Tom Lane <tgl@redhat.com> 9.2.2-3
Tom Lane 1cd49a0
- Prevent creation of TCP socket during pg_upgrade regression test, so that
Tom Lane 1cd49a0
  concurrent RPM builds on the same machine won't fail
Tom Lane 1cd49a0
Resolves: #891531
Tom Lane 1cd49a0
- Make sure $PGDATA/pg_log/ gets the right SELinux label in postgresql-setup
Tom Lane 1cd49a0
Resolves: #891547
Tom Lane 1cd49a0
Tom Lane 73e3a6a
* Wed Dec 19 2012 Tom Lane <tgl@redhat.com> 9.2.2-2
Tom Lane 73e3a6a
- Make building of plpython3 dependent on Fedora version, per guidelines
Tom Lane 73e3a6a
Resolves: #888419
Tom Lane 73e3a6a
Tom Lane 5f6fb79
* Thu Dec  6 2012 Tom Lane <tgl@redhat.com> 9.2.2-1
Tom Lane 5f6fb79
- Update to PostgreSQL 9.2.2, for various fixes described at
Tom Lane 5f6fb79
  http://www.postgresql.org/docs/9.2/static/release-9-2-2.html
Tom Lane 5f6fb79
- Use new systemd install/uninstall trigger macros conditionally,
Tom Lane 5f6fb79
  so that package can still be installed on pre-F18 branches
Tom Lane 5f6fb79
Tom Lane 36551c3
* Mon Sep 24 2012 Tom Lane <tgl@redhat.com> 9.2.1-1
Tom Lane 36551c3
- Update to PostgreSQL 9.2.1, for various fixes described at
Tom Lane 36551c3
  http://www.postgresql.org/docs/9.2/static/release-9-2-1.html
Tom Lane 36551c3
  including a nasty data-loss bug
Tom Lane 36551c3
- Adopt new systemd macros for server package install/uninstall triggers
Tom Lane 36551c3
Resolves: #850277
Tom Lane 36551c3
Tom Lane 795d3d1
* Mon Sep 10 2012 Tom Lane <tgl@redhat.com> 9.2.0-1
Tom Lane 795d3d1
- Update to PostgreSQL 9.2.0 (major version bump);
Tom Lane 795d3d1
  in-place upgrade support now works from 9.1.x as the previous version
Tom Lane 795d3d1
- Add postgresql-plpython3 subpackage with PL/Python built against Python 3
Tom Lane 795d3d1
Tom Lane 8f944a5
* Tue Aug 28 2012 Tom Lane <tgl@redhat.com> 9.1.5-2
Tom Lane 8f944a5
- Remove unnecessary ldconfig calls in pre/post triggers
Tom Lane 8f944a5
Resolves: #849344
Tom Lane 8f944a5
Tom Lane f95c645
* Fri Aug 17 2012 Tom Lane <tgl@redhat.com> 9.1.5-1
Tom Lane f95c645
- Update to PostgreSQL 9.1.5, for various fixes described at
Tom Lane f95c645
  http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
Tom Lane f95c645
  including the fixes for CVE-2012-3488, CVE-2012-3489
Tom Lane f95c645
Tom Lane 497da8c
* Mon Aug 13 2012 Tom Lane <tgl@redhat.com> 9.1.4-5
Tom Lane 497da8c
- Back-port upstream support for postmaster listening on multiple Unix sockets
Tom Lane 497da8c
- Configure postmaster to create sockets in both /var/run/postgresql and /tmp;
Tom Lane 497da8c
  the former is now the default place for libpq to contact the postmaster.
Tom Lane 497da8c
Resolves: #825448
Tom Lane f95c645
- Annotate postgresql.conf about not setting port number there
Tom Lane 497da8c
- Minor specfile cleanup per suggestions from Tom Callaway
Tom Lane 497da8c
Related: #845110
Tom Lane 497da8c
0011b0b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.1.4-4
0011b0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0011b0b
Tom Lane 67b8078
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 9.1.4-3
Tom Lane 67b8078
- Update code to use oom_score_adj not oom_adj, thereby suppressing
Tom Lane 67b8078
  whining in the kernel log
Tom Lane 67b8078
- Add "legacy action" scripts to support "service postgresql initdb" and
Tom Lane 67b8078
  "service postgresql upgrade" in a now-approved fashion (requires a
Tom Lane 67b8078
  recent version of initscripts to work)
Tom Lane 67b8078
Resolves: #800416
Tom Lane 67b8078
b937d0f
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 9.1.4-2
b937d0f
- Perl 5.16 rebuild
b937d0f
Tom Lane d270fa3
* Mon Jun  4 2012 Tom Lane <tgl@redhat.com> 9.1.4-1
Tom Lane d270fa3
- Update to PostgreSQL 9.1.4, for various fixes described at
Tom Lane d270fa3
  http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
Tom Lane d270fa3
  including the fixes for CVE-2012-2143, CVE-2012-2655
Tom Lane d270fa3
Resolves: #826606
Tom Lane d270fa3
- Update previous version (embedded in postgresql-upgrade) to 9.0.8
Tom Lane d270fa3
  because fix in whole-row variable dumping could be needed for upgrades
Tom Lane d270fa3
- Revert fix for bug #800416, per fedora-packaging discussion at
Tom Lane d270fa3
  http://lists.fedoraproject.org/pipermail/packaging/2012-April/008314.html
Tom Lane d270fa3
  "service postgresql initdb" is dead and will stay that way
Tom Lane d270fa3
Tom Lane de5b387
* Sat Mar 17 2012 Tom Lane <tgl@redhat.com> 9.1.3-3
Tom Lane de5b387
- Fix postgresql-setup to rely on systemd to parse the unit file, instead
Tom Lane de5b387
  of using ad-hoc code
Tom Lane de5b387
Resolves: #804290
Tom Lane de5b387
Tom Lane 338b754
* Tue Mar 13 2012 Tom Lane <tgl@redhat.com> 9.1.3-2
Tom Lane 338b754
- Fix postgresql-setup to look for unit file in /usr/lib and to ignore
Tom Lane 338b754
  comments therein
Tom Lane 338b754
Resolves: #802835
Tom Lane 338b754
- Resurrect a now-mostly-dummy postgresql init script, so that people can
Tom Lane 338b754
  keep on using "service postgresql initdb" if they wish
Tom Lane 338b754
Resolves: #800416
Tom Lane 338b754
Tom Lane 2e73ff7
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 9.1.3-1
Tom Lane 2e73ff7
- Update to PostgreSQL 9.1.3, for various fixes described at
Tom Lane 2e73ff7
  http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
Tom Lane 2e73ff7
  including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
Tom Lane 2e73ff7
Resolves: #797918
Tom Lane 2e73ff7
Tom Lane d44dce3
* Mon Jan  9 2012 Tom Lane <tgl@redhat.com> 9.1.2-2
Tom Lane d44dce3
- Make systemd unit file more user-friendly by resurrecting the old init
Tom Lane d44dce3
  script's checks for data directory presence and version match
Tom Lane d44dce3
Resolves: #771496
Tom Lane d44dce3
Tom Lane a60f809
* Mon Dec  5 2011 Tom Lane <tgl@redhat.com> 9.1.2-1
Tom Lane a60f809
- Update to PostgreSQL 9.1.2, for various fixes described at
Tom Lane a60f809
  http://www.postgresql.org/docs/9.1/static/release-9-1-2.html
Tom Lane a60f809
c99f89f
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 9.1.1-2
c99f89f
- Create a symlink of pg_regress instead of full copy;
c99f89f
  Don't strip symbols from regress libs
f82c498
Related: #729012
c99f89f
Tom Lane 13cd21d
* Mon Sep 26 2011 Tom Lane <tgl@redhat.com> 9.1.1-1
Tom Lane 13cd21d
- Update to PostgreSQL 9.1.1, for various fixes described at
Tom Lane 13cd21d
  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
Tom Lane 13cd21d
- Enable build (but not test) of contrib/sepgsql
Tom Lane 13cd21d
- Clean up specfile build options so that turning options off works again
Tom Lane 13cd21d
Tom Lane d1e157d
* Mon Sep 12 2011 Tom Lane <tgl@redhat.com> 9.1.0-1
Tom Lane d1e157d
- Update to PostgreSQL 9.1.0 (major version bump);
Tom Lane d1e157d
  in-place upgrade support now works from 9.0.x as the previous version
Tom Lane d1e157d
Tom Lane 72893f4
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 9.0.4-8
Tom Lane 72893f4
- Convert to systemd startup support
Tom Lane 72893f4
Resolves: #696427
Tom Lane 72893f4
Petr Sabata 7de7a32
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-7
Petr Sabata 7de7a32
- Perl mass rebuild
Petr Sabata 7de7a32
Petr Sabata e608771
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-6
Petr Sabata e608771
- Perl mass rebuild
Petr Sabata e608771
Tom Lane 225f74a
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 9.0.4-5
Tom Lane de98303
- Remove erroneously-included Default-Start line from LSB init block
Tom Lane de98303
Related: #717024
Tom Lane de98303
Tom Lane 9b6ef0a
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 9.0.4-4
faae804
- Perl mass rebuild
Tom Lane 9b6ef0a
- incorporate upstream patch to make it build with Perl 5.14
faae804
Tom Lane 562fb68
* Fri Jun 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-3
Tom Lane 562fb68
- Work around gcc 4.6.0 bug (temporary backport from next upstream release)
Tom Lane 562fb68
Tom Lane cbf5959
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
Tom Lane cbf5959
- Add LSB init block to initscript, to ensure sane ordering at system boot
Tom Lane cbf5959
Resolves: #703215
Tom Lane cbf5959
Tom Lane 7632f67
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
Tom Lane 7632f67
- Update to PostgreSQL 9.0.4, for various fixes described at
Tom Lane 7632f67
  http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
Tom Lane 7632f67
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
Tom Lane 7632f67
426a182
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.3-3
426a182
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
426a182
Tom Lane c425547
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 9.0.3-2
Tom Lane c425547
- Remove filter-requires-perl-Pg.sh, which doesn't seem to be needed now that
Tom Lane c425547
  PyGreSQL has been split out; and our use of it isn't compatible with rpm 4.9
Tom Lane c425547
  anyway
Tom Lane c425547
Tom Lane e5c3124
* Tue Feb  1 2011 Tom Lane <tgl@redhat.com> 9.0.3-1
Tom Lane e5c3124
- Update to PostgreSQL 9.0.3, for various fixes described at
Tom Lane e5c3124
  http://www.postgresql.org/docs/9.0/static/release-9-0-3.html
Tom Lane e5c3124
  including the fix for CVE-2010-4015
Tom Lane e5c3124
Resolves: #674296
Tom Lane e5c3124
Tom Lane 4753f36
* Tue Dec 28 2010 Tom Lane <tgl@redhat.com> 9.0.2-1
Tom Lane 4753f36
- Update to PostgreSQL 9.0.2 (major version bump)
Tom Lane 4753f36
- Create infrastructure for in-place database upgrade using pg_upgrade
Tom Lane 4753f36
Resolves: #398221
Tom Lane 4753f36
Tom Lane 6b84484
* Thu Dec 16 2010 Tom Lane <tgl@redhat.com> 8.4.6-1
Tom Lane 6b84484
- Update to PostgreSQL 8.4.6, for various fixes described at
Tom Lane 6b84484
  http://www.postgresql.org/docs/8.4/static/release-8-4-6.html
Tom Lane 6b84484
- Ensure we don't package any .gitignore files from the source tarball
Tom Lane 6b84484
Related: #642210
Tom Lane 6b84484
24943ae
* Tue Oct  5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
24943ae
- Update to PostgreSQL 8.4.5, for various fixes described at
24943ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
24943ae
  including the fix for CVE-2010-3433
24943ae
Related: #639371
24943ae
- Add -p "$pidfile" to initscript's status call to improve corner cases.
24943ae
Related: #561010
24943ae
ac363ac
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
ac363ac
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
19bd07f
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
19bd07f
5f6138f
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 8.4.4-2
5f6138f
- Mass rebuild with perl-5.12.0
5f6138f
3adc308
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
3adc308
- Update to PostgreSQL 8.4.4, for various fixes described at
3adc308
  http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
3adc308
  including fixes for CVE-2010-1169 and CVE-2010-1170
3adc308
Resolves: #593032
3adc308
446c31a
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
446c31a
- Update to PostgreSQL 8.4.3, for various fixes described at
446c31a
  http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
446c31a
9cc5f20
* Mon Feb 22 2010 Tom Lane <tgl@redhat.com> 8.4.2-8
9cc5f20
- Bring init script into some modicum of compliance with Fedora/LSB standards
9cc5f20
Resolves: #201043
9cc5f20
b7fa69b
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.2-7
b7fa69b
- adjust license tag to reflect OSI decision
b7fa69b
1a80a96
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 8.4.2-6
1a80a96
- Emit explicit error message if user tries to build RPM as root
1a80a96
Related: #558921
1a80a96
63cfa0e
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 8.4.2-5
962b39e
- Latest version of systemtap needs the probes.o file to be built again
962b39e
Resolves: #557266
63cfa0e
- Provide script and instructions for building the documentation PDF
63cfa0e
8c0b311
* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 8.4.2-4
8c0b311
- Arrange for the postmaster, but not any of its child processes, to be run
8c0b311
  with oom_adj -17.  This compensates for the OOM killer not being smart about
8c0b311
  accounting for shared memory usage.
8c0b311
2a1cdc6
* Sat Jan  9 2010 Tom Lane <tgl@redhat.com> 8.4.2-3
2a1cdc6
- Remove the postgresql-python and postgresql-tcl subpackages.  These files
2a1cdc6
  are now broken out as their own packages (PyGreSQL and tcl-pgtcl,
2a1cdc6
  respectively), to reflect the now longstanding split of upstream projects.
2a1cdc6
Related: #452306, #452321
2a1cdc6
a6a1e9b
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 8.4.2-2
a6a1e9b
- Remove static libraries (.a files) from package, per packaging guidelines
a6a1e9b
- Change %%define to %%global, per packaging guidelines
a6a1e9b
27a52c7
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
27a52c7
- Update to PostgreSQL 8.4.2, for various fixes described at
27a52c7
  http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
27a52c7
  including two security issues
27a52c7
Related: #546321
27a52c7
Related: #547662
27a52c7
- Use -N not the obsolete -n in useradd call
27a52c7
Resolves: #495727
27a52c7
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
27a52c7
  no-longer-needed provisions for superseding rh-postgresql
27a52c7
b34a338
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 8.4.1-5
b34a338
- rebuild against perl 5.10.1
b34a338
b1315b8
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
b1315b8
- add sparc/sparc64 to multilib header support
b1315b8
8387bb8
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
8387bb8
- Ensure pgstartup.log gets the right ownership/permissions during initdb
8387bb8
Resolves: #498959
8387bb8
17942eb
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.1-2
17942eb
- Use password-auth common PAM configuration instead of system-auth
17942eb
a8e2f35
* Wed Sep  9 2009 Tom Lane <tgl@redhat.com> 8.4.1-1
a8e2f35
- Update to PostgreSQL 8.4.1, for various fixes described at
a8e2f35
  http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
a8e2f35
  including two security issues
a8e2f35
Related: #522085
a8e2f35
Related: #522092
a8e2f35
10587f4
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.2
10587f4
- bump release and build again with the correct libssl
10587f4
8f9b712
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.1
8f9b712
- disable dtrace on s390x as a workaround until #520469 has been fixed
8f9b712
3c51035
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.0-3
3c51035
- rebuilt with new openssl
3c51035
8b3d2d6
* Thu Aug 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.0-2
8b3d2d6
- update License tag to MIT (PostgreSQL calls it "BSD", but it is MIT)
8b3d2d6
- Note: This changes nothing from a license compatibility perspective.
8b3d2d6
084ca74
* Mon Aug 17 2009 Tom Lane <tgl@redhat.com> 8.4.0-1
084ca74
- Update to PostgreSQL 8.4.0.  See release notes at
084ca74
  http://www.postgresql.org/docs/8.4/static/release-8-4.html
084ca74
cddd791
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.7-2
cddd791
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cddd791
bc5e872
* Sat Mar 21 2009 Tom Lane <tgl@redhat.com> 8.3.7-1
bc5e872
- Update to PostgreSQL 8.3.7, for various fixes described at
bc5e872
  http://www.postgresql.org/docs/8.3/static/release-8-3-7.html
bc5e872
  notably the fix for CVE-2009-0922
bc5e872
18a2a1a
* Tue Mar 10 2009 Tom Lane <tgl@redhat.com> 8.3.6-4
18a2a1a
- Prevent dependent packages from needing to include sys/sdt.h
18a2a1a
  (unintended side effect of previous patch)
18a2a1a
- Use -O1 on alpha, per report from Oliver Falk; -O2 tickles gcc bugs
18a2a1a
14d3433
* Sun Mar  8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
14d3433
- Enable tracing via systemtap
14d3433
Resolves: #488941