Compare commits

...

9 Commits

Author SHA1 Message Date
Petr Kubat
99dc236a8c New upstream release 9.6.14
Per release notes:
https://www.postgresql.org/docs/9.6/release-9-6-14.html
2019-07-11 14:48:40 +02:00
Patrik Novotný
cc59f489d8 New upstream release 9.6.13
Per release notes:
    https://www.postgresql.org/docs/9.6/release-9-6-13.html

    Version: 9.6.13
2019-05-09 16:11:19 +02:00
Pavel Raiskup
1fe885ac3a Drop unused generate-sources-and-gitignore.sh script
Version: 9.6.12-1
2019-02-15 10:14:18 +01:00
Patrik Novotný
0f7766c747 Rebase to upstream version 9.6.12
Per release notes:
https://www.postgresql.org/docs/9.6/release-9-6-12.html

Version: 9.6.12-1
Fixes: PR#14
2019-02-15 10:13:51 +01:00
Pavel Raiskup
24e855e4b4 modularity: apply changes on 9.6 stream, too
Version: 9.6.11-1
2019-01-11 12:55:24 +01:00
Pavel Raiskup
08324caf5f update to latest upstream release 10.6
Per release notes:
https://www.postgresql.org/docs/10/release-10-6.html

Version: 10.6-1
2018-12-11 13:25:44 +01:00
Pavel Raiskup
48ed6e59a5 Hack epoch for copr-build purposes
Till we have fixed:
https://pagure.io/copr/copr/issue/455

Version: 10.5-6
2018-11-09 12:32:08 +01:00
Pavel Raiskup
2efb6a8748 Modular PostgreSQL server
This has compat fixes for both Fedora <= 29, and fedora > 29.
This is temporary hack, till modularity allows us to have two
separate git commits/branches for one stream:
https://pagure.io/modularity/issue/109

Version: 10.5-6
2018-11-09 11:43:08 +01:00
Pavel Raiskup
5e367760f4 Build also Python 3 variants of python contrib modules
Version: 10.5-5
2018-11-09 10:14:59 +01:00
7 changed files with 202 additions and 174 deletions

9
.gitignore vendored
View File

@ -1,6 +1,3 @@
/postgresql-10.5.tar.bz2
/postgresql-10.5.tar.bz2.sha256
/postgresql-9.6.10.tar.bz2
/postgresql-9.6.10.tar.bz2.sha256
/postgresql-setup-8.2.tar.gz
/postgresql-10.5-US.pdf
/postgresql-*.tar.bz2*
/postgresql-setup-*.tar.gz
/postgresql-*-US.pdf

View File

@ -1,6 +1,6 @@
#! /bin/sh
rm sources .gitignore
rm sources
set -e
spectool -S *.spec | cut -d' ' -f2 \
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
@ -9,5 +9,4 @@ do
base=`basename "$line"`
echo " * handling $base"
sha512sum --tag "$base" >> sources
echo "/$base" >> .gitignore
done

View File

@ -6,7 +6,7 @@ in sync!
Related: rhbz#1618698
diff --git a/src/Makefile b/src/Makefile
index febbced..9737b55 100644
index 977f80b..3d3b679 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,6 @@ SUBDIRS = \
@ -15,13 +15,13 @@ index febbced..9737b55 100644
include \
- interfaces \
backend/replication/libpqwalreceiver \
backend/replication/pgoutput \
fe_utils \
bin \
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 4ed5174..d0e0dae 100644
index 2d51c83..2e61f43 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -457,7 +457,7 @@ endif
@@ -465,7 +465,7 @@ endif
# This macro is for use by libraries linking to libpq. (Because libpgport
# isn't created with the same link flags as libpq, it can't be used.)
@ -30,7 +30,7 @@ index 4ed5174..d0e0dae 100644
# This macro is for use by client executables (not libraries) that use libpq.
# We force clients to pull symbols from the non-shared libraries libpgport
@@ -483,7 +483,6 @@ endif
@@ -491,7 +491,6 @@ endif
# Commonly used submake targets
submake-libpq:

