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

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