- drop deprecated functions and duplicated symbols - change library version to libsepol.so.2 - temporary ship -compat with libsepol.so.1 - based on upstream db0f2f382e31 - re-enable lto flags
46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
From 4a142ac46a116feb9f978eaec68a30efef979c73 Mon Sep 17 00:00:00 2001
|
|
From: Petr Lautrbach <plautrba@redhat.com>
|
|
Date: Fri, 9 Oct 2020 15:00:49 +0200
|
|
Subject: [PATCH] libsepol: Bump libsepol.so version
|
|
|
|
Previous commits removed some symbols and broke ABI, therefore we need to change
|
|
SONAME.
|
|
|
|
See the following quotes from distribution guidelines:
|
|
|
|
https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#run-time-shared-libraries
|
|
|
|
Every time the shared library ABI changes in a way that may break
|
|
binaries linked against older versions of the shared library, the SONAME
|
|
of the library and the corresponding name for the binary package
|
|
containing the runtime shared library should change.
|
|
|
|
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning
|
|
|
|
When new versions of the library are released, you should use an ABI
|
|
comparison tool to check for ABI differences in the built shared
|
|
libraries. If it detects any incompatibilities, bump the n number by
|
|
one.
|
|
|
|
Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
|
|
---
|
|
libsepol/src/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libsepol/src/Makefile b/libsepol/src/Makefile
|
|
index 8d466f56ed0e..dc8b1773d974 100644
|
|
--- a/libsepol/src/Makefile
|
|
+++ b/libsepol/src/Makefile
|
|
@@ -7,7 +7,7 @@ RANLIB ?= ranlib
|
|
CILDIR ?= ../cil
|
|
|
|
VERSION = $(shell cat ../VERSION)
|
|
-LIBVERSION = 1
|
|
+LIBVERSION = 2
|
|
|
|
LEX = flex
|
|
CIL_GENERATED = $(CILDIR)/src/cil_lexer.c
|
|
--
|
|
2.29.0.rc2
|
|
|