Advertisement
cooperlees

Untitled

Jun 12th, 2019
2,913
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name:       python3
  2. Version:    3.7.3
  3. Release:    cooper
  4. Summary:    Building from the head of cpython 3.7 branch
  5.  
  6. License:    PSFL
  7. URL:        https://github.com/python/cpython
  8. Source0:    Python-3.7.3.tgz
  9.  
  10. AutoReq:    no
  11. BuildRequires:  openssl-devel libffi-devel zlib-devel
  12. # Requires:
  13.  
  14. %description
  15. Building the latest and greatest Python
  16.  
  17. %prep
  18. zcat $RPM_SOURCE_DIR/Python-3.7.3.tgz | tar -xvf -
  19.  
  20. %build
  21. # cd cpython
  22. cd Python-3.7.3
  23. %configure --enable-optimizations --enable-ipv6 --with-ensurepip=upgrade
  24. make -j 4
  25.  
  26. %install
  27. # cd cpython
  28. cd Python-3.7.3
  29. %make_install -j 4
  30.  
  31. %clean
  32. %{__rm} -rf %{buildroot}
  33.  
  34. %files
  35. /usr/bin/*
  36. /usr/include/python3.7m/*
  37. /usr/lib/python3.7/*
  38. /usr/lib64/*
  39. /usr/share/man/man1/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement