libnftnl-1.2.2-3.el8

- Export nftnl_set_elem_nlmsg_build symbol in the right version

Related: rhbz#2211096
This commit is contained in:
Phil Sutter 2023-06-28 18:19:27 +02:00
parent 434c9b392b
commit 02380d86cf
2 changed files with 19 additions and 10 deletions

View File

@ -1,4 +1,4 @@
From 4ba7a3b9b6e9eb70be1f3cbdd42abc74fe88e6f2 Mon Sep 17 00:00:00 2001
From 7255af8a844a1444d59023500d176c8c2fff7a62 Mon Sep 17 00:00:00 2001
From: Phil Sutter <psutter@redhat.com>
Date: Wed, 28 Jun 2023 15:41:05 +0200
Subject: [PATCH] libnftnl.map: Restore custom LIBNFTNL_RHEL_14 version
@ -6,28 +6,28 @@ Subject: [PATCH] libnftnl.map: Restore custom LIBNFTNL_RHEL_14 version
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2211096
Upstream Status: RHEL-only
Avoid breaking old binaries. Keep the custom version name which was
introduced to export symbol nftnl_set_elem_nlmsg_build upstream exported
in LIBNFTNL_17.
Avoid breaking old binaries. Keep the custom version name exporting
symbol nftnl_set_elem_nlmsg_build upstream exported in LIBNFTNL_17.
---
src/libnftnl.map | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
src/libnftnl.map | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/libnftnl.map b/src/libnftnl.map
index ad8f2af060aef..0beaf0297def7 100644
index ad8f2af060aef..26701c2984296 100644
--- a/src/libnftnl.map
+++ b/src/libnftnl.map
@@ -360,6 +360,9 @@ LIBNFTNL_13 {
@@ -360,6 +360,10 @@ LIBNFTNL_13 {
nftnl_flowtable_set_data;
} LIBNFTNL_12;
+LIBNFTNL_RHEL_14 {
+ nftnl_set_elem_nlmsg_build;
+} LIBNFTNL_13;
+
LIBNFTNL_14 {
nftnl_udata_nest_start;
nftnl_udata_nest_end;
@@ -367,7 +370,7 @@ LIBNFTNL_14 {
@@ -367,7 +371,7 @@ LIBNFTNL_14 {
nftnl_chain_get_array;
nftnl_flowtable_set_array;
nftnl_flowtable_get_array;
@ -36,6 +36,12 @@ index ad8f2af060aef..0beaf0297def7 100644
LIBNFTNL_15 {
nftnl_obj_get_data;
@@ -385,5 +389,4 @@ LIBNFTNL_16 {
} LIBNFTNL_15;
LIBNFTNL_17 {
- nftnl_set_elem_nlmsg_build;
} LIBNFTNL_16;
--
2.40.0

View File

@ -1,5 +1,5 @@
%define rpmversion 1.2.2
%define specrelease 2
%define specrelease 3
Name: libnftnl
Version: %{rpmversion}
@ -60,6 +60,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_includedir}/libnftnl
%changelog
* Wed Jun 28 2023 Phil Sutter <psutter@redhat.com> [1.2.2-3.el8]
- Export nftnl_set_elem_nlmsg_build symbol in the right version
* Wed Jun 28 2023 Phil Sutter <psutter@redhat.com> [1.2.2-2.el8]
- libnftnl.map: Restore custom LIBNFTNL_RHEL_14 version (Phil Sutter) [2211096]