At the same place, there should have been the static version,
but as we don't like static libraries, we removed it.
If a tool is linking against -lpython2.7 using that path, it
will find the shared version of libpython.
###############################################################################
name = python
-version = 2.7.2
-release = 1
+major_ver = 2.7
+version = %{major_ver}.2
+release = 2
thisapp = Python-%{version}
groups = Development/Languages
install_cmds
# All *.py files don't need to be executeable...
find %{BUILDROOT}/usr/lib/python*/ -name "*.py" | xargs chmod a-x -v
+
+ # Create symlink for shared lib.
+ ln -svf ../../libpython%{major_ver}.so %{BUILDROOT}/usr/lib/python%{major_ver}/config/
end
end