diff --git a/.gitignore b/.gitignore index 9a055b8..0b525f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -SOURCES/postgresql-10.3-US.pdf -SOURCES/postgresql-10.3.tar.bz2 +SOURCES/postgresql-10.5-US.pdf +SOURCES/postgresql-10.5.tar.bz2 SOURCES/postgresql-setup-8.0.tar.gz diff --git a/.rh-postgresql10-postgresql.metadata b/.rh-postgresql10-postgresql.metadata index 68d0d21..c688788 100644 --- a/.rh-postgresql10-postgresql.metadata +++ b/.rh-postgresql10-postgresql.metadata @@ -1,3 +1,3 @@ -02b306ee98db853dfb1616872fa38b5dd1f2d18d SOURCES/postgresql-10.3-US.pdf -93882ad46aa15fd45bfa53cb7f6532c3070d6964 SOURCES/postgresql-10.3.tar.bz2 +1cb7e6b3963208f126d9fe4f4784086ed1703578 SOURCES/postgresql-10.5-US.pdf +8c7b4406b0ba2987f4170657f89908ad47947429 SOURCES/postgresql-10.5.tar.bz2 4c1a983d9317abe242af19631d8730f2ed2f6e56 SOURCES/postgresql-setup-8.0.tar.gz diff --git a/SOURCES/postgresql-10.3.tar.bz2.sha256 b/SOURCES/postgresql-10.3.tar.bz2.sha256 deleted file mode 100644 index c48d200..0000000 --- a/SOURCES/postgresql-10.3.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -6ea268780ee35e88c65cdb0af7955ad90b7d0ef34573867f223f14e43467931a postgresql-10.3.tar.bz2 diff --git a/SOURCES/postgresql-10.5.tar.bz2.sha256 b/SOURCES/postgresql-10.5.tar.bz2.sha256 new file mode 100644 index 0000000..62d14ed --- /dev/null +++ b/SOURCES/postgresql-10.5.tar.bz2.sha256 @@ -0,0 +1 @@ +6c8e616c91a45142b85c0aeb1f29ebba4a361309e86469e0fb4617b6a73c4011 postgresql-10.5.tar.bz2 diff --git a/SOURCES/postgresql-libpqwalreceiver-rpath.patch b/SOURCES/postgresql-libpqwalreceiver-rpath.patch index d129c26..1b0af33 100644 --- a/SOURCES/postgresql-libpqwalreceiver-rpath.patch +++ b/SOURCES/postgresql-libpqwalreceiver-rpath.patch @@ -4,20 +4,19 @@ usecases, SCLized libpqwalreceiver.so needs to have RPATH set. Resolves: rhbz#1550567 diff --git a/src/backend/replication/libpqwalreceiver/Makefile b/src/backend/replication/libpqwalreceiver/Makefile -index a7a5fe1..a9604a1 100644 +index 75b0e2b..69b0de6 100644 --- a/src/backend/replication/libpqwalreceiver/Makefile +++ b/src/backend/replication/libpqwalreceiver/Makefile -@@ -16,6 +16,13 @@ override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS) +@@ -15,7 +15,11 @@ include $(top_builddir)/src/Makefile.global + override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS) OBJS = libpqwalreceiver.o $(WIN32RES) - SHLIB_LINK = $(libpq) $(filter -lintl, $(LIBS)) -+ +-SHLIB_LINK_INTERNAL = $(libpq) +# Force rpath to be used even though we disable it everywhere else. This is +# needed because the 'libpqwalreceiver.so' is loaded into process (with +# CREATE SUBSCRIPTION) which has dropped the $LD_LIBRARY_PATH variable from the +# parent $bindir/postgress process. -+SHLIB_LINK += $(rpath) -+ ++SHLIB_LINK_INTERNAL = $(libpq) $(rpath) + SHLIB_LINK = $(filter -lintl, $(LIBS)) SHLIB_PREREQS = submake-libpq PGFILEDESC = "libpqwalreceiver - receive WAL during streaming replication" - NAME = libpqwalreceiver diff --git a/SPECS/postgresql.spec b/SPECS/postgresql.spec index f60bd46..53a1c12 100644 --- a/SPECS/postgresql.spec +++ b/SPECS/postgresql.spec @@ -74,8 +74,8 @@ Summary: PostgreSQL client programs Name: %{?scl_prefix}postgresql %global majorversion 10 -Version: 10.3 -Release: 2%{?dist} +Version: 10.5 +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. @@ -1225,6 +1225,11 @@ make -C postgresql-setup-%{setup_version} check %endif %changelog +* Thu Aug 09 2018 Pavel Raiskup - 10.5-1 +- update to 10.5 per release notes: + https://www.postgresql.org/docs/10/static/release-10-4.html + https://www.postgresql.org/docs/10/static/release-10-5.html + * Tue Mar 06 2018 Pavel Raiskup - 10.3-2 - work-around linking issue with libpqwalreceiver.so (rhbz#1550567)