View File

@ -13,9 +13,9 @@ diff -Naur postgresql-9.1rc1.orig/src/backend/utils/misc/postgresql.conf.sample
# into log files. Required to be on for
# csvlogs.
# (change requires restart)
@@ -355,11 +355,11 @@
@@ -287,11 +287,11 @@
# These are only used if logging_collector is on:
#log_directory = 'log' # directory where log files are written,
#log_directory = 'pg_log' # directory where log files are written,
# can be absolute or relative to PGDATA
-#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
+log_filename = 'postgresql-%a.log' # log file name pattern,
@ -27,7 +27,7 @@ diff -Naur postgresql-9.1rc1.orig/src/backend/utils/misc/postgresql.conf.sample
# same name as the new log file will be
# truncated rather than appended to.
# But such truncation only occurs on
@@ -367,9 +367,9 @@
@@ -299,9 +299,9 @@
# or size-driven rotation. Default is
# off, meaning append to existing files
# in all cases.

View File

@ -7,7 +7,7 @@ that we'll have to fix only a minimal set of packages which really build
PostgreSQL server modules.
diff --git a/src/bin/pg_config/Makefile b/src/bin/pg_config/Makefile
index c410087..e546b7b 100644
index 26fbaad..b225695 100644
--- a/src/bin/pg_config/Makefile
+++ b/src/bin/pg_config/Makefile
@@ -11,28 +11,30 @@
@ -48,12 +48,12 @@ index c410087..e546b7b 100644
check:
diff --git a/src/bin/pg_config/nls.mk b/src/bin/pg_config/nls.mk
index 1d41f90ee0..0f34f371cc 100644
index 720efa2..970671b 100644
--- a/src/bin/pg_config/nls.mk
+++ b/src/bin/pg_config/nls.mk
@@ -1,4 +1,4 @@
# src/bin/pg_config/nls.mk
-CATALOG_NAME = pg_config
+CATALOG_NAME = pg_server_config
AVAIL_LANGUAGES = cs de es fr he it ja ko nb pl pt_BR ro ru sv ta tr zh_CN zh_TW
AVAIL_LANGUAGES = cs de es fr it ja ko nb pl pt_BR ro ru sv ta tr zh_CN zh_TW
GETTEXT_FILES = pg_config.c ../../common/config_info.c ../../common/exec.c

View File

