Blame SOURCES/00300-change-so-version-scl.patch

2a6dbc
diff -up Python-3.4.2/configure.ac.major Python-3.4.2/configure.ac
2a6dbc
--- Python-3.4.2/configure.ac.major	2014-12-11 12:03:47.436971603 +0100
2a6dbc
+++ Python-3.4.2/configure.ac	2014-12-11 12:05:33.435973233 +0100
2a6dbc
@@ -114,7 +114,7 @@ VERSION=PYTHON_VERSION
2a6dbc
 
2a6dbc
 # Version number of Python's own shared library file.
2a6dbc
 AC_SUBST(SOVERSION)
2a6dbc
-SOVERSION=1.0
2a6dbc
+SOVERSION=__SCL_NAME__-1.0
2a6dbc
 
2a6dbc
 # The later defininition of _XOPEN_SOURCE disables certain features
2a6dbc
 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
2a6dbc
diff -up Python-3.4.2/configure.major Python-3.4.2/configure
2a6dbc
--- Python-3.4.2/configure.major	2014-12-11 12:03:39.210893871 +0100
2a6dbc
+++ Python-3.4.2/configure	2014-12-11 12:05:18.334830535 +0100
2a6dbc
@@ -3005,7 +3005,7 @@ VERSION=3.4
2a6dbc
 
2a6dbc
 # Version number of Python's own shared library file.
2a6dbc
 
2a6dbc
-SOVERSION=1.0
2a6dbc
+SOVERSION=__SCL_NAME__-1.0
2a6dbc
 
2a6dbc
 # The later defininition of _XOPEN_SOURCE disables certain features
2a6dbc
 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
2a6dbc
diff -up Python-3.4.2/configure.ac.scl Python-3.4.2/configure.ac
2a6dbc
--- Python-3.4.2/configure.ac.scl	2014-12-11 14:05:25.169171359 +0100
2a6dbc
+++ Python-3.4.2/configure.ac	2014-12-11 14:07:10.945155431 +0100
2a6dbc
@@ -953,7 +953,7 @@ if test $enable_shared = "yes"; then
2a6dbc
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
2a6dbc
 	  if test "$with_pydebug" != yes
2a6dbc
 	  then
2a6dbc
-	      PY3LIBRARY=libpython3.so
2a6dbc
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
2a6dbc
 	  fi
2a6dbc
           ;;
2a6dbc
     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
2a6dbc
@@ -968,7 +968,7 @@ if test $enable_shared = "yes"; then
2a6dbc
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
2a6dbc
 	  if test "$with_pydebug" != yes
2a6dbc
           then
2a6dbc
-	      PY3LIBRARY=libpython3.so
2a6dbc
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
2a6dbc
 	  fi
2a6dbc
 	  ;;
2a6dbc
     hp*|HP*)
2a6dbc
diff -up Python-3.4.2/configure.scl Python-3.4.2/configure
2a6dbc
--- Python-3.4.2/configure.scl	2014-12-11 14:05:16.490090615 +0100
2a6dbc
+++ Python-3.4.2/configure	2014-12-11 14:06:42.207888078 +0100
2a6dbc
@@ -5641,7 +5641,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
2a6dbc
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
2a6dbc
 	  if test "$with_pydebug" != yes
2a6dbc
 	  then
2a6dbc
-	      PY3LIBRARY=libpython3.so
2a6dbc
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
2a6dbc
 	  fi
2a6dbc
           ;;
2a6dbc
     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
2a6dbc
@@ -5656,7 +5656,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
2a6dbc
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
2a6dbc
 	  if test "$with_pydebug" != yes
2a6dbc
           then
2a6dbc
-	      PY3LIBRARY=libpython3.so
2a6dbc
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
2a6dbc
 	  fi
2a6dbc
 	  ;;
2a6dbc
     hp*|HP*)
2a6dbc
diff -up Python-3.4.2/Makefile.pre.in.scl Python-3.4.2/Makefile.pre.in
2a6dbc
--- Python-3.4.2/Makefile.pre.in.scl	2014-12-11 14:29:07.244473958 +0100
2a6dbc
+++ Python-3.4.2/Makefile.pre.in	2014-12-11 14:29:28.449674732 +0100
2a6dbc
@@ -581,7 +581,7 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS
2a6dbc
 		$(BLDSHARED) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
2a6dbc
 	fi
2a6dbc
 
2a6dbc
-libpython3.so:	libpython$(LDVERSION).so
2a6dbc
+libpython3.so.__SCL_NAME__:	libpython$(LDVERSION).so
2a6dbc
 	$(BLDSHARED) $(NO_AS_NEEDED) -o $@ -Wl,-h$@ $^
2a6dbc
 
2a6dbc
 libpython$(LDVERSION).dylib: $(LIBRARY_OBJS)