d38048d Define %python_sitelib, %python_sitearch, %python_version, %python_version_nodots

Authored and Committed by churchyard 4 years ago
    Define %python_sitelib, %python_sitearch, %python_version, %python_version_nodots
    
    In rpm 4.15 those are no longer defined.
    
    The meaning of "python" is derived from %__python - and that errors by default
    unless user defined.
    
    Example usage:
    
        %global __python /usr/bin/pypy3
    
        ...
    
        %files
        %{python_sitelib}/foo/
    
        
file modified
+7 -0
file modified
+6 -1