9d2fcef Use sysconfig.get_path() to define %python_sitelib and %python_sitearch

Authored and Committed by ksurma 2 years ago
    Use sysconfig.get_path() to define %python_sitelib and %python_sitearch
    
    Distutils which were used to define the macros are deprecated in Python3.10:
    https://www.python.org/dev/peps/pep-0632/.
    Sysconfig isn't and it works across our Pythons, making it better choice for the task.
    
        
file modified
+2 -2
file modified
+2 -2
file modified
+5 -1
file modified
+36 -2
file modified
+1 -0