2005-11-07 21:54:56 +00:00
|
|
|
# This is the PostgreSQL Global Development Group Official RPMset spec file,
|
|
|
|
# or a derivative thereof.
|
2009-08-18 02:58:55 +00:00
|
|
|
# Copyright 2003-2009 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
|
2014-11-24 13:48:51 +00:00
|
|
|
# and others listed. ** vi: ts=4 sw=4 noexpandtab nosmarttab
|
2005-11-07 21:54:56 +00:00
|
|
|
|
|
|
|
# Major Contributors:
|
|
|
|
# ---------------
|
|
|
|
# Lamar Owen
|
|
|
|
# Trond Eivind Glomsrd <teg@redhat.com>
|
|
|
|
# Thomas Lockhart
|
|
|
|
# Reinhard Max
|
|
|
|
# Karl DeBisschop
|
|
|
|
# Peter Eisentraut
|
|
|
|
# Joe Conway
|
|
|
|
# Andrew Overholt
|
|
|
|
# David Jee
|
|
|
|
# Kaj J. Niemi
|
|
|
|
# Sander Steffann
|
|
|
|
# Tom Lane
|
|
|
|
# and others in the Changelog....
|
|
|
|
|
2011-09-26 21:29:49 +00:00
|
|
|
# This spec file and ancillary files are licensed in accordance with
|
2005-11-07 21:54:56 +00:00
|
|
|
# The PostgreSQL license.
|
|
|
|
|
2009-08-18 02:58:55 +00:00
|
|
|
# In this file you can find the default build package list macros.
|
|
|
|
# These can be overridden by defining on the rpm command line:
|
2005-11-07 21:54:56 +00:00
|
|
|
# rpm --define 'packagename 1' .... to force the package to build.
|
|
|
|
# rpm --define 'packagename 0' .... to force the package NOT to build.
|
2011-09-26 21:29:49 +00:00
|
|
|
# The base package, the libs package, the devel package, and the server package
|
2009-08-18 02:58:55 +00:00
|
|
|
# always get built.
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2013-07-26 13:51:30 +00:00
|
|
|
%{!?beta:%global beta 0}
|
2010-01-05 17:56:35 +00:00
|
|
|
%{?beta:%global __os_install_post /usr/lib/rpm/brp-compress}
|
|
|
|
|
|
|
|
%{!?test:%global test 1}
|
2010-12-29 00:13:08 +00:00
|
|
|
%{!?upgrade:%global upgrade 1}
|
2010-01-05 17:56:35 +00:00
|
|
|
%{!?plpython:%global plpython 1}
|
2012-12-19 17:15:54 +00:00
|
|
|
%if 0%{?fedora} > 12
|
2012-09-10 15:15:54 +00:00
|
|
|
%{!?plpython3:%global plpython3 1}
|
2012-12-19 17:15:54 +00:00
|
|
|
%else
|
|
|
|
%{!?plpython3:%global plpython3 0}
|
|
|
|
%endif
|
2010-01-05 17:56:35 +00:00
|
|
|
%{!?pltcl:%global pltcl 1}
|
|
|
|
%{!?plperl:%global plperl 1}
|
|
|
|
%{!?ssl:%global ssl 1}
|
|
|
|
%{!?kerberos:%global kerberos 1}
|
|
|
|
%{!?ldap:%global ldap 1}
|
|
|
|
%{!?nls:%global nls 1}
|
|
|
|
%{!?uuid:%global uuid 1}
|
|
|
|
%{!?xml:%global xml 1}
|
|
|
|
%{!?pam:%global pam 1}
|
|
|
|
%{!?sdt:%global sdt 1}
|
2011-09-26 21:29:49 +00:00
|
|
|
%{!?selinux:%global selinux 1}
|
2010-01-05 17:56:35 +00:00
|
|
|
%{!?runselftest:%global runselftest 1}
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2013-12-05 15:32:09 +00:00
|
|
|
# By default, patch(1) creates backup files when chunks apply with offsets.
|
|
|
|
# Turn that off to ensure such files don't get included in RPMs.
|
|
|
|
%global _default_patch_flags --no-backup-if-mismatch
|
|
|
|
|
2013-08-07 06:31:13 +00:00
|
|
|
# _pkgdocdir is defined in fc20+, remove once f19 is dead
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2014-07-03 14:24:41 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
|
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
|
|
|
|
2009-12-16 05:34:05 +00:00
|
|
|
Summary: PostgreSQL client programs
|
2004-09-09 10:46:07 +00:00
|
|
|
Name: postgresql
|
2016-09-30 12:42:57 +00:00
|
|
|
%global majorversion 9.6
|
2017-05-11 10:34:04 +00:00
|
|
|
Version: 9.6.3
|
2017-02-07 09:58:49 +00:00
|
|
|
Release: 1%{?dist}
|
2011-07-27 23:32:24 +00:00
|
|
|
|
2010-02-18 15:25:30 +00:00
|
|
|
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
|
|
|
# recognizes it as an independent license, so we do as well.
|
|
|
|
License: PostgreSQL
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Applications/Databases
|
2010-12-29 00:13:08 +00:00
|
|
|
Url: http://www.postgresql.org/
|
|
|
|
|
2011-09-26 21:29:49 +00:00
|
|
|
# This number must be NVR-greater than any PG version shipped in F15:
|
|
|
|
%global first_systemd_version 0:9.0.99
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
# This SRPM includes a copy of the previous major release, which is needed for
|
|
|
|
# in-place upgrade of an old database. In most cases it will not be critical
|
2012-12-06 16:05:36 +00:00
|
|
|
# that this be kept up with the latest minor release of the previous series;
|
|
|
|
# but update when bugs affecting pg_dump output are fixed.
|
2017-05-11 10:34:04 +00:00
|
|
|
%global prevversion 9.5.7
|
2016-09-30 12:42:57 +00:00
|
|
|
%global prevmajorversion 9.5
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2016-10-04 10:39:42 +00:00
|
|
|
%global setup_version 5.0
|
2014-07-02 16:14:06 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
2010-01-16 05:40:31 +00:00
|
|
|
# The PDF file is generated by generate-pdf.sh, which see for comments
|
|
|
|
Source1: postgresql-%{version}-US.pdf
|
2010-01-20 20:46:00 +00:00
|
|
|
# generate-pdf.sh is not used during RPM build, but include for documentation
|
|
|
|
Source2: generate-pdf.sh
|
2010-12-29 00:13:08 +00:00
|
|
|
Source3: ftp://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
|
2014-07-02 16:14:06 +00:00
|
|
|
Source4: Makefile.regress
|
|
|
|
Source9: postgresql.tmpfiles.d
|
|
|
|
Source10: postgresql.pam
|
|
|
|
Source11: postgresql-bashprofile
|
|
|
|
|
|
|
|
# Temporary location of postgresql-setup. Development git:
|
|
|
|
# http://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup.git/
|
2016-10-04 10:39:42 +00:00
|
|
|
Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{setup_version}/postgresql-setup-%{setup_version}.tar.gz
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2014-07-24 11:44:01 +00:00
|
|
|
# Those here are just to enforce packagers check that the tarball was downloaded
|
|
|
|
# correctly. Also, this allows us check that packagers-only tarballs do not
|
|
|
|
# differ with publicly released ones.
|
2014-07-22 07:20:05 +00:00
|
|
|
Source16: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
|
2014-07-24 11:44:01 +00:00
|
|
|
Source17: ftp://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2.sha256
|
2014-07-22 07:20:05 +00:00
|
|
|
|
2010-03-14 03:48:10 +00:00
|
|
|
# Comments for these patches are in the patch files.
|
2005-01-19 05:02:11 +00:00
|
|
|
Patch1: rpm-pgsql.patch
|
2010-12-29 00:13:08 +00:00
|
|
|
Patch2: postgresql-logging.patch
|
|
|
|
Patch3: postgresql-perl-rpath.patch
|
2013-09-10 14:01:09 +00:00
|
|
|
Patch5: postgresql-var-run-socket.patch
|
|
|
|
Patch6: postgresql-man.patch
|
2013-08-15 05:41:09 +00:00
|
|
|
|
2014-01-09 19:16:54 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk help2man
|
2008-03-18 18:53:20 +00:00
|
|
|
BuildRequires: perl(ExtUtils::Embed), perl-devel
|
2016-06-24 07:25:25 +00:00
|
|
|
BuildRequires: perl-generators
|
2011-07-27 23:32:24 +00:00
|
|
|
BuildRequires: readline-devel zlib-devel
|
2015-09-25 11:54:46 +00:00
|
|
|
BuildRequires: systemd-units util-linux
|
2016-06-21 10:03:59 +00:00
|
|
|
BuildRequires: multilib-rpm-config
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2015-03-26 08:43:26 +00:00
|
|
|
# postgresql-setup build requires
|
|
|
|
BuildRequires: m4 elinks docbook-utils help2man
|
|
|
|
|
2010-01-09 05:23:05 +00:00
|
|
|
%if %plpython
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: python-devel
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2012-09-10 15:15:54 +00:00
|
|
|
%if %plpython3
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
%endif
|
|
|
|
|
2010-01-09 05:23:05 +00:00
|
|
|
%if %pltcl
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: tcl-devel
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %ssl
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: openssl-devel
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %kerberos
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: krb5-devel
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2008-05-18 02:17:53 +00:00
|
|
|
%if %ldap
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %nls
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: gettext >= 0.10.35
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2005-11-07 21:54:56 +00:00
|
|
|
|
2008-01-18 20:48:56 +00:00
|
|
|
%if %uuid
|
|
|
|
BuildRequires: uuid-devel
|
|
|
|
%endif
|
|
|
|
|
2005-10-04 19:37:36 +00:00
|
|
|
%if %xml
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: libxml2-devel libxslt-devel
|
2005-10-04 19:37:36 +00:00
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2005-11-07 21:54:56 +00:00
|
|
|
%if %pam
|
2007-04-24 19:21:40 +00:00
|
|
|
BuildRequires: pam-devel
|
2005-11-07 21:54:56 +00:00
|
|
|
%endif
|
2004-09-09 10:49:08 +00:00
|
|
|
|
2009-03-08 20:29:14 +00:00
|
|
|
%if %sdt
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
%endif
|
|
|
|
|
2011-09-26 21:29:49 +00:00
|
|
|
%if %selinux
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
%endif
|
|
|
|
|
2008-04-27 00:54:00 +00:00
|
|
|
# main package requires -libs subpackage
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2008-04-27 00:54:00 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%description
|
2011-11-07 17:21:47 +00:00
|
|
|
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
|
|
|
The base postgresql package contains the client programs that you'll need to
|
|
|
|
access a PostgreSQL DBMS server, as well as HTML documentation for the whole
|
|
|
|
system. These client programs can be located on the same machine as the
|
|
|
|
PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
|
|
|
|
over a network connection. The PostgreSQL server can be found in the
|
|
|
|
postgresql-server sub-package.
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%package libs
|
2007-04-24 19:21:40 +00:00
|
|
|
Summary: The shared libraries required for any PostgreSQL clients
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Applications/Databases
|
2009-12-16 05:34:05 +00:00
|
|
|
Provides: libpq.so = %{version}-%{release}
|
2011-07-27 23:32:24 +00:00
|
|
|
# for /sbin/ldconfig
|
|
|
|
Requires(post): glibc
|
|
|
|
Requires(postun): glibc
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%description libs
|
|
|
|
The postgresql-libs package provides the essential shared libraries for any
|
|
|
|
PostgreSQL client program or interface. You will need to install this package
|
|
|
|
to use any other PostgreSQL package or any clients that need to connect to a
|
|
|
|
PostgreSQL server.
|
|
|
|
|
2011-11-07 17:21:47 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%package server
|
2007-04-24 19:21:40 +00:00
|
|
|
Summary: The programs needed to create and run a PostgreSQL server
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2009-12-16 05:34:05 +00:00
|
|
|
Requires(pre): /usr/sbin/useradd
|
2012-08-13 17:13:01 +00:00
|
|
|
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
|
|
|
|
Requires: systemd-units
|
|
|
|
# Make sure it's there when scriptlets run, too
|
2011-07-27 23:32:24 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
# This is actually needed for the %%triggerun script but Requires(triggerun)
|
|
|
|
# is not valid. We can use post because this particular %%triggerun script
|
|
|
|
# should fire just after this package is installed.
|
|
|
|
Requires(post): systemd-sysv
|
2010-02-22 18:16:56 +00:00
|
|
|
Requires(post): chkconfig
|
2014-07-03 14:24:41 +00:00
|
|
|
# Packages which provide postgresql plugins should build-require
|
|
|
|
# postgresql-devel and require
|
|
|
|
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
|
|
|
|
# This will automatically guard against incompatible server & plugin
|
|
|
|
# installation (#1008939, #1007840)
|
|
|
|
Provides: %{name}-server(:MODULE_COMPAT_%{majorversion})
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%description server
|
2011-11-07 17:21:47 +00:00
|
|
|
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
|
|
|
The postgresql-server package contains the programs needed to create
|
2004-09-09 10:46:07 +00:00
|
|
|
and run a PostgreSQL server, which will in turn allow you to create
|
2011-11-07 17:21:47 +00:00
|
|
|
and maintain PostgreSQL databases.
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package docs
|
|
|
|
Summary: Extra documentation for PostgreSQL
|
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2014-06-25 14:48:39 +00:00
|
|
|
# Just for more intuitive documentation installation
|
|
|
|
Provides: %{name}-doc = %{version}-%{release}
|
2005-03-02 21:14:35 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%description docs
|
2011-11-07 17:21:47 +00:00
|
|
|
The postgresql-docs package contains some additional documentation for
|
2009-08-18 02:58:55 +00:00
|
|
|
PostgreSQL. Currently, this includes the main documentation in PDF format
|
|
|
|
and source files for the PostgreSQL tutorial.
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2005-03-02 21:14:35 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%package contrib
|
2011-11-07 17:21:47 +00:00
|
|
|
Summary: Extension modules distributed with PostgreSQL
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2005-03-02 21:14:35 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%description contrib
|
2011-11-07 17:21:47 +00:00
|
|
|
The postgresql-contrib package contains various extension modules that are
|
2004-09-09 10:46:07 +00:00
|
|
|
included in the PostgreSQL distribution.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
2007-04-24 19:21:40 +00:00
|
|
|
Summary: PostgreSQL development header files and libraries
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Development/Libraries
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The postgresql-devel package contains the header files and libraries
|
|
|
|
needed to compile C or C++ applications which will directly interact
|
2011-11-07 17:21:47 +00:00
|
|
|
with a PostgreSQL database management server. It also contains the ecpg
|
|
|
|
Embedded C Postgres preprocessor. You need to install this package if you want
|
|
|
|
to develop applications which will interact with a PostgreSQL server.
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
|
2016-02-26 07:19:43 +00:00
|
|
|
%package static
|
|
|
|
Summary: Statically linked PostgreSQL libraries
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
Statically linked PostgreSQL libraries that do not have dynamically linked
|
|
|
|
counterparts.
|
|
|
|
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
%if %upgrade
|
|
|
|
%package upgrade
|
|
|
|
Summary: Support for upgrading from the previous major release of PostgreSQL
|
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2010-12-29 00:13:08 +00:00
|
|
|
|
|
|
|
%description upgrade
|
2011-11-07 17:21:47 +00:00
|
|
|
The postgresql-upgrade package contains the pg_upgrade utility and supporting
|
|
|
|
files needed for upgrading a PostgreSQL database from the previous major
|
|
|
|
version of PostgreSQL.
|
2010-12-29 00:13:08 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2007-01-13 04:30:50 +00:00
|
|
|
%if %plperl
|
|
|
|
%package plperl
|
2007-04-24 19:21:40 +00:00
|
|
|
Summary: The Perl procedural language for PostgreSQL
|
2007-01-13 04:30:50 +00:00
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
2008-03-18 18:53:20 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2007-01-13 04:30:50 +00:00
|
|
|
|
|
|
|
%description plperl
|
2011-11-07 17:21:47 +00:00
|
|
|
The postgresql-plperl package contains the PL/Perl procedural language,
|
|
|
|
which is an extension to the PostgreSQL database server.
|
|
|
|
Install this if you want to write database functions in Perl.
|
2007-01-13 04:30:50 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %plpython
|
|
|
|
%package plpython
|
2012-09-10 15:15:54 +00:00
|
|
|
Summary: The Python2 procedural language for PostgreSQL
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2007-01-13 04:30:50 +00:00
|
|
|
%description plpython
|
2011-11-07 17:21:47 +00:00
|
|
|
The postgresql-plpython package contains the PL/Python procedural language,
|
|
|
|
which is an extension to the PostgreSQL database server.
|
2012-09-10 15:15:54 +00:00
|
|
|
Install this if you want to write database functions in Python 2.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %plpython3
|
|
|
|
%package plpython3
|
|
|
|
Summary: The Python3 procedural language for PostgreSQL
|
|
|
|
Group: Applications/Databases
|
|
|
|
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description plpython3
|
|
|
|
The postgresql-plpython3 package contains the PL/Python3 procedural language,
|
|
|
|
which is an extension to the PostgreSQL database server.
|
|
|
|
Install this if you want to write database functions in Python 3.
|
2007-01-13 04:30:50 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %pltcl
|
|
|
|
%package pltcl
|
2007-04-24 19:21:40 +00:00
|
|
|
Summary: The Tcl procedural language for PostgreSQL
|
2007-01-13 04:30:50 +00:00
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
2015-03-19 15:55:44 +00:00
|
|
|
Requires: tcl-pgtcl
|
2007-01-13 04:30:50 +00:00
|
|
|
|
|
|
|
%description pltcl
|
2012-09-10 15:15:54 +00:00
|
|
|
The postgresql-pltcl package contains the PL/Tcl procedural language,
|
2011-11-07 17:21:47 +00:00
|
|
|
which is an extension to the PostgreSQL database server.
|
|
|
|
Install this if you want to write database functions in Tcl.
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %test
|
|
|
|
%package test
|
2007-04-24 19:21:40 +00:00
|
|
|
Summary: The test suite distributed with PostgreSQL
|
2004-09-09 10:46:07 +00:00
|
|
|
Group: Applications/Databases
|
2011-02-10 07:01:11 +00:00
|
|
|
Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
2011-11-02 09:05:15 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%description test
|
2011-11-07 17:21:47 +00:00
|
|
|
The postgresql-test package contains files needed for various tests for the
|
|
|
|
PostgreSQL database management system, including regression tests and
|
|
|
|
benchmarks.
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2014-07-22 07:20:05 +00:00
|
|
|
( cd %_sourcedir; sha256sum -c %{SOURCE16}; sha256sum -c %{SOURCE17} )
|
2014-07-02 16:14:06 +00:00
|
|
|
%setup -q -a 12
|
2004-09-09 10:46:07 +00:00
|
|
|
%patch1 -p1
|
2008-07-29 01:50:10 +00:00
|
|
|
%patch2 -p1
|
2004-09-09 10:46:07 +00:00
|
|
|
%patch3 -p1
|
2012-08-13 17:13:01 +00:00
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
# We used to run autoconf here, but there's no longer any real need to,
|
|
|
|
# since Postgres ships with a reasonably modern configure script.
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2010-01-16 05:40:31 +00:00
|
|
|
cp -p %{SOURCE1} .
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
%if %upgrade
|
|
|
|
tar xfj %{SOURCE3}
|
|
|
|
|
2013-09-10 14:01:09 +00:00
|
|
|
# apply once SOURCE3 is extracted
|
2013-07-24 12:15:40 +00:00
|
|
|
%endif
|
2013-06-13 08:33:54 +00:00
|
|
|
|
2010-12-16 19:44:35 +00:00
|
|
|
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
|
|
|
|
find . -type f -name .gitignore | xargs rm
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%build
|
|
|
|
|
2010-01-26 18:29:52 +00:00
|
|
|
# fail quickly and obviously if user tries to build as root
|
|
|
|
%if %runselftest
|
|
|
|
if [ x"`id -u`" = x0 ]; then
|
|
|
|
echo "postgresql's regression tests fail if run as root."
|
|
|
|
echo "If you really need to build the RPM as root, use"
|
|
|
|
echo "--define='runselftest 0' to skip the regression tests."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2014-07-02 16:14:06 +00:00
|
|
|
# Building postgresql-setup
|
|
|
|
|
|
|
|
cd postgresql-setup-%{setup_version}
|
|
|
|
|
2014-12-23 12:14:18 +00:00
|
|
|
%configure \
|
2015-03-26 08:43:26 +00:00
|
|
|
pgdocdir=%{_pkgdocdir} \
|
|
|
|
systemdunitsdir=%{_prefix}/lib/systemd/system \
|
|
|
|
systemduserunitsdir=%{_sysconfdir}/systemd/system \
|
|
|
|
systemdlegacyscriptsdir=%{_libexecdir}/initscripts/legacy-actions \
|
|
|
|
PGVERSION=%{version} \
|
|
|
|
PGMAJORVERSION=%{majorversion} \
|
|
|
|
NAME_DEFAULT_PREV_SERVICE=postgresql
|
2014-07-02 16:14:06 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
cd ..
|
|
|
|
|
2014-01-10 08:17:52 +00:00
|
|
|
# Fiddling with CFLAGS.
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2014-01-10 08:17:52 +00:00
|
|
|
CFLAGS="${CFLAGS:-%optflags}"
|
|
|
|
%ifarch %{power64}
|
|
|
|
# See the bug #1051075, ppc64 should benefit from -O3
|
|
|
|
CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100`
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
# Strip out -ffast-math from CFLAGS....
|
|
|
|
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
2012-07-15 03:45:13 +00:00
|
|
|
# Add LINUX_OOM_SCORE_ADJ=0 to ensure child processes reset postmaster's oom_score_adj
|
2014-06-19 16:31:18 +00:00
|
|
|
# (this define will be useless in Postgres 9.5 and later)
|
2012-07-15 03:45:13 +00:00
|
|
|
CFLAGS="$CFLAGS -DLINUX_OOM_SCORE_ADJ=0"
|
2014-01-10 08:17:52 +00:00
|
|
|
export CFLAGS
|
2005-01-19 05:02:11 +00:00
|
|
|
|
2012-09-10 15:15:54 +00:00
|
|
|
# plpython requires separate configure/build runs to build against python 2
|
|
|
|
# versus python 3. Our strategy is to do the python 3 run first, then make
|
|
|
|
# distclean and do it again for the "normal" build. Note that the installed
|
|
|
|
# Makefile.global will reflect the python 2 build, which seems appropriate
|
|
|
|
# since that's still considered the default plpython version.
|
|
|
|
%if %plpython3
|
|
|
|
|
|
|
|
export PYTHON=/usr/bin/python3
|
|
|
|
|
|
|
|
# These configure options must match main build
|
|
|
|
%configure --disable-rpath \
|
|
|
|
%if %beta
|
|
|
|
--enable-debug \
|
|
|
|
--enable-cassert \
|
|
|
|
%endif
|
|
|
|
%if %plperl
|
|
|
|
--with-perl \
|
|
|
|
%endif
|
|
|
|
%if %pltcl
|
|
|
|
--with-tcl \
|
|
|
|
--with-tclconfig=%{_libdir} \
|
|
|
|
%endif
|
|
|
|
%if %plpython3
|
|
|
|
--with-python \
|
|
|
|
%endif
|
|
|
|
%if %ldap
|
|
|
|
--with-ldap \
|
|
|
|
%endif
|
|
|
|
%if %ssl
|
|
|
|
--with-openssl \
|
|
|
|
%endif
|
|
|
|
%if %pam
|
|
|
|
--with-pam \
|
|
|
|
%endif
|
|
|
|
%if %kerberos
|
|
|
|
--with-krb5 \
|
|
|
|
--with-gssapi \
|
|
|
|
%endif
|
|
|
|
%if %uuid
|
|
|
|
--with-ossp-uuid \
|
|
|
|
%endif
|
|
|
|
%if %xml
|
|
|
|
--with-libxml \
|
|
|
|
--with-libxslt \
|
|
|
|
%endif
|
|
|
|
%if %nls
|
|
|
|
--enable-nls \
|
|
|
|
%endif
|
|
|
|
%if %sdt
|
|
|
|
--enable-dtrace \
|
|
|
|
%endif
|
|
|
|
%if %selinux
|
|
|
|
--with-selinux \
|
|
|
|
%endif
|
2013-06-20 07:46:48 +00:00
|
|
|
--with-system-tzdata=%{_datadir}/zoneinfo \
|
|
|
|
--datadir=%{_datadir}/pgsql
|
2012-09-10 15:15:54 +00:00
|
|
|
|
2016-09-30 12:55:58 +00:00
|
|
|
# Fortunately we don't need to build much except plpython itself.
|
|
|
|
make %{?_smp_mflags} -C src/pl/plpython all
|
2012-09-10 15:15:54 +00:00
|
|
|
# save built form in a directory that "make distclean" won't touch
|
2016-09-30 12:55:58 +00:00
|
|
|
cp -a src/pl/plpython src/pl/plpython3
|
2012-09-10 15:15:54 +00:00
|
|
|
|
|
|
|
# must also save this version of Makefile.global for later
|
|
|
|
cp src/Makefile.global src/Makefile.global.python3
|
|
|
|
|
|
|
|
make distclean
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
unset PYTHON
|
|
|
|
|
|
|
|
# Normal (not python3) build begins here
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%configure --disable-rpath \
|
|
|
|
%if %beta
|
|
|
|
--enable-debug \
|
|
|
|
--enable-cassert \
|
|
|
|
%endif
|
|
|
|
%if %plperl
|
|
|
|
--with-perl \
|
|
|
|
%endif
|
2005-01-19 05:02:11 +00:00
|
|
|
%if %pltcl
|
2004-09-09 10:46:07 +00:00
|
|
|
--with-tcl \
|
|
|
|
--with-tclconfig=%{_libdir} \
|
|
|
|
%endif
|
2007-01-13 04:30:50 +00:00
|
|
|
%if %plpython
|
2004-09-09 10:46:07 +00:00
|
|
|
--with-python \
|
|
|
|
%endif
|
2008-05-18 02:17:53 +00:00
|
|
|
%if %ldap
|
|
|
|
--with-ldap \
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %ssl
|
|
|
|
--with-openssl \
|
|
|
|
%endif
|
|
|
|
%if %pam
|
|
|
|
--with-pam \
|
|
|
|
%endif
|
|
|
|
%if %kerberos
|
2005-01-19 05:02:11 +00:00
|
|
|
--with-krb5 \
|
2008-02-06 05:57:49 +00:00
|
|
|
--with-gssapi \
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2008-01-18 20:48:56 +00:00
|
|
|
%if %uuid
|
|
|
|
--with-ossp-uuid \
|
|
|
|
%endif
|
|
|
|
%if %xml
|
|
|
|
--with-libxml \
|
|
|
|
--with-libxslt \
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %nls
|
|
|
|
--enable-nls \
|
|
|
|
%endif
|
2009-03-08 20:29:14 +00:00
|
|
|
%if %sdt
|
|
|
|
--enable-dtrace \
|
|
|
|
%endif
|
2011-09-26 21:29:49 +00:00
|
|
|
%if %selinux
|
|
|
|
--with-selinux \
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2008-01-18 20:48:56 +00:00
|
|
|
--with-system-tzdata=/usr/share/zoneinfo \
|
2010-12-16 19:44:35 +00:00
|
|
|
--datadir=/usr/share/pgsql
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
make %{?_smp_mflags} world
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2005-01-19 05:02:11 +00:00
|
|
|
# Have to hack makefile to put correct path into tutorial scripts
|
|
|
|
sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
|
|
|
|
make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
|
|
|
|
rm -f src/tutorial/GNUmakefile
|
|
|
|
|
2014-11-24 13:48:51 +00:00
|
|
|
# run_testsuite WHERE
|
|
|
|
# -------------------
|
|
|
|
# Run 'make check' in WHERE path. When that command fails, return the logs
|
2016-09-30 10:09:43 +00:00
|
|
|
# given by PostgreSQL build system and set 'test_failure=1'. This function
|
|
|
|
# never exits directly nor stops rpmbuild where `set -e` is enabled.
|
2014-11-24 13:48:51 +00:00
|
|
|
run_testsuite()
|
|
|
|
{
|
2016-09-30 10:09:43 +00:00
|
|
|
make -k -C "$1" MAX_CONNECTIONS=5 check && return 0 || test_failure=1
|
2014-11-24 13:48:51 +00:00
|
|
|
(
|
|
|
|
set +x
|
2015-05-21 21:57:49 +00:00
|
|
|
echo "=== trying to find all regression.diffs files in build directory ==="
|
2016-09-30 10:09:43 +00:00
|
|
|
find "$1" -name 'regression.diffs' | \
|
2014-11-24 13:48:51 +00:00
|
|
|
while read line; do
|
|
|
|
echo "=== make failure: $line ==="
|
|
|
|
cat "$line"
|
|
|
|
done
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2016-09-30 10:09:43 +00:00
|
|
|
test_failure=0
|
|
|
|
|
2005-01-19 05:02:11 +00:00
|
|
|
%if %runselftest
|
2014-11-24 13:48:51 +00:00
|
|
|
run_testsuite "src/test/regress"
|
|
|
|
make clean -C "src/test/regress"
|
|
|
|
run_testsuite "src/pl"
|
2012-09-10 15:15:54 +00:00
|
|
|
%if %plpython3
|
|
|
|
# must install Makefile.global that selects python3
|
|
|
|
mv src/Makefile.global src/Makefile.global.save
|
|
|
|
cp src/Makefile.global.python3 src/Makefile.global
|
|
|
|
touch -r src/Makefile.global.save src/Makefile.global
|
|
|
|
# because "make check" does "make install" on the whole tree,
|
|
|
|
# we must temporarily install plpython3 as src/pl/plpython,
|
|
|
|
# since that is the subdirectory src/pl/Makefile knows about
|
|
|
|
mv src/pl/plpython src/pl/plpython2
|
|
|
|
mv src/pl/plpython3 src/pl/plpython
|
2014-11-24 13:48:51 +00:00
|
|
|
|
|
|
|
run_testsuite "src/pl/plpython"
|
|
|
|
|
2012-09-10 15:15:54 +00:00
|
|
|
# and clean up our mess
|
|
|
|
mv src/pl/plpython src/pl/plpython3
|
|
|
|
mv src/pl/plpython2 src/pl/plpython
|
|
|
|
mv -f src/Makefile.global.save src/Makefile.global
|
|
|
|
%endif
|
2014-11-24 13:48:51 +00:00
|
|
|
run_testsuite "contrib"
|
2005-01-19 05:02:11 +00:00
|
|
|
%endif
|
|
|
|
|
2014-11-24 13:48:51 +00:00
|
|
|
# "assert(ALL_TESTS_OK)"
|
|
|
|
test "$test_failure" -eq 0
|
|
|
|
|
2005-01-19 05:02:11 +00:00
|
|
|
%if %test
|
2014-11-24 13:48:51 +00:00
|
|
|
# undo the "make clean" above
|
|
|
|
make all -C src/test/regress
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
%if %upgrade
|
|
|
|
pushd postgresql-%{prevversion}
|
|
|
|
|
|
|
|
# The upgrade build can be pretty stripped-down, but make sure that
|
|
|
|
# any options that affect on-disk file layout match the previous
|
|
|
|
# major release! Also, note we intentionally do not use %%configure
|
|
|
|
# here, because we *don't* want its ideas about installation paths.
|
2013-08-12 05:32:50 +00:00
|
|
|
|
|
|
|
# The -fno-aggressive-loop-optimizations is hack for #993532
|
|
|
|
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
|
|
|
|
--build=%{_build} \
|
|
|
|
--host=%{_host} \
|
2010-12-29 00:13:08 +00:00
|
|
|
--prefix=%{_libdir}/pgsql/postgresql-%{prevmajorversion} \
|
|
|
|
--disable-rpath \
|
2013-07-26 13:51:30 +00:00
|
|
|
%if %beta
|
|
|
|
--enable-debug \
|
|
|
|
--enable-cassert \
|
|
|
|
%endif
|
2010-12-29 00:13:08 +00:00
|
|
|
--with-system-tzdata=/usr/share/zoneinfo
|
|
|
|
|
|
|
|
make %{?_smp_mflags} all
|
|
|
|
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%install
|
|
|
|
|
2014-07-02 16:14:06 +00:00
|
|
|
cd postgresql-setup-%{setup_version}
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
cd ..
|
|
|
|
|
2015-08-04 10:50:04 +00:00
|
|
|
# For some reason, having '%%doc %%{_pkgdocdir}/README.rpm-dist' in %%files
|
|
|
|
# causes FTBFS (at least on RHEL6), see rhbz#1250006.
|
2015-03-26 08:43:26 +00:00
|
|
|
cp $RPM_BUILD_ROOT/%{_pkgdocdir}/README.rpm-dist ./
|
|
|
|
|
|
|
|
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql.conf <<EOF
|
|
|
|
id postgresql
|
|
|
|
major %{prevmajorversion}
|
|
|
|
data_default %{_localstatedir}/pgsql/data
|
2016-01-06 23:14:58 +00:00
|
|
|
package postgresql-upgrade
|
2015-03-26 08:43:26 +00:00
|
|
|
engine %{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin
|
|
|
|
description "Upgrade data from system PostgreSQL version (PostgreSQL %{prevmajorversion})"
|
|
|
|
redhat_sockets_hack no
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install-world
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2012-09-10 15:15:54 +00:00
|
|
|
%if %plpython3
|
|
|
|
mv src/Makefile.global src/Makefile.global.save
|
|
|
|
cp src/Makefile.global.python3 src/Makefile.global
|
|
|
|
touch -r src/Makefile.global.save src/Makefile.global
|
|
|
|
pushd src/pl/plpython3
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
popd
|
|
|
|
mv -f src/Makefile.global.save src/Makefile.global
|
|
|
|
%endif
|
|
|
|
|
2013-02-07 15:50:50 +00:00
|
|
|
# make sure these directories exist even if we suppressed all contrib modules
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
|
|
|
|
|
2015-10-16 09:35:07 +00:00
|
|
|
# multilib header hack; some headers are installed in two places!
|
2016-06-21 10:03:59 +00:00
|
|
|
for header in \
|
|
|
|
%{_includedir}/pg_config.h \
|
|
|
|
%{_includedir}/pg_config_ext.h \
|
|
|
|
%{_includedir}/ecpg_config.h \
|
|
|
|
%{_includedir}/pgsql/server/pg_config.h \
|
|
|
|
%{_includedir}/pgsql/server/pg_config_ext.h
|
|
|
|
do
|
|
|
|
%multilib_fix_c_header --file "$header"
|
2015-10-16 09:35:07 +00:00
|
|
|
done
|
2005-12-14 22:33:00 +00:00
|
|
|
|
2005-01-19 05:02:11 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
|
2012-01-09 20:24:29 +00:00
|
|
|
cp -p src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2005-10-04 19:37:36 +00:00
|
|
|
%if %pam
|
2008-01-07 19:28:34 +00:00
|
|
|
install -d $RPM_BUILD_ROOT/etc/pam.d
|
2014-07-02 16:14:06 +00:00
|
|
|
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
|
2005-10-04 19:37:36 +00:00
|
|
|
%endif
|
|
|
|
|
2012-08-13 17:13:01 +00:00
|
|
|
# Create the directory for sockets.
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/var/run/postgresql
|
|
|
|
|
|
|
|
# ... and make a tmpfiles script to recreate it at reboot.
|
2013-06-04 13:28:55 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
2014-07-02 16:14:06 +00:00
|
|
|
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
|
2012-08-13 17:13:01 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
|
|
|
|
install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/data
|
|
|
|
|
|
|
|
# backups of data go here...
|
|
|
|
install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/backups
|
|
|
|
|
|
|
|
# postgres' .bash_profile
|
2014-07-02 16:14:06 +00:00
|
|
|
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT/var/lib/pgsql/.bash_profile
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
%if %upgrade
|
|
|
|
pushd postgresql-%{prevversion}
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
popd
|
|
|
|
|
|
|
|
# remove stuff we don't actually need for upgrade purposes
|
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/postgresql-%{prevmajorversion}
|
|
|
|
rm bin/clusterdb
|
|
|
|
rm bin/createdb
|
|
|
|
rm bin/createlang
|
|
|
|
rm bin/createuser
|
|
|
|
rm bin/dropdb
|
|
|
|
rm bin/droplang
|
|
|
|
rm bin/dropuser
|
|
|
|
rm bin/ecpg
|
|
|
|
rm bin/initdb
|
2012-09-10 15:15:54 +00:00
|
|
|
rm bin/pg_basebackup
|
2010-12-29 00:13:08 +00:00
|
|
|
rm bin/pg_config
|
|
|
|
rm bin/pg_dump
|
|
|
|
rm bin/pg_dumpall
|
|
|
|
rm bin/pg_restore
|
|
|
|
rm bin/psql
|
|
|
|
rm bin/reindexdb
|
|
|
|
rm bin/vacuumdb
|
|
|
|
rm -rf include
|
|
|
|
rm lib/dict_snowball.so
|
|
|
|
rm lib/libecpg*
|
|
|
|
rm lib/libpg*
|
|
|
|
rm lib/libpq*
|
|
|
|
rm -rf lib/pgxs
|
|
|
|
rm lib/plpgsql.so
|
|
|
|
rm -rf share/doc
|
|
|
|
rm -rf share/man
|
|
|
|
rm -rf share/tsearch_data
|
|
|
|
rm share/*.bki
|
|
|
|
rm share/*description
|
|
|
|
rm share/*.sample
|
|
|
|
rm share/*.sql
|
|
|
|
rm share/*.txt
|
|
|
|
popd
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %test
|
2005-01-19 05:02:11 +00:00
|
|
|
# tests. There are many files included here that are unnecessary,
|
|
|
|
# but include them anyway for completeness. We replace the original
|
|
|
|
# Makefiles, however.
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
|
|
|
|
cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
|
2011-11-02 09:05:15 +00:00
|
|
|
# pg_regress binary should be only in one subpackage,
|
|
|
|
# there will be a symlink from -test to -devel
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
|
|
|
|
ln -sf ../../pgxs/src/test/regress/pg_regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
|
2005-01-31 03:15:07 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
|
2007-06-20 19:19:24 +00:00
|
|
|
rm -f GNUmakefile Makefile *.o
|
2011-09-12 06:05:56 +00:00
|
|
|
chmod 0755 pg_regress regress.so
|
2004-09-09 10:46:07 +00:00
|
|
|
popd
|
2016-05-09 14:18:06 +00:00
|
|
|
sed 's|@bindir@|%{_bindir}|g' \
|
|
|
|
< %{SOURCE4} \
|
|
|
|
> $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
|
2005-01-19 05:02:11 +00:00
|
|
|
chmod 0644 $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
|
|
|
|
2013-08-06 11:06:03 +00:00
|
|
|
rm -rf doc/html # HACK! allow 'rpmbuild -bi --short-circuit'
|
2005-01-19 05:02:11 +00:00
|
|
|
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2010-01-05 17:56:35 +00:00
|
|
|
# remove files not to be packaged
|
2017-02-22 09:01:46 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/lib{ecpg,pq,ecpg_compat,pgfeutils,pgtypes}.a
|
2016-01-06 17:28:17 +00:00
|
|
|
|
|
|
|
%if !%plperl
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plperl.so
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if !%plpython
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plpython2.so
|
2011-09-26 21:29:49 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# initialize file lists
|
|
|
|
cp /dev/null main.lst
|
|
|
|
cp /dev/null libs.lst
|
|
|
|
cp /dev/null server.lst
|
|
|
|
cp /dev/null devel.lst
|
|
|
|
cp /dev/null plperl.lst
|
|
|
|
cp /dev/null pltcl.lst
|
|
|
|
cp /dev/null plpython.lst
|
2012-09-10 15:15:54 +00:00
|
|
|
cp /dev/null plpython3.lst
|
2010-01-05 17:56:35 +00:00
|
|
|
|
2011-09-26 21:29:49 +00:00
|
|
|
%if %nls
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang ecpg-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat ecpg-%{majorversion}.lang >>devel.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang ecpglib6-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat ecpglib6-%{majorversion}.lang >>libs.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang initdb-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat initdb-%{majorversion}.lang >>server.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang libpq5-%{majorversion}
|
|
|
|
cat libpq5-%{majorversion}.lang >>libs.lst
|
2011-09-12 06:05:56 +00:00
|
|
|
%find_lang pg_basebackup-%{majorversion}
|
|
|
|
cat pg_basebackup-%{majorversion}.lang >>server.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang pg_controldata-%{majorversion}
|
|
|
|
cat pg_controldata-%{majorversion}.lang >>server.lst
|
|
|
|
%find_lang pg_ctl-%{majorversion}
|
|
|
|
cat pg_ctl-%{majorversion}.lang >>server.lst
|
2010-12-29 00:13:08 +00:00
|
|
|
%find_lang pg_config-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat pg_config-%{majorversion}.lang >>main.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang pg_dump-%{majorversion}
|
2010-12-29 00:13:08 +00:00
|
|
|
cat pg_dump-%{majorversion}.lang >>main.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang pg_resetxlog-%{majorversion}
|
|
|
|
cat pg_resetxlog-%{majorversion}.lang >>server.lst
|
2016-01-06 17:28:17 +00:00
|
|
|
%find_lang pg_rewind-%{majorversion}
|
|
|
|
cat pg_rewind-%{majorversion}.lang >>server.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%find_lang pgscripts-%{majorversion}
|
|
|
|
cat pgscripts-%{majorversion}.lang >>main.lst
|
|
|
|
%if %plperl
|
|
|
|
%find_lang plperl-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat plperl-%{majorversion}.lang >>plperl.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%endif
|
|
|
|
%find_lang plpgsql-%{majorversion}
|
|
|
|
cat plpgsql-%{majorversion}.lang >>server.lst
|
|
|
|
%if %plpython
|
|
|
|
%find_lang plpython-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat plpython-%{majorversion}.lang >>plpython.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%endif
|
2012-09-10 15:15:54 +00:00
|
|
|
%if %plpython3
|
|
|
|
# plpython3 shares message files with plpython
|
|
|
|
%find_lang plpython-%{majorversion}
|
|
|
|
cat plpython-%{majorversion}.lang >>plpython3.lst
|
|
|
|
%endif
|
2009-08-18 02:58:55 +00:00
|
|
|
%if %pltcl
|
|
|
|
%find_lang pltcl-%{majorversion}
|
2011-09-26 21:29:49 +00:00
|
|
|
cat pltcl-%{majorversion}.lang >>pltcl.lst
|
2009-08-18 02:58:55 +00:00
|
|
|
%endif
|
|
|
|
%find_lang postgres-%{majorversion}
|
|
|
|
cat postgres-%{majorversion}.lang >>server.lst
|
|
|
|
%find_lang psql-%{majorversion}
|
|
|
|
cat psql-%{majorversion}.lang >>main.lst
|
2011-09-26 21:29:49 +00:00
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%pre server
|
2010-02-22 18:16:56 +00:00
|
|
|
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
|
|
|
|
/usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
|
2005-05-10 15:34:35 +00:00
|
|
|
-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%post server
|
2012-12-06 16:05:36 +00:00
|
|
|
%if 0%{?systemd_post:1}
|
2012-09-24 15:33:10 +00:00
|
|
|
%systemd_post postgresql.service
|
2012-12-06 16:05:36 +00:00
|
|
|
%else
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
# Initial installation
|
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
%endif
|
2011-07-27 23:32:24 +00:00
|
|
|
|
|
|
|
# Run this when upgrading from SysV initscript to native systemd unit
|
|
|
|
%triggerun server -- postgresql-server < %{first_systemd_version}
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply postgresql
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save postgresql >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del postgresql >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart postgresql.service >/dev/null 2>&1 || :
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%preun server
|
2012-12-06 16:05:36 +00:00
|
|
|
%if 0%{?systemd_preun:1}
|
2012-09-24 15:33:10 +00:00
|
|
|
%systemd_preun postgresql.service
|
2012-12-06 16:05:36 +00:00
|
|
|
%else
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
# Package removal, not upgrade
|
|
|
|
/bin/systemctl --no-reload disable postgresql.service >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop postgresql.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%postun server
|
2012-12-06 16:05:36 +00:00
|
|
|
%if 0%{?systemd_postun_with_restart:1}
|
2012-09-24 15:33:10 +00:00
|
|
|
%systemd_postun_with_restart postgresql.service
|
2012-12-06 16:05:36 +00:00
|
|
|
%else
|
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
# Package upgrade, not uninstall
|
|
|
|
/bin/systemctl try-restart postgresql.service >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2015-12-03 12:17:34 +00:00
|
|
|
%clean
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
# FILES section.
|
|
|
|
|
|
|
|
%files -f main.lst
|
2011-09-12 06:05:56 +00:00
|
|
|
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
|
2004-09-09 10:46:07 +00:00
|
|
|
%doc COPYRIGHT README HISTORY doc/bug.template
|
2015-08-04 10:50:04 +00:00
|
|
|
%doc README.rpm-dist
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/clusterdb
|
|
|
|
%{_bindir}/createdb
|
|
|
|
%{_bindir}/createlang
|
|
|
|
%{_bindir}/createuser
|
|
|
|
%{_bindir}/dropdb
|
|
|
|
%{_bindir}/droplang
|
|
|
|
%{_bindir}/dropuser
|
|
|
|
%{_bindir}/pg_dump
|
|
|
|
%{_bindir}/pg_dumpall
|
2013-09-10 14:01:09 +00:00
|
|
|
%{_bindir}/pg_isready
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/pg_restore
|
2016-01-06 17:28:17 +00:00
|
|
|
%{_bindir}/pg_upgrade
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/psql
|
2005-11-07 21:54:56 +00:00
|
|
|
%{_bindir}/reindexdb
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/vacuumdb
|
2015-02-04 06:32:08 +00:00
|
|
|
%dir %{_libdir}/pgsql
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_mandir}/man1/clusterdb.*
|
|
|
|
%{_mandir}/man1/createdb.*
|
|
|
|
%{_mandir}/man1/createlang.*
|
|
|
|
%{_mandir}/man1/createuser.*
|
|
|
|
%{_mandir}/man1/dropdb.*
|
|
|
|
%{_mandir}/man1/droplang.*
|
|
|
|
%{_mandir}/man1/dropuser.*
|
|
|
|
%{_mandir}/man1/pg_dump.*
|
|
|
|
%{_mandir}/man1/pg_dumpall.*
|
2013-09-10 14:01:09 +00:00
|
|
|
%{_mandir}/man1/pg_isready.*
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_mandir}/man1/pg_restore.*
|
2016-01-06 17:28:17 +00:00
|
|
|
%{_mandir}/man1/pg_upgrade.*
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_mandir}/man1/psql.*
|
2005-11-07 21:54:56 +00:00
|
|
|
%{_mandir}/man1/reindexdb.*
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_mandir}/man1/vacuumdb.*
|
|
|
|
%{_mandir}/man7/*
|
|
|
|
|
|
|
|
%files docs
|
2005-01-19 05:02:11 +00:00
|
|
|
%doc *-US.pdf
|
2014-06-25 14:51:05 +00:00
|
|
|
%doc doc/html
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/pgsql/tutorial/
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%files contrib
|
2015-02-04 06:32:08 +00:00
|
|
|
%doc contrib/spi/*.example
|
|
|
|
%{_bindir}/oid2name
|
|
|
|
%{_bindir}/pg_archivecleanup
|
|
|
|
%{_bindir}/pg_standby
|
|
|
|
%{_bindir}/pg_test_fsync
|
|
|
|
%{_bindir}/pg_test_timing
|
|
|
|
%{_bindir}/pg_xlogdump
|
|
|
|
%{_bindir}/pgbench
|
|
|
|
%{_bindir}/vacuumlo
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/adminpack*
|
|
|
|
%{_datadir}/pgsql/extension/autoinc*
|
2016-09-30 12:42:57 +00:00
|
|
|
%{_datadir}/pgsql/extension/bloom*
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/btree_gin*
|
|
|
|
%{_datadir}/pgsql/extension/btree_gist*
|
|
|
|
%{_datadir}/pgsql/extension/chkpass*
|
|
|
|
%{_datadir}/pgsql/extension/citext*
|
|
|
|
%{_datadir}/pgsql/extension/cube*
|
|
|
|
%{_datadir}/pgsql/extension/dblink*
|
|
|
|
%{_datadir}/pgsql/extension/dict_int*
|
|
|
|
%{_datadir}/pgsql/extension/dict_xsyn*
|
|
|
|
%{_datadir}/pgsql/extension/earthdistance*
|
|
|
|
%{_datadir}/pgsql/extension/file_fdw*
|
|
|
|
%{_datadir}/pgsql/extension/fuzzystrmatch*
|
|
|
|
%{_datadir}/pgsql/extension/hstore*
|
|
|
|
%{_datadir}/pgsql/extension/insert_username*
|
|
|
|
%{_datadir}/pgsql/extension/intagg*
|
|
|
|
%{_datadir}/pgsql/extension/intarray*
|
|
|
|
%{_datadir}/pgsql/extension/isn*
|
|
|
|
%{_datadir}/pgsql/extension/lo*
|
|
|
|
%{_datadir}/pgsql/extension/ltree*
|
|
|
|
%{_datadir}/pgsql/extension/moddatetime*
|
|
|
|
%{_datadir}/pgsql/extension/pageinspect*
|
|
|
|
%{_datadir}/pgsql/extension/pg_buffercache*
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_datadir}/pgsql/extension/pg_freespacemap*
|
|
|
|
%{_datadir}/pgsql/extension/pg_prewarm*
|
|
|
|
%{_datadir}/pgsql/extension/pg_stat_statements*
|
|
|
|
%{_datadir}/pgsql/extension/pg_trgm*
|
2016-09-30 12:42:57 +00:00
|
|
|
%{_datadir}/pgsql/extension/pg_visibility*
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_datadir}/pgsql/extension/pgcrypto*
|
|
|
|
%{_datadir}/pgsql/extension/pgrowlocks*
|
|
|
|
%{_datadir}/pgsql/extension/pgstattuple*
|
2013-09-10 14:01:09 +00:00
|
|
|
%{_datadir}/pgsql/extension/postgres_fdw*
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/refint*
|
|
|
|
%{_datadir}/pgsql/extension/seg*
|
|
|
|
%{_datadir}/pgsql/extension/tablefunc*
|
2012-09-10 15:15:54 +00:00
|
|
|
%{_datadir}/pgsql/extension/tcn*
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/timetravel*
|
|
|
|
%{_datadir}/pgsql/extension/tsearch2*
|
2016-01-06 17:28:17 +00:00
|
|
|
%{_datadir}/pgsql/extension/tsm_system_rows*
|
|
|
|
%{_datadir}/pgsql/extension/tsm_system_time*
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/unaccent*
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/pgsql/_int.so
|
2006-12-05 03:01:02 +00:00
|
|
|
%{_libdir}/pgsql/adminpack.so
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_libdir}/pgsql/auth_delay.so
|
2009-08-18 02:58:55 +00:00
|
|
|
%{_libdir}/pgsql/auto_explain.so
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_libdir}/pgsql/autoinc.so
|
2016-09-30 12:42:57 +00:00
|
|
|
%{_libdir}/pgsql/bloom.so
|
2009-08-18 02:58:55 +00:00
|
|
|
%{_libdir}/pgsql/btree_gin.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/btree_gist.so
|
|
|
|
%{_libdir}/pgsql/chkpass.so
|
2009-08-18 02:58:55 +00:00
|
|
|
%{_libdir}/pgsql/citext.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/cube.so
|
|
|
|
%{_libdir}/pgsql/dblink.so
|
2008-01-18 20:48:56 +00:00
|
|
|
%{_libdir}/pgsql/dict_int.so
|
|
|
|
%{_libdir}/pgsql/dict_xsyn.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/earthdistance.so
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_libdir}/pgsql/file_fdw.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/fuzzystrmatch.so
|
2006-12-05 03:01:02 +00:00
|
|
|
%{_libdir}/pgsql/hstore.so
|
2016-01-06 17:28:17 +00:00
|
|
|
%if %plperl
|
|
|
|
%{_libdir}/pgsql/hstore_plperl.so
|
|
|
|
%endif
|
|
|
|
%if %plpython
|
|
|
|
%{_libdir}/pgsql/hstore_plpython2.so
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/insert_username.so
|
2006-12-05 03:01:02 +00:00
|
|
|
%{_libdir}/pgsql/isn.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/lo.so
|
|
|
|
%{_libdir}/pgsql/ltree.so
|
2016-01-06 17:28:17 +00:00
|
|
|
%if %plpython
|
|
|
|
%{_libdir}/pgsql/ltree_plpython2.so
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/moddatetime.so
|
2008-01-18 20:48:56 +00:00
|
|
|
%{_libdir}/pgsql/pageinspect.so
|
2010-12-29 00:13:08 +00:00
|
|
|
%{_libdir}/pgsql/passwordcheck.so
|
2005-11-07 21:54:56 +00:00
|
|
|
%{_libdir}/pgsql/pg_buffercache.so
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_libdir}/pgsql/pg_freespacemap.so
|
|
|
|
%{_libdir}/pgsql/pg_stat_statements.so
|
|
|
|
%{_libdir}/pgsql/pg_trgm.so
|
2016-09-30 12:42:57 +00:00
|
|
|
%{_libdir}/pgsql/pg_visibility.so
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/pgsql/pgcrypto.so
|
|
|
|
%{_libdir}/pgsql/pgrowlocks.so
|
|
|
|
%{_libdir}/pgsql/pgstattuple.so
|
2013-09-10 14:01:09 +00:00
|
|
|
%{_libdir}/pgsql/postgres_fdw.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/refint.so
|
|
|
|
%{_libdir}/pgsql/seg.so
|
|
|
|
%{_libdir}/pgsql/tablefunc.so
|
2012-09-10 15:15:54 +00:00
|
|
|
%{_libdir}/pgsql/tcn.so
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_libdir}/pgsql/test_decoding.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/timetravel.so
|
|
|
|
%{_libdir}/pgsql/tsearch2.so
|
2016-01-06 17:28:17 +00:00
|
|
|
%{_libdir}/pgsql/tsm_system_rows.so
|
|
|
|
%{_libdir}/pgsql/tsm_system_time.so
|
2010-12-29 00:13:08 +00:00
|
|
|
%{_libdir}/pgsql/unaccent.so
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_mandir}/man1/oid2name.*
|
|
|
|
%{_mandir}/man1/pg_archivecleanup.*
|
|
|
|
%{_mandir}/man1/pg_recvlogical.*
|
|
|
|
%{_mandir}/man1/pg_standby.*
|
|
|
|
%{_mandir}/man1/pg_test_fsync.*
|
|
|
|
%{_mandir}/man1/pg_test_timing.*
|
|
|
|
%{_mandir}/man1/pg_xlogdump.*
|
|
|
|
%{_mandir}/man1/pgbench.*
|
|
|
|
%{_mandir}/man1/vacuumlo.*
|
|
|
|
%{_mandir}/man3/dblink*
|
2011-09-26 21:29:49 +00:00
|
|
|
%if %selinux
|
|
|
|
%{_datadir}/pgsql/contrib/sepgsql.sql
|
|
|
|
%{_libdir}/pgsql/sepgsql.so
|
|
|
|
%endif
|
|
|
|
%if %ssl
|
|
|
|
%{_datadir}/pgsql/extension/sslinfo*
|
|
|
|
%{_libdir}/pgsql/sslinfo.so
|
|
|
|
%endif
|
2008-01-18 20:48:56 +00:00
|
|
|
%if %uuid
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/uuid-ossp*
|
2008-01-18 20:48:56 +00:00
|
|
|
%{_libdir}/pgsql/uuid-ossp.so
|
|
|
|
%endif
|
2005-10-04 19:37:36 +00:00
|
|
|
%if %xml
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/xml2*
|
2005-10-04 19:37:36 +00:00
|
|
|
%{_libdir}/pgsql/pgxml.so
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2009-08-18 02:58:55 +00:00
|
|
|
%files libs -f libs.lst
|
2010-07-08 20:21:30 +00:00
|
|
|
%doc COPYRIGHT
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/libecpg.so.*
|
|
|
|
%{_libdir}/libecpg_compat.so.*
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/libpgtypes.so.*
|
|
|
|
%{_libdir}/libpq.so.*
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%files server -f server.lst
|
|
|
|
%{_bindir}/initdb
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_bindir}/pg_basebackup
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/pg_controldata
|
|
|
|
%{_bindir}/pg_ctl
|
2012-09-10 15:15:54 +00:00
|
|
|
%{_bindir}/pg_receivexlog
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_bindir}/pg_recvlogical
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/pg_resetxlog
|
2016-01-06 17:28:17 +00:00
|
|
|
%{_bindir}/pg_rewind
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/postgres
|
2011-07-27 23:32:24 +00:00
|
|
|
%{_bindir}/postgresql-setup
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_bindir}/postmaster
|
2015-02-04 06:32:08 +00:00
|
|
|
%dir %{_datadir}/pgsql
|
|
|
|
%{_datadir}/pgsql/*.sample
|
|
|
|
%dir %{_datadir}/pgsql/contrib
|
|
|
|
%{_datadir}/pgsql/conversion_create.sql
|
|
|
|
%dir %{_datadir}/pgsql/extension
|
|
|
|
%{_datadir}/pgsql/extension/plpgsql*
|
|
|
|
%{_datadir}/pgsql/information_schema.sql
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_datadir}/pgsql/postgres.bki
|
|
|
|
%{_datadir}/pgsql/postgres.description
|
2006-12-05 03:01:02 +00:00
|
|
|
%{_datadir}/pgsql/postgres.shdescription
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_datadir}/pgsql/snowball_create.sql
|
|
|
|
%{_datadir}/pgsql/sql_features.txt
|
2005-01-19 05:02:11 +00:00
|
|
|
%{_datadir}/pgsql/system_views.sql
|
2006-12-05 03:01:02 +00:00
|
|
|
%{_datadir}/pgsql/timezonesets/
|
2008-01-18 20:48:56 +00:00
|
|
|
%{_datadir}/pgsql/tsearch_data/
|
2016-04-03 19:33:12 +00:00
|
|
|
%dir %{_datadir}/postgresql-setup
|
2015-03-26 08:43:26 +00:00
|
|
|
%{_datadir}/postgresql-setup/library.sh
|
2016-10-04 10:39:42 +00:00
|
|
|
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/pgsql/*_and_*.so
|
2008-01-18 20:48:56 +00:00
|
|
|
%{_libdir}/pgsql/dict_snowball.so
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/pgsql/euc2004_sjis2004.so
|
|
|
|
%{_libdir}/pgsql/libpqwalreceiver.so
|
2014-12-23 12:14:18 +00:00
|
|
|
%{_libdir}/pgsql/pg_prewarm.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/plpgsql.so
|
2015-02-04 06:32:08 +00:00
|
|
|
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
|
|
|
|
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
|
|
|
|
%{_libexecdir}/postgresql-check-db-dir
|
|
|
|
%{_libexecdir}/postgresql-ctl
|
2015-03-26 08:43:26 +00:00
|
|
|
%dir %{_sysconfdir}/postgresql-setup
|
|
|
|
%dir %{_sysconfdir}/postgresql-setup/upgrade
|
|
|
|
%config %{_sysconfdir}/postgresql-setup/upgrade/*.conf
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_mandir}/man1/initdb.*
|
|
|
|
%{_mandir}/man1/pg_basebackup.*
|
|
|
|
%{_mandir}/man1/pg_controldata.*
|
|
|
|
%{_mandir}/man1/pg_ctl.*
|
|
|
|
%{_mandir}/man1/pg_receivexlog.*
|
|
|
|
%{_mandir}/man1/pg_resetxlog.*
|
2016-01-06 17:28:17 +00:00
|
|
|
%{_mandir}/man1/pg_rewind.*
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_mandir}/man1/postgres.*
|
|
|
|
%{_mandir}/man1/postgresql-setup.*
|
|
|
|
%{_mandir}/man1/postmaster.*
|
2013-06-04 13:28:55 +00:00
|
|
|
%{_tmpfilesdir}/postgresql.conf
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_unitdir}/postgresql.service
|
|
|
|
%{_unitdir}/postgresql@.service
|
2004-09-09 10:46:07 +00:00
|
|
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql
|
|
|
|
%attr(644,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
|
2015-02-04 06:32:08 +00:00
|
|
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
|
|
|
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
|
|
|
|
%attr(755,postgres,postgres) %dir /var/run/postgresql
|
|
|
|
%if %pam
|
|
|
|
%config(noreplace) /etc/pam.d/postgresql
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
2009-08-18 02:58:55 +00:00
|
|
|
%files devel -f devel.lst
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/ecpg
|
2015-10-16 08:05:24 +00:00
|
|
|
%{_bindir}/pg_config
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_includedir}/*
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/libecpg.so
|
|
|
|
%{_libdir}/libecpg_compat.so
|
|
|
|
%{_libdir}/libpgtypes.so
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/libpq.so
|
2005-01-19 05:02:11 +00:00
|
|
|
%{_libdir}/pgsql/pgxs/
|
2013-09-10 14:01:09 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_mandir}/man1/ecpg.*
|
2015-10-16 08:05:24 +00:00
|
|
|
%{_mandir}/man1/pg_config.*
|
2010-12-29 00:13:08 +00:00
|
|
|
%{_mandir}/man3/SPI_*
|
2014-07-03 14:24:41 +00:00
|
|
|
%{macrosdir}/*
|
2010-12-29 00:13:08 +00:00
|
|
|
|
2016-02-26 07:19:43 +00:00
|
|
|
%files static
|
|
|
|
%{_libdir}/libpgcommon.a
|
|
|
|
%{_libdir}/libpgport.a
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
%if %upgrade
|
|
|
|
%files upgrade
|
|
|
|
%{_libdir}/pgsql/postgresql-%{prevmajorversion}
|
|
|
|
%endif
|
2004-09-09 10:46:07 +00:00
|
|
|
|
|
|
|
%if %plperl
|
2009-08-18 02:58:55 +00:00
|
|
|
%files plperl -f plperl.lst
|
2011-09-12 06:05:56 +00:00
|
|
|
%{_datadir}/pgsql/extension/plperl*
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_libdir}/pgsql/plperl.so
|
|
|
|
%endif
|
2007-01-13 04:30:50 +00:00
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %pltcl
|
2009-08-18 02:58:55 +00:00
|
|
|
%files pltcl -f pltcl.lst
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_bindir}/pltcl_delmod
|
|
|
|
%{_bindir}/pltcl_listmod
|
|
|
|
%{_bindir}/pltcl_loadmod
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_datadir}/pgsql/extension/pltcl*
|
2004-09-09 10:46:07 +00:00
|
|
|
%{_datadir}/pgsql/unknown.pltcl
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_libdir}/pgsql/pltcl.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
2007-01-13 04:30:50 +00:00
|
|
|
|
|
|
|
%if %plpython
|
2009-08-18 02:58:55 +00:00
|
|
|
%files plpython -f plpython.lst
|
2012-09-10 15:15:54 +00:00
|
|
|
%{_datadir}/pgsql/extension/plpython2*
|
2015-02-04 06:32:08 +00:00
|
|
|
%{_datadir}/pgsql/extension/plpythonu*
|
2010-12-29 00:13:08 +00:00
|
|
|
%{_libdir}/pgsql/plpython2.so
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
|
|
|
|
2012-09-10 15:15:54 +00:00
|
|
|
%if %plpython3
|
|
|
|
%files plpython3 -f plpython3.lst
|
|
|
|
%{_datadir}/pgsql/extension/plpython3*
|
|
|
|
%{_libdir}/pgsql/plpython3.so
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
%if %test
|
|
|
|
%files test
|
2015-02-04 06:32:08 +00:00
|
|
|
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
|
2004-09-09 10:46:07 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
2017-05-11 10:34:04 +00:00
|
|
|
* Thu May 11 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
|
|
|
|
- update to 9.6.3 per release notes:
|
|
|
|
https://www.postgresql.org/docs/9.6/static/release-9-6-3.html
|
|
|
|
|
2017-02-22 09:01:46 +00:00
|
|
|
* Wed Feb 22 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-1
|
2017-02-07 09:58:49 +00:00
|
|
|
- update to 9.6.2 per release notes:
|
|
|
|
https://www.postgresql.org/docs/9.6/static/release-9-6-2.html
|
2017-02-22 09:01:46 +00:00
|
|
|
- remove mistakenly isntalled libpgfeutils.a
|
2017-02-07 09:58:49 +00:00
|
|
|
|
2017-01-12 16:30:37 +00:00
|
|
|
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 9.6.1-3
|
|
|
|
- Rebuild for readline 7.x
|
|
|
|
|
2016-12-19 17:20:36 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 9.6.1-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-10-26 06:26:15 +00:00
|
|
|
* Wed Oct 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.1-1
|
|
|
|
- update to 9.6.1 per release notes:
|
|
|
|
https://www.postgresql.org/docs/9.6/static/release-9-6-1.html
|
|
|
|
- add gen_sources.sh script
|
2016-10-26 06:29:39 +00:00
|
|
|
- remove plpython build hack, fixed upstream
|
2016-10-26 06:35:28 +00:00
|
|
|
- remove aarch64 and ppc64p7 hacks, fixed by the %%configure call
|
2016-10-26 06:26:15 +00:00
|
|
|
|
2016-10-04 10:39:42 +00:00
|
|
|
* Tue Oct 04 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
|
|
|
|
- rebase the postgresql-setup tarball
|
|
|
|
|
2016-09-30 12:42:57 +00:00
|
|
|
* Fri Sep 30 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
|
|
|
|
- update to 9.6.0 per release notes:
|
|
|
|
https://www.postgresql.org/docs/9.6/static/release-9-6.html
|
|
|
|
|
2016-08-12 05:48:18 +00:00
|
|
|
* Fri Aug 12 2016 Petr Kubat <pkubat@redhat.com> - 9.5.4-1
|
|
|
|
- update to 9.5.4 per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.5/static/release-9-5-4.html
|
|
|
|
|
2016-06-21 10:03:59 +00:00
|
|
|
* Mon Jun 20 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.3-3
|
|
|
|
- use multilib-rpm-config package for multilib hacks
|
|
|
|
|
2016-05-15 03:16:43 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 9.5.3-2
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-05-12 08:36:48 +00:00
|
|
|
* Thu May 12 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.3-1
|
|
|
|
- update to 9.5.3 per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.5/static/release-9-5-3.html
|
|
|
|
|
2016-05-09 14:18:06 +00:00
|
|
|
* Mon May 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-2
|
|
|
|
- fix the test subpackage, pg_regress now uses --bindir
|
|
|
|
|
2016-04-03 19:30:28 +00:00
|
|
|
* Sun Apr 03 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-1
|
|
|
|
- update to 9.5.2 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.5/static/release-9-5-2.html
|
|
|
|
|
2016-02-26 07:19:43 +00:00
|
|
|
* Fri Feb 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-2
|
|
|
|
- package static libraries without dynamic counterparts (rhbz#784281)
|
|
|
|
|
2016-02-09 14:19:16 +00:00
|
|
|
* Tue Feb 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-1
|
|
|
|
- update to 9.5.1 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.5/static/release-9-5-1.html
|
|
|
|
|
2016-02-04 18:22:43 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-06 17:28:17 +00:00
|
|
|
* Wed Jan 06 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.0-1
|
|
|
|
- update to 9.5.0 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.5/static/release-9-5.html
|
2016-01-06 23:14:58 +00:00
|
|
|
- update postgresql-setup to v4.0 to reflect new packaging style
|
2016-01-06 17:28:17 +00:00
|
|
|
|
|
|
|
* Wed Dec 16 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.4.5-5
|
2015-12-16 11:56:26 +00:00
|
|
|
- fixed problem with xml2 test (rhbz#1286692)
|
|
|
|
|
2015-12-03 12:17:34 +00:00
|
|
|
* Thu Dec 3 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.4.5-4
|
|
|
|
- fixed short-circuit build
|
|
|
|
|
2015-11-12 10:18:25 +00:00
|
|
|
* Thu Nov 12 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-3
|
|
|
|
- fix testsuite failure with new Python 3.5 (rhbz#1280404)
|
|
|
|
|
2015-11-10 14:53:03 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-10-16 08:05:24 +00:00
|
|
|
* Fri Oct 16 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-2
|
|
|
|
- devel package should not require the main package (rhbz#1272219)
|
2015-10-16 09:35:07 +00:00
|
|
|
- multilib fix, more general solution (rhbz#1190346)
|
2015-10-16 08:05:24 +00:00
|
|
|
|
2015-10-06 13:23:21 +00:00
|
|
|
* Tue Oct 06 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-1
|
|
|
|
- update to 9.4.5 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.4/static/release-9-4-5.html
|
|
|
|
|
2015-09-25 11:54:46 +00:00
|
|
|
* Fri Sep 25 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-6
|
|
|
|
- postgresql-setup rebase to 3.4 (rhbz#1265319, rhbz#1247477)
|
|
|
|
|
2015-09-17 09:13:36 +00:00
|
|
|
* Thu Sep 17 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-5
|
|
|
|
- enable hardening (safe for kernel 4.1+) (see rhbz#952946 comment #24)
|
|
|
|
|
2015-08-04 10:50:04 +00:00
|
|
|
* Tue Aug 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-4
|
|
|
|
- install README.rpm-dist properly (rhbz#1249708)
|
|
|
|
|
2015-07-14 11:40:51 +00:00
|
|
|
* Tue Jul 14 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-3
|
|
|
|
- revert/fix part of e6acde1a9 commit related to multilib hack (rhbz#1242873)
|
|
|
|
|
2015-06-18 15:41:44 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-15 07:36:54 +00:00
|
|
|
* Mon Jun 15 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
|
|
|
|
- fix for Perl 5.22 rebase (rhbz#1231279)
|
|
|
|
|
2015-06-11 13:04:17 +00:00
|
|
|
* Thu Jun 11 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
|
|
|
|
- update to 9.4.4 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.4/static/release-9-4-4.html
|
|
|
|
|
2015-06-06 16:24:03 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 9.4.3-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-06-03 08:36:46 +00:00
|
|
|
* Wed Jun 03 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.3-1
|
|
|
|
- update to 9.4.3 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.4/static/release-9-4-3.html
|
|
|
|
|
2015-05-21 23:05:44 +00:00
|
|
|
* Thu May 21 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.2-1
|
|
|
|
- update to 9.4.2 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.4/static/release-9-4-2.html
|
|
|
|
|
2015-05-21 21:57:49 +00:00
|
|
|
* Thu May 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4
|
|
|
|
- make the %%check phase more verbose for FAIL cases
|
2015-05-21 22:04:38 +00:00
|
|
|
- don't FTBFS on f23+ where hardening is on by default
|
2015-05-21 21:57:49 +00:00
|
|
|
|
2015-03-26 08:43:26 +00:00
|
|
|
* Wed Mar 25 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-3
|
|
|
|
- update to postgresql-setup 3.3
|
|
|
|
|
2015-03-19 15:55:44 +00:00
|
|
|
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-2
|
|
|
|
- Adding tcl-pgtcl into Requires of -tcl subpackage
|
|
|
|
|
2015-02-04 07:44:53 +00:00
|
|
|
* Wed Feb 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-1
|
|
|
|
- update to 9.4.1 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
|
|
|
|
|
2015-02-04 06:32:08 +00:00
|
|
|
* Tue Feb 03 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.0-2
|
|
|
|
- sort file lists alphabetically
|
|
|
|
|
2014-12-23 12:14:18 +00:00
|
|
|
* Tue Dec 23 2014 Jozef Mlich <jmlich@redhat.com> - 9.4.0-1
|
|
|
|
- update to 9.4.0 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.4/static/index.html
|
|
|
|
|
2014-11-24 13:48:51 +00:00
|
|
|
* Mon Nov 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-8
|
|
|
|
- print regression.diffs contents to stdout (#1118392)
|
|
|
|
|
2014-10-20 09:47:13 +00:00
|
|
|
* Mon Oct 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-7
|
|
|
|
- be forgiving of variant spellings of locale names in pg_upgrade (#1007802)
|
|
|
|
|
2014-07-02 16:14:06 +00:00
|
|
|
* Sun Sep 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-6
|
|
|
|
- postgresql-setup & relatives are now in separate tarball
|
|
|
|
|
2014-08-27 15:46:57 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 9.3.5-5
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-21 13:32:39 +00:00
|
|
|
* Thu Aug 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-4
|
|
|
|
- install macros.postgresql, not postgresql.macros
|
|
|
|
|
2014-08-17 19:40:36 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-24 11:44:01 +00:00
|
|
|
* Thu Jul 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-2
|
|
|
|
- fix the prevversion sum link and comment a little
|
|
|
|
|
2014-07-22 07:20:05 +00:00
|
|
|
* Tue Jul 22 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-1
|
|
|
|
- update to 9.3.5 per release notes
|
|
|
|
http://www.postgresql.org/docs/9.3/static/release-9-3-5.html
|
|
|
|
|
2014-07-03 14:24:41 +00:00
|
|
|
* Fri Jul 18 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-8
|
2014-06-25 14:48:39 +00:00
|
|
|
- provide postgresql-doc for postgresql-docs package (#1086420)
|
2014-06-25 14:51:05 +00:00
|
|
|
- move html documentation to *-docs subpackage (#1086420)
|
2014-07-03 14:24:41 +00:00
|
|
|
- provide postgresql-server(:MODULE_COMPAT_%%{postgresql_major}) to guard
|
|
|
|
against incompatible plugin installation (#1008939)
|
2014-06-25 14:48:39 +00:00
|
|
|
|
2014-06-19 16:31:18 +00:00
|
|
|
* Thu Jun 19 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-7
|
|
|
|
- OOM handling compatible with 9.5+, by Tom Lane (#1110969)
|
|
|
|
|
2014-06-07 16:53:55 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-26 06:42:49 +00:00
|
|
|
* Mon May 26 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-5
|
|
|
|
- Rebuild for Python 3.4
|
|
|
|
|
2014-05-23 14:53:07 +00:00
|
|
|
* Fri May 23 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-4
|
|
|
|
- Change plpython_do test a bit so it is universal for all python versions
|
|
|
|
|
2014-05-21 10:31:43 +00:00
|
|
|
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 9.3.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
|
|
|
|
|
2014-05-14 11:33:10 +00:00
|
|
|
* Wed May 14 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-2
|
|
|
|
- set basic $PATH when it is empty or unset, (#1097317)
|
|
|
|
|
2014-03-20 16:18:11 +00:00
|
|
|
* Thu Mar 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.4-1
|
|
|
|
- update to 9.3.4 minor version per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.3/static/release-9-3-4.html
|
|
|
|
|
2014-03-13 12:50:06 +00:00
|
|
|
* Thu Mar 13 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-2
|
|
|
|
- Fix WAL replay of locking an updated tuple
|
|
|
|
kudos to Alvaro Herrera
|
|
|
|
|
2014-02-20 14:58:24 +00:00
|
|
|
* Thu Feb 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-1
|
|
|
|
- update to 9.3.3 minor version per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.3/static/release-9-3-3.html
|
|
|
|
|
2014-01-23 09:56:07 +00:00
|
|
|
* Thu Jan 23 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-7
|
|
|
|
- postgresql-setup: typos
|
|
|
|
|
2014-01-21 14:41:35 +00:00
|
|
|
* Tue Jan 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-6
|
|
|
|
- add PGSETUP_PGUPGRADE_OPTIONS env var for postgresql-setup
|
|
|
|
|
2014-01-20 13:11:11 +00:00
|
|
|
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-5
|
|
|
|
- fix the postgresql-setup --version option
|
|
|
|
|
2014-01-09 19:16:54 +00:00
|
|
|
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-4
|
2014-01-09 08:42:46 +00:00
|
|
|
- postgresql-setup(upgrade): don't stop old server when it can not be started
|
2014-01-09 08:45:02 +00:00
|
|
|
- postgresql-setup(initdb, upgrade): add $PGSETUP_INITDB_OPTIONS
|
2014-01-09 13:06:25 +00:00
|
|
|
- postgresql-setup: do not pretend 'sh' compatibility
|
2014-01-09 18:05:15 +00:00
|
|
|
- move script generation to proper place
|
2014-01-09 19:16:54 +00:00
|
|
|
- postgresql-setup: document a little and genrate manual page
|
2014-01-09 08:42:46 +00:00
|
|
|
|
2014-01-10 08:17:52 +00:00
|
|
|
* Fri Jan 10 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-3
|
|
|
|
- build with -O3 on ppc64 (private #1051075)
|
|
|
|
|
2013-12-13 08:36:08 +00:00
|
|
|
* Fri Dec 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-2
|
|
|
|
- lint the postgresql-setup script
|
|
|
|
|
2013-12-13 08:12:08 +00:00
|
|
|
* Thu Dec 12 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-2
|
|
|
|
- don't fail if user has badly configure 'postgres' user access (#1040364)
|
|
|
|
|
2013-12-05 15:32:09 +00:00
|
|
|
* Thu Dec 05 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-1
|
|
|
|
- update to 9.3.2 minor version per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.3/static/release-9-3-2.html
|
|
|
|
|
2013-10-17 08:29:33 +00:00
|
|
|
* Thu Oct 17 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-2
|
|
|
|
- the prevversion (see package upgrade process) is updated
|
|
|
|
from 9.2.4 to 9.2.5
|
|
|
|
|
2013-10-10 15:45:08 +00:00
|
|
|
* Thu Oct 10 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-1
|
|
|
|
- update to 9.3.1 minor version per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.3/static/release-9-3-1.html
|
|
|
|
|
2013-09-10 14:01:09 +00:00
|
|
|
* Tue Sep 10 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.0-1
|
|
|
|
- update to 9.3 major version per release notes:
|
|
|
|
http://www.postgresql.org/docs/9.3/static/release-9-3.html
|
|
|
|
|
2013-08-15 05:41:09 +00:00
|
|
|
* Thu Aug 15 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-11
|
|
|
|
- upgrade: stop old server in case of permissions problem (#896161)
|
|
|
|
|
2013-08-12 05:32:50 +00:00
|
|
|
* Mon Aug 12 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-10
|
|
|
|
- disable aggressive loop optimizations for old codebase (#993532)
|
|
|
|
|
2013-08-07 06:31:13 +00:00
|
|
|
* Wed Aug 07 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-9
|
|
|
|
- generate links docdir links in postgresql-check-db-dir correctly (#994048)
|
|
|
|
|
2013-08-06 11:06:03 +00:00
|
|
|
* Tue Aug 06 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-8
|
|
|
|
- allow `rpmbuild -bi --short-circuit`
|
|
|
|
|
2013-08-04 04:57:45 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-24 12:15:40 +00:00
|
|
|
* Wed Jul 24 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-6
|
|
|
|
- split aarch64 patch to allow build without postgresql-upgrade
|
|
|
|
|
2013-07-23 08:15:05 +00:00
|
|
|
* Tue Jul 23 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-5
|
|
|
|
- fix testsuite to allow build against Perl 5.18
|
|
|
|
|
2013-07-18 00:37:26 +00:00
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 9.2.4-5
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-07-09 12:31:46 +00:00
|
|
|
* Tue Jul 09 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-4
|
2013-07-09 12:31:08 +00:00
|
|
|
- do not use -b for manual page fixes
|
|
|
|
|
2013-07-09 12:31:46 +00:00
|
|
|
* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
|
2013-06-20 07:44:06 +00:00
|
|
|
- fix README.rpm-dist for the bug (#969050)
|
2013-06-20 07:46:48 +00:00
|
|
|
- replace hard-wired path with %%{_datadir}
|
2013-06-20 07:44:06 +00:00
|
|
|
|
2013-06-13 08:38:57 +00:00
|
|
|
* Thu Jun 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
|
2013-06-13 08:33:54 +00:00
|
|
|
- add atomic operations support for aarch64 to preupgrade version also (#970661)
|
2013-06-13 08:34:28 +00:00
|
|
|
- apply the forgotten man-page-day patch (#948933)
|
2013-06-13 08:33:54 +00:00
|
|
|
|
2013-06-13 07:38:22 +00:00
|
|
|
* Thu Jun 13 2013 Jan Stanek <jstanek@redhat.com> - 9.2.4-3
|
|
|
|
- added patch for manual pages (#948933)
|
|
|
|
|
2013-06-11 09:00:56 +00:00
|
|
|
* Tue Jun 11 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
|
|
|
|
- postgresql-setup: don't create whole path to server's data to make sure that
|
|
|
|
the parent directory has correct permissions (#972425)
|
|
|
|
|
2013-06-05 07:34:58 +00:00
|
|
|
* Wed Jun 05 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
|
2013-06-04 13:28:55 +00:00
|
|
|
- fix rpmlint warnings
|
2013-06-05 07:34:58 +00:00
|
|
|
- fix aarch64 build by defining missing atomic operations (#970661)
|
2013-06-04 13:28:55 +00:00
|
|
|
|
2013-04-04 13:42:29 +00:00
|
|
|
* Thu Apr 4 2013 Tom Lane <tgl@redhat.com> 9.2.4-1
|
|
|
|
- Update to PostgreSQL 9.2.4, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
|
|
|
|
including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
|
|
|
|
Resolves: #929223, #929255, #929328
|
|
|
|
- fix build for aarch64 and ppc64p7
|
|
|
|
|
2013-02-07 15:50:50 +00:00
|
|
|
* Thu Feb 7 2013 Tom Lane <tgl@redhat.com> 9.2.3-1
|
|
|
|
- Update to PostgreSQL 9.2.3, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
|
|
|
|
including the fix for CVE-2013-0255
|
|
|
|
Resolves: #908722
|
|
|
|
- Make the package build with selinux option disabled
|
|
|
|
Resolves: #894367
|
|
|
|
- Include old version of pg_controldata in postgresql-upgrade subpackage
|
|
|
|
Related: #896161
|
|
|
|
|
2013-01-03 23:37:36 +00:00
|
|
|
* Thu Jan 3 2013 Tom Lane <tgl@redhat.com> 9.2.2-3
|
|
|
|
- Prevent creation of TCP socket during pg_upgrade regression test, so that
|
|
|
|
concurrent RPM builds on the same machine won't fail
|
|
|
|
Resolves: #891531
|
|
|
|
- Make sure $PGDATA/pg_log/ gets the right SELinux label in postgresql-setup
|
|
|
|
Resolves: #891547
|
|
|
|
|
2012-12-19 17:15:54 +00:00
|
|
|
* Wed Dec 19 2012 Tom Lane <tgl@redhat.com> 9.2.2-2
|
|
|
|
- Make building of plpython3 dependent on Fedora version, per guidelines
|
|
|
|
Resolves: #888419
|
|
|
|
|
2012-12-06 16:05:36 +00:00
|
|
|
* Thu Dec 6 2012 Tom Lane <tgl@redhat.com> 9.2.2-1
|
|
|
|
- Update to PostgreSQL 9.2.2, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.2/static/release-9-2-2.html
|
|
|
|
- Use new systemd install/uninstall trigger macros conditionally,
|
|
|
|
so that package can still be installed on pre-F18 branches
|
|
|
|
|
2012-09-24 15:33:10 +00:00
|
|
|
* Mon Sep 24 2012 Tom Lane <tgl@redhat.com> 9.2.1-1
|
|
|
|
- Update to PostgreSQL 9.2.1, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.2/static/release-9-2-1.html
|
|
|
|
including a nasty data-loss bug
|
|
|
|
- Adopt new systemd macros for server package install/uninstall triggers
|
|
|
|
Resolves: #850277
|
|
|
|
|
2012-09-10 15:15:54 +00:00
|
|
|
* Mon Sep 10 2012 Tom Lane <tgl@redhat.com> 9.2.0-1
|
|
|
|
- Update to PostgreSQL 9.2.0 (major version bump);
|
|
|
|
in-place upgrade support now works from 9.1.x as the previous version
|
|
|
|
- Add postgresql-plpython3 subpackage with PL/Python built against Python 3
|
|
|
|
|
2012-08-28 05:01:14 +00:00
|
|
|
* Tue Aug 28 2012 Tom Lane <tgl@redhat.com> 9.1.5-2
|
|
|
|
- Remove unnecessary ldconfig calls in pre/post triggers
|
|
|
|
Resolves: #849344
|
|
|
|
|
2012-08-17 15:48:18 +00:00
|
|
|
* Fri Aug 17 2012 Tom Lane <tgl@redhat.com> 9.1.5-1
|
|
|
|
- Update to PostgreSQL 9.1.5, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
|
|
|
|
including the fixes for CVE-2012-3488, CVE-2012-3489
|
|
|
|
|
2012-08-13 17:13:01 +00:00
|
|
|
* Mon Aug 13 2012 Tom Lane <tgl@redhat.com> 9.1.4-5
|
|
|
|
- Back-port upstream support for postmaster listening on multiple Unix sockets
|
|
|
|
- Configure postmaster to create sockets in both /var/run/postgresql and /tmp;
|
|
|
|
the former is now the default place for libpq to contact the postmaster.
|
|
|
|
Resolves: #825448
|
2012-08-17 15:48:18 +00:00
|
|
|
- Annotate postgresql.conf about not setting port number there
|
2012-08-13 17:13:01 +00:00
|
|
|
- Minor specfile cleanup per suggestions from Tom Callaway
|
|
|
|
Related: #845110
|
|
|
|
|
2012-07-21 02:45:24 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.1.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-15 03:45:13 +00:00
|
|
|
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 9.1.4-3
|
|
|
|
- Update code to use oom_score_adj not oom_adj, thereby suppressing
|
|
|
|
whining in the kernel log
|
|
|
|
- Add "legacy action" scripts to support "service postgresql initdb" and
|
|
|
|
"service postgresql upgrade" in a now-approved fashion (requires a
|
|
|
|
recent version of initscripts to work)
|
|
|
|
Resolves: #800416
|
|
|
|
|
2012-06-11 13:16:04 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 9.1.4-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-04 12:31:09 +00:00
|
|
|
* Mon Jun 4 2012 Tom Lane <tgl@redhat.com> 9.1.4-1
|
|
|
|
- Update to PostgreSQL 9.1.4, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
|
|
|
|
including the fixes for CVE-2012-2143, CVE-2012-2655
|
|
|
|
Resolves: #826606
|
|
|
|
- Update previous version (embedded in postgresql-upgrade) to 9.0.8
|
|
|
|
because fix in whole-row variable dumping could be needed for upgrades
|
|
|
|
- Revert fix for bug #800416, per fedora-packaging discussion at
|
|
|
|
http://lists.fedoraproject.org/pipermail/packaging/2012-April/008314.html
|
|
|
|
"service postgresql initdb" is dead and will stay that way
|
|
|
|
|
2012-03-17 16:47:37 +00:00
|
|
|
* Sat Mar 17 2012 Tom Lane <tgl@redhat.com> 9.1.3-3
|
|
|
|
- Fix postgresql-setup to rely on systemd to parse the unit file, instead
|
|
|
|
of using ad-hoc code
|
|
|
|
Resolves: #804290
|
|
|
|
|
2012-03-13 23:38:14 +00:00
|
|
|
* Tue Mar 13 2012 Tom Lane <tgl@redhat.com> 9.1.3-2
|
|
|
|
- Fix postgresql-setup to look for unit file in /usr/lib and to ignore
|
|
|
|
comments therein
|
|
|
|
Resolves: #802835
|
|
|
|
- Resurrect a now-mostly-dummy postgresql init script, so that people can
|
|
|
|
keep on using "service postgresql initdb" if they wish
|
|
|
|
Resolves: #800416
|
|
|
|
|
2012-02-27 16:05:52 +00:00
|
|
|
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 9.1.3-1
|
|
|
|
- Update to PostgreSQL 9.1.3, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
|
|
|
|
including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
|
|
|
|
Resolves: #797918
|
|
|
|
|
2012-01-09 20:24:29 +00:00
|
|
|
* Mon Jan 9 2012 Tom Lane <tgl@redhat.com> 9.1.2-2
|
|
|
|
- Make systemd unit file more user-friendly by resurrecting the old init
|
|
|
|
script's checks for data directory presence and version match
|
|
|
|
Resolves: #771496
|
|
|
|
|
2011-12-05 16:32:50 +00:00
|
|
|
* Mon Dec 5 2011 Tom Lane <tgl@redhat.com> 9.1.2-1
|
|
|
|
- Update to PostgreSQL 9.1.2, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.1/static/release-9-1-2.html
|
|
|
|
|
2011-11-02 09:05:15 +00:00
|
|
|
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 9.1.1-2
|
|
|
|
- Create a symlink of pg_regress instead of full copy;
|
|
|
|
Don't strip symbols from regress libs
|
2011-11-08 16:57:50 +00:00
|
|
|
Related: #729012
|
2011-11-02 09:05:15 +00:00
|
|
|
|
2011-09-26 21:29:49 +00:00
|
|
|
* Mon Sep 26 2011 Tom Lane <tgl@redhat.com> 9.1.1-1
|
|
|
|
- Update to PostgreSQL 9.1.1, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
|
|
|
|
- Enable build (but not test) of contrib/sepgsql
|
|
|
|
- Clean up specfile build options so that turning options off works again
|
|
|
|
|
2011-09-12 06:05:56 +00:00
|
|
|
* Mon Sep 12 2011 Tom Lane <tgl@redhat.com> 9.1.0-1
|
|
|
|
- Update to PostgreSQL 9.1.0 (major version bump);
|
|
|
|
in-place upgrade support now works from 9.0.x as the previous version
|
|
|
|
|
2011-07-27 23:32:24 +00:00
|
|
|
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 9.0.4-8
|
|
|
|
- Convert to systemd startup support
|
|
|
|
Resolves: #696427
|
|
|
|
|
2011-07-21 16:41:56 +00:00
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-7
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-20 09:59:35 +00:00
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-6
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-06 22:22:54 +00:00
|
|
|
* Wed Jul 6 2011 Tom Lane <tgl@redhat.com> 9.0.4-5
|
2011-07-06 22:21:23 +00:00
|
|
|
- Remove erroneously-included Default-Start line from LSB init block
|
|
|
|
Related: #717024
|
|
|
|
|
2011-06-17 17:32:41 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 9.0.4-4
|
2011-06-17 16:09:39 +00:00
|
|
|
- Perl mass rebuild
|
2011-06-17 17:32:41 +00:00
|
|
|
- incorporate upstream patch to make it build with Perl 5.14
|
2011-06-17 16:09:39 +00:00
|
|
|
|
2011-06-10 21:16:01 +00:00
|
|
|
* Fri Jun 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-3
|
|
|
|
- Work around gcc 4.6.0 bug (temporary backport from next upstream release)
|
|
|
|
|
2011-05-10 20:12:31 +00:00
|
|
|
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
|
|
|
|
- Add LSB init block to initscript, to ensure sane ordering at system boot
|
|
|
|
Resolves: #703215
|
|
|
|
|
2011-04-18 15:04:47 +00:00
|
|
|
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
|
|
|
|
- Update to PostgreSQL 9.0.4, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
|
|
|
|
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
|
|
|
|
|
2011-02-09 16:11:10 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-03 17:20:24 +00:00
|
|
|
* Thu Feb 3 2011 Tom Lane <tgl@redhat.com> 9.0.3-2
|
|
|
|
- Remove filter-requires-perl-Pg.sh, which doesn't seem to be needed now that
|
|
|
|
PyGreSQL has been split out; and our use of it isn't compatible with rpm 4.9
|
|
|
|
anyway
|
|
|
|
|
2011-02-01 15:35:37 +00:00
|
|
|
* Tue Feb 1 2011 Tom Lane <tgl@redhat.com> 9.0.3-1
|
|
|
|
- Update to PostgreSQL 9.0.3, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/9.0/static/release-9-0-3.html
|
|
|
|
including the fix for CVE-2010-4015
|
|
|
|
Resolves: #674296
|
|
|
|
|
2010-12-29 00:13:08 +00:00
|
|
|
* Tue Dec 28 2010 Tom Lane <tgl@redhat.com> 9.0.2-1
|
|
|
|
- Update to PostgreSQL 9.0.2 (major version bump)
|
|
|
|
- Create infrastructure for in-place database upgrade using pg_upgrade
|
|
|
|
Resolves: #398221
|
|
|
|
|
2010-12-16 19:44:35 +00:00
|
|
|
* Thu Dec 16 2010 Tom Lane <tgl@redhat.com> 8.4.6-1
|
|
|
|
- Update to PostgreSQL 8.4.6, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4-6.html
|
|
|
|
- Ensure we don't package any .gitignore files from the source tarball
|
|
|
|
Related: #642210
|
|
|
|
|
2010-10-05 19:19:41 +00:00
|
|
|
* Tue Oct 5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
|
|
|
|
- Update to PostgreSQL 8.4.5, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
|
|
|
|
including the fix for CVE-2010-3433
|
|
|
|
Related: #639371
|
|
|
|
- Add -p "$pidfile" to initscript's status call to improve corner cases.
|
|
|
|
Related: #561010
|
|
|
|
|
2010-07-31 04:56:13 +00:00
|
|
|
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
2010-07-08 20:21:30 +00:00
|
|
|
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
|
|
|
|
|
2010-06-01 22:16:43 +00:00
|
|
|
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 8.4.4-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-05-17 17:30:50 +00:00
|
|
|
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
|
|
|
|
- Update to PostgreSQL 8.4.4, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
|
|
|
|
including fixes for CVE-2010-1169 and CVE-2010-1170
|
|
|
|
Resolves: #593032
|
|
|
|
|
2010-03-14 03:48:10 +00:00
|
|
|
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
|
|
|
|
- Update to PostgreSQL 8.4.3, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
|
|
|
|
|
2010-02-22 18:16:56 +00:00
|
|
|
* Mon Feb 22 2010 Tom Lane <tgl@redhat.com> 8.4.2-8
|
|
|
|
- Bring init script into some modicum of compliance with Fedora/LSB standards
|
|
|
|
Resolves: #201043
|
|
|
|
|
2010-02-18 15:25:30 +00:00
|
|
|
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.2-7
|
|
|
|
- adjust license tag to reflect OSI decision
|
|
|
|
|
2010-01-26 18:29:52 +00:00
|
|
|
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 8.4.2-6
|
|
|
|
- Emit explicit error message if user tries to build RPM as root
|
|
|
|
Related: #558921
|
|
|
|
|
2010-01-20 20:46:00 +00:00
|
|
|
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 8.4.2-5
|
2010-01-20 22:34:36 +00:00
|
|
|
- Latest version of systemtap needs the probes.o file to be built again
|
|
|
|
Resolves: #557266
|
2010-01-20 20:46:00 +00:00
|
|
|
- Provide script and instructions for building the documentation PDF
|
|
|
|
|
2010-01-11 18:11:25 +00:00
|
|
|
* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 8.4.2-4
|
|
|
|
- Arrange for the postmaster, but not any of its child processes, to be run
|
|
|
|
with oom_adj -17. This compensates for the OOM killer not being smart about
|
|
|
|
accounting for shared memory usage.
|
|
|
|
|
2010-01-09 05:23:05 +00:00
|
|
|
* Sat Jan 9 2010 Tom Lane <tgl@redhat.com> 8.4.2-3
|
|
|
|
- Remove the postgresql-python and postgresql-tcl subpackages. These files
|
|
|
|
are now broken out as their own packages (PyGreSQL and tcl-pgtcl,
|
|
|
|
respectively), to reflect the now longstanding split of upstream projects.
|
|
|
|
Related: #452306, #452321
|
|
|
|
|
2010-01-05 17:56:35 +00:00
|
|
|
* Tue Jan 5 2010 Tom Lane <tgl@redhat.com> 8.4.2-2
|
|
|
|
- Remove static libraries (.a files) from package, per packaging guidelines
|
|
|
|
- Change %%define to %%global, per packaging guidelines
|
|
|
|
|
2009-12-16 05:34:05 +00:00
|
|
|
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
|
|
|
|
- Update to PostgreSQL 8.4.2, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
|
|
|
|
including two security issues
|
|
|
|
Related: #546321
|
|
|
|
Related: #547662
|
|
|
|
- Use -N not the obsolete -n in useradd call
|
|
|
|
Resolves: #495727
|
|
|
|
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
|
|
|
|
no-longer-needed provisions for superseding rh-postgresql
|
|
|
|
|
2009-12-07 02:41:35 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 8.4.1-5
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-10-16 03:47:52 +00:00
|
|
|
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
|
|
|
|
- add sparc/sparc64 to multilib header support
|
|
|
|
|
2009-09-22 00:45:57 +00:00
|
|
|
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
|
|
|
|
- Ensure pgstartup.log gets the right ownership/permissions during initdb
|
|
|
|
Resolves: #498959
|
|
|
|
|
2009-09-16 17:50:13 +00:00
|
|
|
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.1-2
|
|
|
|
- Use password-auth common PAM configuration instead of system-auth
|
|
|
|
|
2009-09-09 15:13:29 +00:00
|
|
|
* Wed Sep 9 2009 Tom Lane <tgl@redhat.com> 8.4.1-1
|
|
|
|
- Update to PostgreSQL 8.4.1, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
|
|
|
|
including two security issues
|
|
|
|
Related: #522085
|
|
|
|
Related: #522092
|
|
|
|
|
2009-09-01 20:39:52 +00:00
|
|
|
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.2
|
|
|
|
- bump release and build again with the correct libssl
|
|
|
|
|
2009-09-01 17:31:59 +00:00
|
|
|
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.1
|
|
|
|
- disable dtrace on s390x as a workaround until #520469 has been fixed
|
|
|
|
|
2009-08-21 15:29:10 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.0-3
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-08-20 18:55:13 +00:00
|
|
|
* Thu Aug 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.0-2
|
|
|
|
- update License tag to MIT (PostgreSQL calls it "BSD", but it is MIT)
|
|
|
|
- Note: This changes nothing from a license compatibility perspective.
|
|
|
|
|
2009-08-18 02:58:55 +00:00
|
|
|
* Mon Aug 17 2009 Tom Lane <tgl@redhat.com> 8.4.0-1
|
|
|
|
- Update to PostgreSQL 8.4.0. See release notes at
|
|
|
|
http://www.postgresql.org/docs/8.4/static/release-8-4.html
|
|
|
|
|
2009-07-26 19:14:39 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-21 22:43:50 +00:00
|
|
|
* Sat Mar 21 2009 Tom Lane <tgl@redhat.com> 8.3.7-1
|
|
|
|
- Update to PostgreSQL 8.3.7, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.3/static/release-8-3-7.html
|
|
|
|
notably the fix for CVE-2009-0922
|
|
|
|
|
2009-03-11 01:36:52 +00:00
|
|
|
* Tue Mar 10 2009 Tom Lane <tgl@redhat.com> 8.3.6-4
|
|
|
|
- Prevent dependent packages from needing to include sys/sdt.h
|
|
|
|
(unintended side effect of previous patch)
|
|
|
|
- Use -O1 on alpha, per report from Oliver Falk; -O2 tickles gcc bugs
|
|
|
|
|
2009-03-08 20:29:14 +00:00
|
|
|
* Sun Mar 8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
|
|
|
|
- Enable tracing via systemtap
|
|
|
|
Resolves: #488941
|
|
|
|
|
2009-02-27 01:43:49 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-07 05:55:40 +00:00
|
|
|
* Sat Feb 7 2009 Tom Lane <tgl@redhat.com> 8.3.6-1
|
|
|
|
- Update to PostgreSQL 8.3.6, for various fixes described at
|
|
|
|
http://www.postgresql.org/docs/8.3/static/release-8-3-6.html
|
|
|
|
|
2009-01-22 07:36:28 +00:00
|
|
|
* Wed Jan 21 2009 Dennis Gilmore <dennis@ausil.us> 8.3.5-4
|
|
|
|
- use -O1 on sparc64
|
|
|
|
|
2009-01-17 19:46:16 +00:00
|
|
|
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3
|
|
|
|
- rebuild with new openssl
|
|
|
|
|
2008-11-29 17:56:28 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 8.3.5-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-11-02 18:23:29 +00:00
|
|
|
* Sun Nov 2 2008 Tom Lane <tgl@redhat.com> 8.3.5-1
|
|
|
|
- Update to PostgreSQL 8.3.5.
|
|
|
|
- Improve display from init script's initdb action, per Michael Schwendt
|
|
|
|
|
2008-09-25 14:40:14 +00:00
|
|
|
* Thu Sep 25 2008 Tom Lane <tgl@redhat.com> 8.3.4-1
|
|
|
|
- Update to PostgreSQL 8.3.4.
|
|
|
|
|
2008-07-29 00:24:16 +00:00
|
|
|
* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 8.3.3-3
|
|
|
|
- Fix build failure caused by new default patch fuzz = 0 policy in rawhide.
|
|
|
|
|
2008-06-20 16:54:12 +00:00
|
|
|
* Fri Jun 20 2008 Tom Lane <tgl@redhat.com> 8.3.3-2
|
|
|
|
- Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib.
|
|
|
|
Needed because tcl 8.5 no longer puts /usr/lib into its package search path.
|
|
|
|
NOTE: do not back-port this change into branches using pre-8.5 tcl, because
|
|
|
|
/usr/lib/tcl8.4 had been a symlink to /usr/share/tcl8.4, and /usr/share
|
|
|
|
is exactly where we must not put Pgtcl.
|
|
|
|
Resolves: #228263
|
|
|
|
|
2008-06-11 16:18:40 +00:00
|
|
|
* Wed Jun 11 2008 Tom Lane <tgl@redhat.com> 8.3.3-1
|
|
|
|
- Update to PostgreSQL 8.3.3.
|
|
|
|
- Remove postgresql-prefer-ncurses.patch, no longer needed in recent
|
|
|
|
Fedora releases because libtermcap is gone.
|
|
|
|
|
2008-05-18 03:41:30 +00:00
|
|
|
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-5
|
|
|
|
- rebuild because of buildsystem hiccup
|
|
|
|
|
2008-05-18 02:17:53 +00:00
|
|
|
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-4
|
|
|
|
- Enable LDAP support
|
|
|
|
Resolves: #445315
|
|
|
|
- Use -Wl,--as-needed to suppress bogus dependencies for libraries that
|
|
|
|
are really only needed by some of the subpackages
|
|
|
|
|
2008-04-28 23:00:55 +00:00
|
|
|
* Mon Apr 28 2008 Tom Lane <tgl@redhat.com> 8.3.1-3
|
|
|
|
- Fix build breakage on PPC due to incorrect configure test
|
|
|
|
Related: #444317
|
|
|
|
|
2008-04-27 00:54:00 +00:00
|
|
|
* Sat Apr 26 2008 Tom Lane <tgl@redhat.com> 8.3.1-2
|
|
|
|
- Clean up cross-subpackage Requires: to ensure that updating any one
|
|
|
|
subpackage brings in the matching versions of others.
|
|
|
|
Resolves: #444271
|
|
|
|
|
2008-03-26 03:48:22 +00:00
|
|
|
* Tue Mar 25 2008 Tom Lane <tgl@redhat.com> 8.3.1-1
|
|
|
|
- Update to PostgreSQL 8.3.1.
|
|
|
|
|
2008-03-18 18:53:20 +00:00
|
|
|
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 8.3.0-3
|
|
|
|
- add Requires for versioned perl (libperl.so)
|
|
|
|
|
2008-02-06 05:57:49 +00:00
|
|
|
* Wed Feb 6 2008 Tom Lane <tgl@redhat.com> 8.3.0-2
|
|
|
|
- Enable the new GSSAPI support in 8.3.0.
|
|
|
|
|
2008-02-05 03:49:51 +00:00
|
|
|
* Mon Feb 4 2008 Tom Lane <tgl@redhat.com> 8.3.0-1
|
|
|
|
- Update to PostgreSQL 8.3.0.
|
|
|
|
|
2008-01-18 20:48:56 +00:00
|
|
|
* Fri Jan 18 2008 Tom Lane <tgl@redhat.com> 8.3RC2-1
|
|
|
|
- Update to PostgreSQL 8.3RC2 (not waiting for 8.3.0 because Fedora 9 alpha
|
|
|
|
should be 8.3-based not 8.2-based).
|
|
|
|
- Update to pgtcl 1.6.2
|
|
|
|
|
2008-01-07 19:01:59 +00:00
|
|
|
* Mon Jan 7 2008 Tom Lane <tgl@redhat.com> 8.2.6-1
|
|
|
|
- Update to PostgreSQL 8.2.6 to fix CVE-2007-4769, CVE-2007-4772,
|
|
|
|
CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
|
2008-01-07 19:28:34 +00:00
|
|
|
- Make initscript and pam config files be installed unconditionally;
|
|
|
|
seems new buildroots don't necessarily have those directories in place
|
2008-01-07 19:01:59 +00:00
|
|
|
|
2007-12-05 14:30:04 +00:00
|
|
|
* Wed Dec 5 2007 Tom Lane <tgl@redhat.com> 8.2.5-2
|
|
|
|
- Rebuild for new openssl
|
|
|
|
|
2007-09-20 20:18:09 +00:00
|
|
|
* Thu Sep 20 2007 Tom Lane <tgl@redhat.com> 8.2.5-1
|
|
|
|
- Update to PostgreSQL 8.2.5 and pgtcl 1.6.0
|
|
|
|
|
2007-09-04 17:26:37 +00:00
|
|
|
* Tue Sep 4 2007 Tom Lane <tgl@redhat.com> 8.2.4-6
|
|
|
|
- Fix multilib problem for /usr/include/ecpg_config.h (which is new in 8.2.x)
|
|
|
|
|
2007-08-25 20:53:39 +00:00
|
|
|
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 8.2.4-5
|
|
|
|
- Use nicer solution for tzdata file substitution: upstream discussion
|
|
|
|
concluded that hardwiring the path was better than a symlink after all.
|
|
|
|
|
2007-08-22 21:27:31 +00:00
|
|
|
* Wed Aug 22 2007 Tom Lane <tgl@redhat.com> 8.2.4-4
|
|
|
|
- Use tzdata package's data files instead of private copy, so that
|
|
|
|
postgresql-server need not be turned for routine timezone updates
|
|
|
|
- Don't remove postgres user/group during RPM uninstall, per Fedora
|
|
|
|
packaging guidelines
|
2007-08-22 22:11:06 +00:00
|
|
|
- Seems we need an explicit BuildRequires on gawk now
|
2007-08-22 21:27:31 +00:00
|
|
|
- Rebuild to fix Fedora toolchain issues
|
|
|
|
|
2007-08-12 21:21:08 +00:00
|
|
|
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 8.2.4-3
|
|
|
|
- Recent perl changes in rawhide mean we need a more specific BuildRequires
|
|
|
|
|
2007-06-20 19:19:24 +00:00
|
|
|
* Wed Jun 20 2007 Tom Lane <tgl@redhat.com> 8.2.4-2
|
|
|
|
- Fix oversight in postgresql-test makefile: pg_regress isn't a shell script
|
|
|
|
anymore. Per upstream bug 3398.
|
|
|
|
|
2007-04-24 19:21:40 +00:00
|
|
|
* Tue Apr 24 2007 Tom Lane <tgl@redhat.com> 8.2.4-1
|
|
|
|
- Update to PostgreSQL 8.2.4 for CVE-2007-2138, data loss bugs
|
|
|
|
Resolves: #237682
|
|
|
|
|
2007-02-14 16:45:46 +00:00
|
|
|
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 8.2.3-2
|
|
|
|
- rebuild with tcl-8.4
|
|
|
|
|
2007-02-07 14:58:38 +00:00
|
|
|
* Wed Feb 7 2007 Tom Lane <tgl@redhat.com> 8.2.3-1
|
|
|
|
- Update to PostgreSQL 8.2.3 due to regression induced by security fix
|
|
|
|
Resolves: #227522
|
|
|
|
|
2007-02-04 18:34:03 +00:00
|
|
|
* Sun Feb 4 2007 Tom Lane <tgl@redhat.com> 8.2.2-1
|
|
|
|
- Update to PostgreSQL 8.2.2 to fix CVE-2007-0555, CVE-2007-0556
|
|
|
|
Related: #225496
|
|
|
|
|
2007-01-13 04:30:50 +00:00
|
|
|
* Fri Jan 12 2007 Tom Lane <tgl@redhat.com> 8.2.1-2
|
|
|
|
- Split -pl subpackage into three new packages to reduce dependencies
|
|
|
|
and track upstream project's packaging.
|
|
|
|
|
2007-01-11 00:17:11 +00:00
|
|
|
* Wed Jan 10 2007 Tom Lane <tgl@redhat.com> 8.2.1-1
|
|
|
|
- Update to PostgreSQL 8.2.1
|
|
|
|
- Update to pgtcl 1.5.3
|
|
|
|
- Be sure we link to libncurses, not libtermcap which is disappearing in Fedora
|
|
|
|
|
2006-12-07 18:27:05 +00:00
|
|
|
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 8.2.0-2
|
|
|
|
- rebuild for python 2.5
|
|
|
|
|
2006-12-05 03:01:02 +00:00
|
|
|
* Mon Dec 4 2006 Tom Lane <tgl@redhat.com> 8.2.0-1
|
|
|
|
- Update to PostgreSQL 8.2.0
|
|
|
|
- Update to PyGreSQL 3.8.1
|
|
|
|
- Fix chcon arguments in test/regress/Makefile
|
|
|
|
Related: #201035
|
|
|
|
- Adjust init script to not fool /etc/rc.d/rc
|
|
|
|
Resolves: #161470
|
|
|
|
- Change init script to not do initdb automatically, but require
|
|
|
|
manual "service postgresql initdb" for safety. Per upstream discussions.
|
|
|
|
|
2006-07-12 07:51:45 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1.4-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-22 16:08:15 +00:00
|
|
|
* Mon May 22 2006 Tom Lane <tgl@redhat.com> 8.1.4-1
|
|
|
|
- Update to PostgreSQL 8.1.4 (includes fixes for CVE-2006-2313, CVE-2006-2314;
|
|
|
|
see bug #192173)
|
|
|
|
- Update to PyGreSQL 3.8
|
|
|
|
- Suppress noise from chcon, per bug #187744
|
|
|
|
|
2006-03-27 21:18:02 +00:00
|
|
|
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 8.1.3-2
|
|
|
|
- Remove JDBC from this build; we will package it as separate SRPM
|
|
|
|
|
2006-02-13 18:43:53 +00:00
|
|
|
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 8.1.3-1.1
|
|
|
|
- rebump for build order issues during double-long bump
|
|
|
|
|
2006-02-13 15:53:02 +00:00
|
|
|
* Mon Feb 13 2006 Tom Lane <tgl@redhat.com> 8.1.3-1
|
|
|
|
- Update to PostgreSQL 8.1.3 (fixes bug #180617, CVE-2006-0553)
|
|
|
|
- Update to jdbc driver build 405
|
|
|
|
- Modify multilib header hack to not break non-RH arches, per bug #177564
|
|
|
|
|
2006-02-07 13:35:32 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 8.1.2-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-09 17:59:35 +00:00
|
|
|
* Mon Jan 9 2006 Tom Lane <tgl@redhat.com> 8.1.2-1
|
2006-01-09 01:14:36 +00:00
|
|
|
- Update to PostgreSQL 8.1.2
|
2006-01-09 17:59:35 +00:00
|
|
|
- Repair extraneous quote in pgtcl configure script ... odd that bash
|
|
|
|
didn't use to spit up on this.
|
2006-01-09 01:14:36 +00:00
|
|
|
|
2005-12-15 19:38:07 +00:00
|
|
|
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 8.1.1-3
|
|
|
|
- fix pg_config.h for 64-bit and ppc platforms
|
|
|
|
- update Makefile.regress (needs to --load-language=plpgsql)
|
|
|
|
|
2005-12-15 04:34:51 +00:00
|
|
|
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-2
|
|
|
|
- oops, looks like we want uname -i not uname -m
|
|
|
|
|
2005-12-14 22:33:00 +00:00
|
|
|
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
|
|
|
|
- Update to PostgreSQL 8.1.1
|
|
|
|
- Make pg_config.h architecture-independent for multilib installs;
|
|
|
|
put the original pg_config.h into pg_config_$ARCH.h
|
|
|
|
|
2005-12-09 22:42:46 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-12 19:58:46 +00:00
|
|
|
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 8.1.0-4
|
|
|
|
- Update included PDF-format manual to 8.1.
|
|
|
|
|
2005-11-09 22:36:40 +00:00
|
|
|
* Wed Nov 9 2005 Tom Lane <tgl@redhat.com> 8.1.0-3
|
|
|
|
- Rebuild due to openssl library update.
|
|
|
|
|
2005-11-09 17:58:45 +00:00
|
|
|
* Wed Nov 9 2005 Tom Lane <tgl@redhat.com> 8.1.0-2
|
|
|
|
- Rebuild due to openssl library update.
|
|
|
|
|
2005-11-07 21:54:56 +00:00
|
|
|
* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 8.1.0-1
|
|
|
|
- Update to PostgreSQL 8.1.0, PyGreSQL 3.7, and jdbc driver build 404
|
|
|
|
- Fix PAM config file (must have account not only auth) (bug #167040)
|
|
|
|
- Add BuildPrereq: libxslt-devel (bug #170141)
|
|
|
|
- Sync with PGDG SRPM as much as feasible
|
|
|
|
|
2005-10-14 10:23:11 +00:00
|
|
|
* Fri Oct 14 2005 Tomas Mraz <tmraz@redhat.com>
|
|
|
|
- use include instead of pam_stack in pam config
|
|
|
|
|
2005-10-04 22:04:22 +00:00
|
|
|
* Tue Oct 4 2005 Tom Lane <tgl@redhat.com> 8.0.4-2
|
|
|
|
- Add rpath to plperl.so (bug #162198)
|
|
|
|
|
2005-10-04 19:37:36 +00:00
|
|
|
* Tue Oct 4 2005 Tom Lane <tgl@redhat.com> 8.0.4-1
|
|
|
|
- Update to PostgreSQL 8.0.4, PyGreSQL 3.6.2, and jdbc driver build 312
|
|
|
|
- Adjust pgtcl link command to ensure it binds to correct libpq (bug #166665)
|
|
|
|
- Remove obsolete Conflicts: against other python versions (bug #166754)
|
|
|
|
- Add /etc/pam.d/postgresql (bug #167040)
|
|
|
|
- Include contrib/xml2 in build (bug #167492)
|
|
|
|
|
2005-05-10 15:34:35 +00:00
|
|
|
* Tue May 10 2005 Tom Lane <tgl@redhat.com> 8.0.3-1
|
|
|
|
- Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see
|
|
|
|
bz#156727, CAN-2005-1409, CAN-2005-1410)
|
|
|
|
- Update to jdbc driver build 311
|
|
|
|
- Recreate postgres user after superseding an rh-postgresql install (bug #151911)
|
|
|
|
- Ensure postgresql server is restarted if running during an upgrade
|
|
|
|
|
|
|
|
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> 8.0.2-2
|
2005-04-13 22:45:47 +00:00
|
|
|
- rebuild for postgresql-tcl
|
|
|
|
|
2005-04-13 03:02:18 +00:00
|
|
|
* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1
|
|
|
|
- Update to PostgreSQL 8.0.2.
|
|
|
|
|
2005-03-11 23:54:09 +00:00
|
|
|
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 8.0.1-5
|
|
|
|
- Remove unwanted rpath specification from pgtcl (bz#150649)
|
|
|
|
|
2005-03-02 21:14:35 +00:00
|
|
|
* Wed Mar 2 2005 Tom Lane <tgl@redhat.com> 8.0.1-4
|
|
|
|
- Attach Obsoletes: declarations for rh-postgresql to subpackages (bz#144435)
|
|
|
|
- Make Requires: and Prereq: package linkages specify release not only
|
|
|
|
version, as per recent mailing list discussion.
|
|
|
|
|
2005-03-01 19:42:10 +00:00
|
|
|
* Tue Mar 1 2005 Tomas Mraz <tmraz@redhat.com> 8.0.1-3
|
|
|
|
- rebuild with openssl-0.9.7e
|
|
|
|
|
2005-02-21 21:44:36 +00:00
|
|
|
* Mon Feb 21 2005 Tom Lane <tgl@redhat.com> 8.0.1-2
|
|
|
|
- Repair improper error message in init script when PGVERSION doesn't match.
|
|
|
|
- Arrange for auto update of version embedded in init script.
|
|
|
|
|
2005-01-31 03:15:07 +00:00
|
|
|
* Sun Jan 30 2005 Tom Lane <tgl@redhat.com> 8.0.1-1
|
|
|
|
- Update to PostgreSQL 8.0.1.
|
|
|
|
- Add versionless symlinks to jar files (bz#145744)
|
|
|
|
|
2005-01-19 05:02:11 +00:00
|
|
|
* Wed Jan 19 2005 Tom Lane <tgl@redhat.com> 8.0.0-1
|
|
|
|
- Update to PostgreSQL 8.0.0, PyGreSQL 3.6.1, pgtcl 1.5.2,
|
|
|
|
and jdbc driver build 309.
|
|
|
|
- Extensive cleanout of obsolete cruft in patch set.
|
|
|
|
- Regression tests are run during RPM build (NOTE: cannot build as root when
|
|
|
|
this is enabled).
|
|
|
|
- Postmaster stderr goes someplace useful, not /dev/null (bz#76503, #103767)
|
|
|
|
- Make init script return a useful exit status (bz#80782)
|
|
|
|
- Move docs' tutorial directory to %%{_libdir}/pgsql/tutorial, since it
|
|
|
|
includes .so files that surely do not belong under /usr/share.
|
|
|
|
- Remove useless .sgml files from docs RPM (bz#134450)
|
|
|
|
- Put regression tests under /usr/lib64 on 64-bit archs, since .so files
|
|
|
|
are not architecture-independent.
|
|
|
|
|
2005-01-12 16:30:20 +00:00
|
|
|
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 7.4.6-5
|
|
|
|
- Rebuilt for new readline.
|
|
|
|
|
2005-01-11 20:20:45 +00:00
|
|
|
* Tue Jan 11 2005 Dan Walsh <dwalsh@redhat.com> 7.4.6-4
|
|
|
|
- Add restorecon to postgresql.init in order to restore database to correct
|
|
|
|
- SELinux context.
|
|
|
|
|
2004-12-16 22:02:42 +00:00
|
|
|
* Thu Dec 16 2004 Tom Lane <tgl@redhat.com> 7.4.6-3
|
|
|
|
- Update to PyGreSQL 3.6 (to fix bug #142711)
|
|
|
|
- Adjust a few file permissions (bug #142431)
|
|
|
|
- Assign %%{_libdir}/pgsql to base package instead of -server (bug #74003)
|
|
|
|
|
2004-11-15 17:36:58 +00:00
|
|
|
* Mon Nov 15 2004 Tom Lane <tgl@redhat.com> 7.4.6-2
|
|
|
|
- Rebuild so python components play with python 2.4 (bug 139160)
|
|
|
|
|
2004-10-23 20:23:22 +00:00
|
|
|
* Sat Oct 23 2004 Tom Lane <tgl@redhat.com> 7.4.6-1
|
|
|
|
- Update to PostgreSQL 7.4.6 (bugs 136947, 136949)
|
|
|
|
- Make init script more paranoid about mkdir step of initializing a new
|
|
|
|
database (bugs 136947, 136949)
|
|
|
|
|
2004-10-20 17:22:14 +00:00
|
|
|
* Wed Oct 20 2004 Tom Lane <tgl@redhat.com> 7.4.5-4
|
|
|
|
- Remove contrib/oidjoins stuff from installed fileset; it's of no use
|
|
|
|
to ordinary users and has a security issue (bugs 136300, 136301)
|
|
|
|
- adjust chkconfig priority (bug 128852)
|
|
|
|
|
2004-10-05 15:32:24 +00:00
|
|
|
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 7.4.5-3
|
|
|
|
- Solve the stale lockfile problem (bugs 71295, 96981, 134090)
|
|
|
|
- Use runuser instead of su for SELinux (bug 134588)
|
|
|
|
|
2004-09-09 10:49:25 +00:00
|
|
|
* Mon Aug 30 2004 Tom Lane <tgl@redhat.com> 7.4.5-2
|
|
|
|
- Update to PyGreSQL 3.5.
|
|
|
|
|
2013-06-04 13:28:55 +00:00
|
|
|
* Tue Aug 24 2004 Tom Lane <tgl@redhat.com> 7.4.5-1
|
2004-09-09 10:49:08 +00:00
|
|
|
- Update to PostgreSQL 7.4.5.
|
|
|
|
- Update JDBC jars to driver build 215.
|
|
|
|
- Add Obsoletes: entries for rh-postgresql packages, per bug 129278.
|
|
|
|
|
2004-09-09 10:48:53 +00:00
|
|
|
* Sat Jul 10 2004 Tom Lane <tgl@redhat.com> 7.4.3-3
|
|
|
|
- Undo ill-considered chkconfig change that causes server to start
|
|
|
|
immediately upon install. Mea culpa (bug 127552).
|
|
|
|
|
2004-09-09 10:48:05 +00:00
|
|
|
* Sat Jul 03 2004 Tom Lane <tgl@redhat.com> 7.4.3-2
|
|
|
|
- Update JDBC jars to driver build 214.
|
|
|
|
|
2004-09-09 10:47:56 +00:00
|
|
|
* Wed Jun 23 2004 Tom Lane <tgl@redhat.com> 7.4.3-1
|
|
|
|
- Update to PostgreSQL 7.4.3.
|
|
|
|
- Uninstalling server RPM stops postmaster first, per bug 114846.
|
|
|
|
- Fix su commands to not assume PG user's shell is sh-like, per bug 124024.
|
|
|
|
- Fix permissions on postgresql-python doc files, per bug 124822.
|
|
|
|
- Minor postgresql.init improvements.
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 10:47:18 +00:00
|
|
|
* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 7.4.2-1
|
|
|
|
- Update to PostgreSQL 7.4.2; sync with community SRPM as much as possible.
|
|
|
|
- Support PGOPTS from /etc/sysconfig/pgsql, per bug 111504.
|
|
|
|
- Fix permissions on /etc/sysconfig/pgsql, per bug 115278.
|
|
|
|
- SELinux patch in init file: always su </dev/null, per bug 117901.
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Feb 25 2004 Tom Lane <tgl@redhat.com>
|
|
|
|
- Update to PostgreSQL 7.4.1.
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
|
|
|
|
- Fix chown syntax in postgresql.init also.
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Use ':' instead of '.' as separator for chown.
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Jan 9 2004 Lamar Owen <lowen@pari.edu>
|
|
|
|
- 7.4.1-1PGDG
|
|
|
|
- Merge Sander Steffann's changes up to 7.4-0.5PGDG
|
|
|
|
- Proper 7.4.1 JDBC jars this time.
|
|
|
|
- Patch for no pl/python from Alvaro
|
|
|
|
|
2004-09-09 10:46:07 +00:00
|
|
|
* Fri Dec 05 2003 David Jee <djee@redhat.com> 7.4-5
|
|
|
|
- Rebuild for Perl 5.8.2.
|
|
|
|
|
|
|
|
* Mon Dec 01 2003 David Jee <djee@redhat.com> 7.4-4
|
|
|
|
- Add PyGreSQL patch for deprecated column pg_type.typprtlen [Bug #111263]
|
|
|
|
- Add headers patch which moves ecpg headers to /usr/include/ecpg
|
|
|
|
[Bug #111195]
|
|
|
|
|
|
|
|
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-3
|
|
|
|
- uncomment buildrequires tcl-devel
|
|
|
|
|
|
|
|
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Mon Nov 24 2003 David Jee <djee@redhat.com> 7.4-1
|
|
|
|
- initial Red Hat build
|
|
|
|
- move jars to /usr/share/java
|
|
|
|
- fix rpm-multilib patch to use sysconfig
|
|
|
|
|
|
|
|
* Fri Nov 21 2003 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
|
|
|
|
- 7.4-0.1PGDG
|
|
|
|
- Development JDBC jars in addition to the 7.3 jars; will replace the
|
|
|
|
- 7.3 jars once 7.4 official jars are released.
|
|
|
|
- Changed to use the bzip2 source to save a little size.
|
|
|
|
- Removed some commented out portions of the specfile.
|
|
|
|
- Removed the 7.3.4 PDF docs. Will replace with 7.4 PDF's once they
|
|
|
|
- are ready.
|
|
|
|
|
|
|
|
* Tue Nov 18 2003 Kaj J. Niemi <kajtzu@fi.basen.net> 7.4-0.1
|
|
|
|
- 7.4
|
|
|
|
- Fixed Patch #1 (now rpm-pgsql-7.4.patch)
|
|
|
|
- Fixed Patch #2 (now rpm-multilib-7.4.patch):
|
|
|
|
- Patch #4 is unnecessary (upstream)
|
|
|
|
- Fixed Patch #6 (now postgresql-7.4-src-tutorial.patch)
|
|
|
|
- Added Patch #8 (postgresql-7.4-com_err.patch) as com_err()
|
|
|
|
is provided by e2fsprogs and CPPFLAGS gets lost somewhere
|
|
|
|
inside configure (bad macro?)
|
|
|
|
- No 7.4 PDF docs available yet (Source #17)
|
|
|
|
- PyGreSQL is separated from the upstream distribution but
|
|
|
|
we include it as usual (Source #18)
|
|
|
|
- Default to compiling libpq and ECPG as fully thread-safe
|
|
|
|
|
|
|
|
- 7.4 Origin. See previous spec files for previous history. Adapted
|
|
|
|
- from Red Hat and PGDG's 7.3.4 RPM, directly descended from
|
|
|
|
- postgresql-7.3.4-2 as shipped in Fedora Core 1.
|