From 64accdf4cce80152ccdcfa42a08d761aff067bbd Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Mon, 5 Dec 2022 14:57:06 +0100 Subject: [PATCH] Revert versioning patch, because there are no new symbols in libpq 15 --- libpq-12.1-symbol-versioning.patch | 13 +++++-------- libpq.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/libpq-12.1-symbol-versioning.patch b/libpq-12.1-symbol-versioning.patch index cd5edc3..48a2482 100644 --- a/libpq-12.1-symbol-versioning.patch +++ b/libpq-12.1-symbol-versioning.patch @@ -78,10 +78,10 @@ index 373d73caef..d5bd5468cd 100644 exports_file = $(SHLIB_EXPORTS:%.txt=%.list) ifneq (,$(exports_file)) LINK.shared += -Wl,--version-script=$(exports_file) -diff -ur postgresql-15.0_original/src/interfaces/libpq/exports.txt postgresql-15.0/src/interfaces/libpq/exports.txt ---- postgresql-15.0_original/src/interfaces/libpq/exports.txt 2022-10-10 22:57:37.000000000 +0200 -+++ postgresql-15.0/src/interfaces/libpq/exports.txt 2022-10-19 15:07:19.733908438 +0200 -@@ -171,16 +171,16 @@ +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 @@ -97,10 +97,7 @@ diff -ur postgresql-15.0_original/src/interfaces/libpq/exports.txt postgresql-15 PQgetSSLKeyPassHook_OpenSSL 178 PQdefaultSSLKeyPassHook_OpenSSL 179 -PQenterPipelineMode 180 --PQexitPipelineMode 181 +PQenterPipelineMode 180 14 -+PQexitPipelineMode 181 15 + PQexitPipelineMode 181 PQpipelineSync 182 PQpipelineStatus 183 - PQsetTraceFlags 184 - \ No newline at end of file diff --git a/libpq.spec b/libpq.spec index 3c92fff..55be9b7 100644 --- a/libpq.spec +++ b/libpq.spec @@ -4,7 +4,7 @@ Summary: PostgreSQL client library Name: libpq Version: %{majorversion}.0 -Release: 1%{?dist} +Release: 2%{?dist} License: PostgreSQL Url: http://www.postgresql.org/ @@ -130,7 +130,11 @@ find_lang_bins %name-devel.lst pg_config %_libdir/pkgconfig/libpq.pc %changelog -* Tue Sep 27 2022 Ondrej Sloup - 15.1-1 +* Mon Dec 05 2022 Filip Janus - 15.0-2 +- Revert versioning patch +- There are no new symbols in libpq 15 + +* Tue Sep 27 2022 Ondrej Sloup - 15.0-1 - Update to v15 - Update patches - Resolves: https://fedoraproject.org/wiki/Changes/PostgreSQL_15