]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - python/python.nm
python: Add a symlink to shared lib.
[people/ms/ipfire-3.x.git] / python / python.nm
index 7ca7f0c866ce473c56fe19fc208ae1803ba9eaea..73f564fbbd087cd20bdc39cf5abdef48a5250c04 100644 (file)
@@ -4,8 +4,9 @@
 ###############################################################################
 
 name       = python
-version    = 2.7.2
-release    = 1
+major_ver  = 2.7
+version    = %{major_ver}.2
+release    = 2
 thisapp    = Python-%{version}
 
 groups     = Development/Languages
@@ -74,6 +75,9 @@ build
        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