On Fri, Oct 9, 2020 at 9:48 AM Petr Lautrbach <plautrba@xxxxxxxxxx> wrote: > > 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@xxxxxxxxxx> Acked-by: James Carter <jwcart2@xxxxxxxxx> > --- > libsemanage/src/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile > index a0eb3747d74b..ab6cae51f5c3 100644 > --- a/libsemanage/src/Makefile > +++ b/libsemanage/src/Makefile > @@ -32,7 +32,7 @@ YACC = bison > YFLAGS = -d > > VERSION = $(shell cat ../VERSION) > -LIBVERSION = 1 > +LIBVERSION = 2 > > LIBA=libsemanage.a > TARGET=libsemanage.so > -- > 2.28.0 >