Blame SOURCES/0012-bump-soname.patch

dc245c
From d4a6e4b3e3c6becf507158b8ae7cea70521753e9 Mon Sep 17 00:00:00 2001
dc245c
From: Paolo Bonzini <pbonzini@redhat.com>
dc245c
Date: Sat, 29 Jun 2013 11:12:41 -0700
dc245c
Subject: [RHEL7 libiscsi PATCH 12/18] bump ABI version
dc245c
dc245c
ABI was not preserved between 1.7.0 and 1.9.0.  It was also bumped
dc245c
further after 1.9.0, so I made the upstream patch go to 3 and
dc245c
reserved 2 for Fedora/RHEL.
dc245c
dc245c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
dc245c
(see upstream commit d4a6e4b3e3c6becf507158b8ae7cea70521753e9)
dc245c
---
dc245c
diff --git a/Makefile.am b/Makefile.am
dc245c
index 50dfe11..4ccb52c 100644
dc245c
--- a/Makefile.am
dc245c
+++ b/Makefile.am
dc245c
@@ -37,7 +37,7 @@ if !HAVE_LIBGCRYPT
dc245c
 lib_libiscsi_la_SOURCES += lib/md5.c
dc245c
 endif
dc245c
 
dc245c
-SONAME=$(firstword $(subst ., ,$(VERSION)))
dc245c
+SONAME=2
dc245c
 SOREL=$(shell printf "%d%02d%02d" $(subst ., ,$(VERSION)))
dc245c
 lib_libiscsi_la_LDFLAGS = \
dc245c
 	-version-info $(SONAME):$(SOREL):0 -bindir $(bindir) -no-undefined \