diff --git a/libpq-12.1-symbol-versioning.patch b/libpq-12.1-symbol-versioning.patch index 9bbb15b5342f7493c7abc2f96c1bbbef2d4074f4..48a2482c84dc6e7df69f2643698a29add8b849a3 100644 --- a/libpq-12.1-symbol-versioning.patch +++ b/libpq-12.1-symbol-versioning.patch @@ -15,7 +15,7 @@ index 67e7998..86612a4 100644 $(INSTALL_SCRIPT) $(srcdir)/install-sh '$(DESTDIR)$(pgxsdir)/config/install-sh' $(INSTALL_SCRIPT) $(srcdir)/missing '$(DESTDIR)$(pgxsdir)/config/missing' + $(INSTALL_SCRIPT) $(srcdir)/build-exports-gnu-ld '$(DESTDIR)$(pgxsdir)/config/build-exports-gnu-ld' - + installdirs: $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/config' diff --git a/config/build-exports-gnu-ld b/config/build-exports-gnu-ld @@ -78,17 +78,16 @@ index 373d73caef..d5bd5468cd 100644 exports_file = $(SHLIB_EXPORTS:%.txt=%.list) ifneq (,$(exports_file)) LINK.shared += -Wl,--version-script=$(exports_file) -diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt -index bbc1f90..fc3ef8a 100644 ---- a/src/interfaces/libpq/exports.txt -+++ b/src/interfaces/libpq/exports.txt -@@ -171,11 +171,11 @@ PQsslAttributeNames 168 +diff -ur postgresql-14.1/src/interfaces/libpq/exports.txt patched/src/interfaces/libpq/exports.txt +--- postgresql-14.1/src/interfaces/libpq/exports.txt 2021-11-08 22:58:24.000000000 +0100 ++++ patched/src/interfaces/libpq/exports.txt 2022-01-12 12:00:28.000000000 +0100 +@@ -171,15 +171,15 @@ PQsslAttribute 169 PQsetErrorContextVisibility 170 PQresultVerboseErrorMessage 171 -PQencryptPasswordConn 172 -+PQencryptPasswordConn 172 10 -PQresultMemorySize 173 ++PQencryptPasswordConn 172 10 +PQresultMemorySize 173 12 PQhostaddr 174 PQgssEncInUse 175 @@ -97,3 +96,8 @@ index bbc1f90..fc3ef8a 100644 +PQsetSSLKeyPassHook_OpenSSL 177 13 PQgetSSLKeyPassHook_OpenSSL 178 PQdefaultSSLKeyPassHook_OpenSSL 179 +-PQenterPipelineMode 180 ++PQenterPipelineMode 180 14 + PQexitPipelineMode 181 + PQpipelineSync 182 + PQpipelineStatus 183 diff --git a/libpq.spec b/libpq.spec index e3099ba1f5adc970c90b4189143491493c880745..bf9eb3634803f93c66c7d44fc04a0519fe8aabb6 100644 --- a/libpq.spec +++ b/libpq.spec @@ -1,6 +1,6 @@ Name: libpq -Version: 13.7 -Release: 2 +Version: 15.0 +Release: 1 Summary: PostgreSQL client library License: PostgreSQL Url: http://www.postgresql.org/ @@ -61,11 +61,11 @@ rm -r $RPM_BUILD_ROOT%_includedir/pgsql/server %multilib_fix_c_header --file "%_includedir/pg_config_ext.h" cp /dev/null libpq.lst -%find_lang libpq5-13 -cat libpq5-13.lang >>libpq.lst +%find_lang libpq5-15 +cat libpq5-15.lang >>libpq.lst cp /dev/null libpq-devel.lst -%find_lang pg_config-13 -cat pg_config-13.lang >>libpq-devel.lst +%find_lang pg_config-15 +cat pg_config-15.lang >>libpq-devel.lst %files -f libpq.lst %license COPYRIGHT @@ -80,6 +80,9 @@ cat pg_config-13.lang >>libpq-devel.lst %_libdir/pkgconfig/libpq.pc %changelog +* Tue Jun 27 2023 dillon chen - 15.0-1 +- upgrade libpq to 15.0 + * Thu Dec 1 2022 huajingyun - 13.7-2 - add loongarch support diff --git a/postgresql-13.7.tar.bz2 b/postgresql-15.0.tar.bz2 similarity index 67% rename from postgresql-13.7.tar.bz2 rename to postgresql-15.0.tar.bz2 index 2cabc642e794ce8a07b4327f0197e96249e078c2..7d40c462adb8e14150463bbcb618cafabd3b0e71 100644 Binary files a/postgresql-13.7.tar.bz2 and b/postgresql-15.0.tar.bz2 differ