Blame SOURCES/0012-bump-soname.patch

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