@ -55,11 +55,16 @@
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
%if 0%{?fedora} > 29
%global external_libs 1
%endif
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 10
Version: 10.5
Release: 4%{?dist}
%global majorversion 9.6
Version: 9.6.14
%{?dirty_hack_epoch}
Release: 1%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well.
@ -71,12 +76,12 @@ Url: http://www.postgresql.org/
# in-place upgrade of an old database. In most cases it will not be critical
# that this be kept up with the latest minor release of the previous series;
# but update when bugs affecting pg_dump output are fixed.
%global prevversion 9.6.10
%global prevmajorversion 9.6
%global prevversion 9.5.18
%global prevmajorversion 9.5
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release
%global setup_version 8.2
%global setup_version 8.4
%global service_name postgresql.service
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
@ -170,6 +175,11 @@ BuildRequires: systemtap-sdt-devel
BuildRequires: libselinux-devel
%endif
%if ! 0%{?external_libs}
# main package requires -libs subpackage
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%endif
# https://bugzilla.redhat.com/1464368
%global __provides_exclude_from %{_libdir}/pgsql
@ -183,17 +193,34 @@ over a network connection. The PostgreSQL server can be found in the
postgresql-server sub-package.
%if ! 0%{?external_libs}
%package libs
Summary: The shared libraries required for any PostgreSQL clients
Group: Applications/Databases
Provides: libpq.so = %{version}-%{release}
# for /sbin/ldconfig
Requires(post): glibc
Requires(postun): glibc
%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.
%endif
%package server
Summary: The programs needed to create and run a PostgreSQL server
Group: Applications/Databases
Requires: %{name}%{?_isa} = %precise_version
%{!?external_libs:Requires: %{name}-libs%{?_isa} = %precise_version}
Requires(pre): /usr/sbin/useradd
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
Requires: systemd
# Make sure it's there when scriptlets run, too
%{?systemd_requires}
# Packages which provide postgresql plugins should build-require
# postgresql-server-devel and require
# postgresql-(server-)devel and require
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
# This will automatically guard against incompatible server & plugin
# installation (#1008939, #1007840)
@ -224,19 +251,22 @@ and source files for the PostgreSQL tutorial.
Summary: Extension modules distributed with PostgreSQL
Group: Applications/Databases
Requires: %{name}%{?_isa} = %precise_version
%{!?external_libs:Requires: %{name}-libs%{?_isa} = %precise_version}
%description contrib
The postgresql-contrib package contains various extension modules that are
included in the PostgreSQL distribution.
%package server-devel
%package %{?external_libs:server-}devel
Summary: PostgreSQL development header files and libraries
Group: Development/Libraries
%{!?external_libs:Requires: %{name}-libs%{?_isa} = %precise_version}
%description %{?external_libs:server-}devel
Package contains the header files and configuration needed to compile PostgreSQL
server extension.
%description server-devel
The postgresql-server-devel package contains the header files and configuration
needed to compile PostgreSQL server extension.
%package test-rpm-macros
Summary: Convenience RPM macros for build-time testing against PostgreSQL server
@ -249,7 +279,7 @@ that want to run build-time testsuite against running PostgreSQL server.
%package static
Summary: Statically linked PostgreSQL libraries
Requires: %{name}-server-devel%{?_isa} = %precise_version
Requires: %{name}-%{?external_libs:server-}devel%{?_isa} = %precise_version
%description static
Statically linked PostgreSQL libraries that do not have dynamically linked
@ -261,6 +291,7 @@ counterparts.
Summary: Support for upgrading from the previous major release of PostgreSQL
Group: Applications/Databases
Requires: %{name}-server%{?_isa} = %precise_version
%{!?external_libs:Requires: %{name}-libs%{?_isa} = %precise_version}
Provides: bundled(postgresql-server) = %prevversion
%description upgrade
@ -343,7 +374,7 @@ Install this if you want to write database functions in Tcl.
Summary: The test suite distributed with PostgreSQL
Group: Applications/Databases
Requires: %{name}-server%{?_isa} = %precise_version
Requires: %{name}-server-devel%{?_isa} = %precise_version
Requires: %{name}-%{?external_libs:server-}devel%{?_isa} = %precise_version
%description test
The postgresql-test package contains files needed for various tests for the
@ -365,8 +396,10 @@ benchmarks.
%patch2 -p1
%patch5 -p1
%patch6 -p1
%if 0%{?external_libs}
%patch8 -p1
%patch9 -p1
%endif
# We used to run autoconf here, but there's no longer any real need to,
# since Postgres ships with a reasonably modern configure script.
@ -478,9 +511,20 @@ export PYTHON=/usr/bin/python3
--with-python
# Fortunately we don't need to build much except plpython itself.
make %{?_smp_mflags} -C src/pl/plpython all
%global python_subdirs \\\
src/pl/plpython \\\
contrib/hstore_plpython \\\
contrib/ltree_plpython
for dir in %python_subdirs; do
%make_build -C "$dir" all
done
# save built form in a directory that "make distclean" won't touch
cp -a src/pl/plpython src/pl/plpython3
for dir in %python_subdirs; do
rm -rf "${dir}3" # shouldn't exist, unless --short-circuit
cp -a "$dir" "${dir}3"
done
# must also save this version of Makefile.global for later
cp src/Makefile.global src/Makefile.global.python3
@ -499,7 +543,7 @@ PYTHON=/usr/bin/python2
unset PYTHON
make %{?_smp_mflags} world
%make_build world
# 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
@ -539,17 +583,25 @@ test_failure=0
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
run_testsuite "src/pl/plpython"
for dir in %python_subdirs; do
# because "make check" does "make install" on the whole tree,
# we must temporarily install *plpython3 dir as *plpython,
# since that is the subdirectory src/pl/Makefile knows about
mv "$dir" "${dir}2"
mv "${dir}3" "$dir"
done
for dir in %python_subdirs; do
run_testsuite "$dir"
done
for dir in %python_subdirs; do
# and clean up our mess
mv "$dir" "${dir}3"
mv "${dir}2" "${dir}"
done
# 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
run_testsuite "contrib"
@ -606,9 +658,17 @@ upgrade_configure ()
%if %plpython3
export PYTHON=/usr/bin/python3
upgrade_configure --with-python
make %{?_smp_mflags} -C src/pl/plpython all
# save aside the only one file which we are interested here
cp src/pl/plpython/plpython3.so ./
%make_build -C src/backend submake-errcodes
for dir in %python_subdirs; do
# Previous version doesn't necessarily have this.
test -d "$dir" || continue
%make_build -C "$dir" all
# save aside the only one file which we are interested here
cp "$dir"/*plpython3.so ./
done
unset PYTHON
make distclean
%endif
@ -645,20 +705,22 @@ EOF
make DESTDIR=$RPM_BUILD_ROOT install-world
%if 0%{?external_libs}
# We ship pg_config through libpq-devel
mv $RPM_BUILD_ROOT/%_mandir/man1/pg_{,server_}config.1
rm $RPM_BUILD_ROOT/%_includedir/pg_config*.h
rm $RPM_BUILD_ROOT/%_includedir/libpq/libpq-fs.h
rm $RPM_BUILD_ROOT/%_includedir/postgres_ext.h
rm -r $RPM_BUILD_ROOT/%_includedir/pgsql/internal/
%endif
%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
for dir in %python_subdirs; do
%make_install -C "${dir}3"
done
mv -f src/Makefile.global.save src/Makefile.global
%endif
@ -668,6 +730,11 @@ install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
# multilib header hack
for header in \
%if ! 0%{?external_libs}
%{_includedir}/pg_config.h \
%{_includedir}/pg_config_ext.h \
%{_includedir}/ecpg_config.h \
%endif
%{_includedir}/pgsql/server/pg_config.h \
%{_includedir}/pgsql/server/pg_config_ext.h
do
@ -698,15 +765,17 @@ install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/backups
# postgres' .bash_profile
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/.bash_profile
rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1
%{?external_libs:rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1}
%if %upgrade
pushd postgresql-%{prevversion}
make DESTDIR=$RPM_BUILD_ROOT install
make -C contrib DESTDIR=$RPM_BUILD_ROOT install
%if %plpython3
install -m 755 plpython3.so \
$RPM_BUILD_ROOT/%_libdir/pgsql/postgresql-%prevmajorversion/lib
for file in *plpython3.so; do
install -m 755 "$file" \
$RPM_BUILD_ROOT/%_libdir/pgsql/postgresql-%prevmajorversion/lib
done
%endif
popd
@ -725,7 +794,6 @@ rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1
rm bin/pg_dump
rm bin/pg_dumpall
rm bin/pg_restore
rm bin/pgbench
rm bin/psql
rm bin/reindexdb
rm bin/vacuumdb
@ -777,7 +845,11 @@ mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
# remove files not to be packaged
%if 0%{?external_libs}
rm $RPM_BUILD_ROOT%{_libdir}/libpgfeutils.a
%else
rm $RPM_BUILD_ROOT%{_libdir}/lib{ecpg,pq,ecpg_compat,pgfeutils,pgtypes}.a
%endif
%if !%plperl
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plperl.so
@ -797,13 +869,12 @@ find_lang_bins ()
cat "$binary"-%{majorversion}.lang >>"$lstfile"
done
}
find_lang_bins devel.lst pg_server_config
find_lang_bins devel.lst %{?external_libs:pg_server_config}%{?!external_libs:pg_config ecpg}
%{!?external_libs:find_lang_bins libs.lst ecpglib6 libpq5}
find_lang_bins server.lst \
initdb pg_basebackup pg_controldata pg_ctl pg_resetwal pg_rewind plpgsql postgres
find_lang_bins contrib.lst \
pg_archivecleanup pg_test_fsync pg_test_timing pg_waldump
initdb pg_basebackup pg_controldata pg_ctl pg_resetxlog pg_rewind plpgsql postgres
find_lang_bins main.lst \
pg_dump pg_upgrade pgscripts psql
pg_dump pgscripts psql
%if %plperl
find_lang_bins plperl.lst plperl
%endif
@ -852,8 +923,10 @@ make -C postgresql-setup-%{setup_version} check
%doc README.rpm-dist
%{_bindir}/clusterdb
%{_bindir}/createdb
%{_bindir}/createlang
%{_bindir}/createuser
%{_bindir}/dropdb
%{_bindir}/droplang
%{_bindir}/dropuser
%{_bindir}/pg_dump
%{_bindir}/pg_dumpall
@ -865,8 +938,10 @@ make -C postgresql-setup-%{setup_version} check
%{_bindir}/vacuumdb
%{_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.*
@ -885,18 +960,17 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/tutorial/
%files contrib -f contrib.lst
%files contrib
%doc contrib/spi/*.example
%{_bindir}/oid2name
%{_bindir}/pg_archivecleanup
%{_bindir}/pg_standby
%{_bindir}/pg_test_fsync
%{_bindir}/pg_test_timing
%{_bindir}/pg_waldump
%{_bindir}/pg_xlogdump
%{_bindir}/pgbench
%{_bindir}/vacuumlo
%{_datadir}/pgsql/extension/adminpack*
%{_datadir}/pgsql/extension/amcheck*
%{_datadir}/pgsql/extension/autoinc*
%{_datadir}/pgsql/extension/bloom*
%{_datadir}/pgsql/extension/btree_gin*
@ -934,12 +1008,12 @@ make -C postgresql-setup-%{setup_version} check
%{_datadir}/pgsql/extension/tablefunc*
%{_datadir}/pgsql/extension/tcn*
%{_datadir}/pgsql/extension/timetravel*
%{_datadir}/pgsql/extension/tsearch2*
%{_datadir}/pgsql/extension/tsm_system_rows*
%{_datadir}/pgsql/extension/tsm_system_time*
%{_datadir}/pgsql/extension/unaccent*
%{_libdir}/pgsql/_int.so
%{_libdir}/pgsql/adminpack.so
%{_libdir}/pgsql/amcheck.so
%{_libdir}/pgsql/auth_delay.so
%{_libdir}/pgsql/auto_explain.so
%{_libdir}/pgsql/autoinc.so
@ -962,6 +1036,9 @@ make -C postgresql-setup-%{setup_version} check
%if %plpython
%{_libdir}/pgsql/hstore_plpython2.so
%endif
%if %plpython3
%{_libdir}/pgsql/hstore_plpython3.so
%endif
%{_libdir}/pgsql/insert_username.so
%{_libdir}/pgsql/isn.so
%{_libdir}/pgsql/lo.so
@ -969,6 +1046,9 @@ make -C postgresql-setup-%{setup_version} check
%if %plpython
%{_libdir}/pgsql/ltree_plpython2.so
%endif
%if %plpython3
%{_libdir}/pgsql/ltree_plpython3.so
%endif
%{_libdir}/pgsql/moddatetime.so
%{_libdir}/pgsql/pageinspect.so
%{_libdir}/pgsql/passwordcheck.so
@ -987,6 +1067,7 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/tcn.so
%{_libdir}/pgsql/test_decoding.so
%{_libdir}/pgsql/timetravel.so
%{_libdir}/pgsql/tsearch2.so
%{_libdir}/pgsql/tsm_system_rows.so
%{_libdir}/pgsql/tsm_system_time.so
%{_libdir}/pgsql/unaccent.so
@ -996,7 +1077,7 @@ make -C postgresql-setup-%{setup_version} check
%{_mandir}/man1/pg_standby.*
%{_mandir}/man1/pg_test_fsync.*
%{_mandir}/man1/pg_test_timing.*
%{_mandir}/man1/pg_waldump.*
%{_mandir}/man1/pg_xlogdump.*
%{_mandir}/man1/pgbench.*
%{_mandir}/man1/vacuumlo.*
%{_mandir}/man3/dblink*
@ -1017,14 +1098,24 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/pgxml.so
%endif
%if ! 0%{?external_libs}
%files libs -f libs.lst
%doc COPYRIGHT
%dir %{_libdir}/pgsql
%{_libdir}/libecpg.so.*
%{_libdir}/libecpg_compat.so.*
%{_libdir}/libpgtypes.so.*
%{_libdir}/libpq.so.*
%endif
%files server -f server.lst
%{_bindir}/initdb
%{_bindir}/pg_basebackup
%{_bindir}/pg_controldata
%{_bindir}/pg_ctl
%{_bindir}/pg_receivewal
%{_bindir}/pg_receivexlog
%{_bindir}/pg_recvlogical
%{_bindir}/pg_resetwal
%{_bindir}/pg_resetxlog
%{_bindir}/pg_rewind
%{_bindir}/postgres
%{_bindir}/postgresql-setup
@ -1051,7 +1142,6 @@ make -C postgresql-setup-%{setup_version} check
%{_libdir}/pgsql/euc2004_sjis2004.so
%{_libdir}/pgsql/libpqwalreceiver.so
%{_libdir}/pgsql/pg_prewarm.so
%{_libdir}/pgsql/pgoutput.so
%{_libdir}/pgsql/plpgsql.so
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
@ -1063,8 +1153,8 @@ make -C postgresql-setup-%{setup_version} check
%{_mandir}/man1/pg_basebackup.*
%{_mandir}/man1/pg_controldata.*
%{_mandir}/man1/pg_ctl.*
%{_mandir}/man1/pg_receivewal.*
%{_mandir}/man1/pg_resetwal.*
%{_mandir}/man1/pg_receivexlog.*
%{_mandir}/man1/pg_resetxlog.*
%{_mandir}/man1/pg_rewind.*
%{_mandir}/man1/postgres.*
%{_mandir}/man1/postgresql-new-systemd-unit.*
@ -1083,12 +1173,27 @@ make -C postgresql-setup-%{setup_version} check
%endif
%if 0%{?external_libs}
%files server-devel -f devel.lst
%{_bindir}/pg_server_config
%dir %{_includedir}/pgsql
%{_includedir}/pgsql/server
%{_libdir}/pgsql/pgxs/
%{_mandir}/man1/pg_server_config.*
%else
%files devel -f devel.lst
%{_bindir}/ecpg
%{_bindir}/pg_config
%{_includedir}/*
%{_libdir}/libecpg.so
%{_libdir}/libecpg_compat.so
%{_libdir}/libpgtypes.so
%{_libdir}/libpq.so
%{_libdir}/pgsql/pgxs/
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man1/ecpg.*
%{_mandir}/man1/pg_config.*
%endif
%{_mandir}/man3/SPI_*
%{macrosdir}/macros.%name
@ -1131,7 +1236,11 @@ make -C postgresql-setup-%{setup_version} check
%if %pltcl
%files pltcl -f pltcl.lst
%{_bindir}/pltcl_delmod
%{_bindir}/pltcl_listmod
%{_bindir}/pltcl_loadmod
%{_datadir}/pgsql/extension/pltcl*
%{_datadir}/pgsql/unknown.pltcl
%{_libdir}/pgsql/pltcl.so
%endif
@ -1158,114 +1267,37 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Wed Sep 05 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-4
- build without postgresql-libs; libraries moved to libpq and libecpg
* Thu Jul 11 2019 Petr Kubat <pkubat@redhat.com> - 9.6.14-1
- Rebase to upstream release 9.6.14
https://www.postgresql.org/docs/9.6/release-9-6-14.html
* Mon Aug 27 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-3
- devel subpackage provides postgresql-server-devel and libecpg-devel
(first step for rhbz#1618698)
* Thu May 09 2019 Patrik Novotný <panovotn@redhat.com> - 9.6.13-1
- New postgresql-setup 8.4
- Rebase to upstream release 9.6.13
https://www.postgresql.org/docs/9.6/release-9-6-13.html
* Mon Aug 27 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-2
- packaging cleanup
- devel subpackage to provide libpq-devel (first step for rhbz#1618698)
* Thu Feb 14 2019 Patrik Novotný <panovotn@redhat.com> - 9.6.12-1
- Rebase to upstream release 9.6.12
https://www.postgresql.org/docs/9.6/release-9-6-12.html
* Wed Aug 08 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-1
- update to 10.5 per release notes:
https://www.postgresql.org/docs/10/static/release-10-5.html
* Wed Jan 09 2019 Pavel Raiskup <praiskup@redhat.com> - 9.6.11-1
- initial commit for 9.6 stream, intherit from stream-postgresql-10 branch
* Thu Aug 02 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-8
- new postgresql-setup, the %%postgresql_tests* macros now start
the build-time server on random port number
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 9.6.8-1
- update to 9.6.8 per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-8.html
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Feb 08 2018 Petr Kubat <pkubat@redhat.com> - 9.6.7-1
- update to 9.6.7 per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-7.html
* Thu Jul 12 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-6
- drop ppc64 patch, gcc is already fixed (rhbz#1544349)
- move pg_config*.mo files into devel subpackage
* Wed Nov 08 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.6-1
- update to 9.6.6 per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-6.html
* Mon Jul 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-5
- re-enable -O3 for 64bit PPC boxes
- explicitly set PYTHON=python2, /bin/python doesn't exist fc29+
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 10.4-4
- Perl 5.28 rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 10.4-3
- Perl 5.28 rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 10.4-2
- Rebuilt for Python 3.7
* Wed May 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-1
- update to 10.4 per release notes:
https://www.postgresql.org/docs/10/static/release-10-4.html
* Thu Apr 26 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-5
- pltcl: drop tcl-pltcl dependency (rhbz#1571181)
* Thu Apr 19 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-4
- upgrade: package plpython*.so modules
* Mon Apr 16 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-3
- upgrade: package plperl.so and pltcl.so
- upgrade: package contrib modules
- upgrade: drop dynamic libraries
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-2
- define %%precise_version helper macro
- drop explicit libpq.so provide from *-libs
- update postgresql-setup tarball
- add postgresql-test-rpm-macros package
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-1
- update to 10.3 per release notes:
https://www.postgresql.org/docs/10/static/release-10-3.html
* Thu Feb 08 2018 Petr Kubat <pkubat@redhat.com> - 10.2-1
- update to 10.2 per release notes:
https://www.postgresql.org/docs/10/static/release-10-2.html
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 10.1-5
- Rebuilt for switch to libxcrypt
* Tue Dec 19 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-4
- configure with --with-systemd (rhbz#1414314)
- disable startup timeout of PostgreSQL service (rhbz#1525477)
* Wed Dec 13 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-3
- unify %%configure options for python2/python3 configure
- drop --with-krb5 option, not supported since PostgreSQL 9.4
- python packaging - requires/provides s/python/python2/
* Tue Nov 14 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-2
- postgresql-setup v7.0
* Wed Nov 08 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-1
- update to 10.1 per release notes:
https://www.postgresql.org/docs/10/static/release-10-1.html
* Mon Nov 06 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-4
* Wed Nov 08 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-2
- rebase to new postgresql-setup 6.0 version, to fix CVE-2017-15097
* Thu Oct 12 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-3
- confess that we bundle setup scripts and previous version of ourseleves
- provide %%postgresql_upgrade_prefix macro
* Mon Oct 09 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-2
- stricter separation of files in upgrade/upgrade-devel
* Mon Oct 09 2017 Jozef Mlich <jmlich@redhat.com> - 10.0-2
- support for upgrade with extenstions
i.e the postgresql-upgrade-devel subpackage was added (rhbz#1475177)
* Fri Oct 06 2017 Pavel Raiskup <praiskup@redhat.com> - 10.0-1
- update to 10.0 per release notes:
https://www.postgresql.org/docs/10/static/release-10.html
* Tue Sep 05 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-2
- move %%_libdir/pgsql into *-libs subpackage
* Tue Aug 29 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-1
- update to 9.6.5 per release notes:
https://www.postgresql.org/docs/9.6/static/release-9-6-5.html

12
sources
View File

@ -1,6 +1,6 @@
SHA512 (postgresql-10.5.tar.bz2) = 1bad30ae88beca66f7e8b99b82e7f02aac1e9230b328e6e5a762a704cdd9dc767d924f5a66c68c93586badfef91b7ff336120a567ce970eaa58bb44c662ad48c
SHA512 (postgresql-10.5.tar.bz2.sha256) = f4b2bf3c6454905caf4bd5a9a53dec33e7ac6c7593e6464bf75bcd12b185bc1c54f925a088122d8819840a17bbda84e8b42c311a639d7457090ace74725971f9
SHA512 (postgresql-9.6.10.tar.bz2) = 960a32c86466f9d5f5491ef163f5c4a99cb5de7312d13371e2223b1d156e31eb2a23ed478e6654bcbb7bd19db9470aaf63473ff661c11c60971b92af5e9daf82
SHA512 (postgresql-9.6.10.tar.bz2.sha256) = 1dbdcf7e26128a721cb309624c1f8c368f5e3c65c15ed08aaf93c27819d2e36ba43f3c5a4ce893a079a95f7579c7dbb27b17a90c0cdf98fb9a470d7ebf3ad001
SHA512 (postgresql-setup-8.2.tar.gz) = b21ec508e207074ae1f5259479415f99301ae58a766d476a16fec620b7778ef6e5d32fa1d2cc0060cbfc5eee328a9495182500a8f2f8573ef20c359c290d8430
SHA512 (postgresql-10.5-US.pdf) = 2605f575be109be9327ac4cc2615354e1a30daf03176888d97e928dbc43613ee45f8e47aed40a623f7b3db5a063c2c44cb3ce1616b5ac20315f611987890fbfa
SHA512 (postgresql-9.5.18.tar.bz2) = 0487ac2891c800de045135d4b153659ec10c28750a09e0b87343f8e7145a11f1783ed0b6ca60829776faae1430c8050cc7661c780f171f1b2621f1673a32e6d1
SHA512 (postgresql-9.5.18.tar.bz2.sha256) = 3e1f800900f431102e9bf2143677207bab6bb42e8980155a0ced3bfe2510b020b4bea6a44cf3de00dbb07e42a3c98e19b4e2e783353d6c7f5fa82a581d12144f
SHA512 (postgresql-9.6.14.tar.bz2) = dccc183a6992ef4ece4ef5c638339708ab484e571ecd66ed993c9071cd55f250b4277fd3367f9a5ee545aa83e29dc5f7a239200e200e3314d5acc847f35e790c
SHA512 (postgresql-9.6.14.tar.bz2.sha256) = cf52b62d79623f8284509a02aece811e3a55e8275328a5379720f48a4cf7776215264c594579d429a9bd32d723a1e80af070c52705930dbde524c28ae3854c8a
SHA512 (postgresql-setup-8.4.tar.gz) = eb73767d5c676481598aeb545e15027a29a438aa29480ad414f6af31c9df61138a51f5425999b4b35e776a3dbbb28c887790ea9771abc3328158dd1d34b1dce1
SHA512 (postgresql-9.6.14-US.pdf) = b8c663004f7fd331adbc20e0ed4717d957062771c07df72c376dcab9b44f193444b1096fec8d50b78e5385caf9fa35835c04c570a4337cb3791f2939cc3b4b29