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

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