Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: python3
- Version: 3.7.3
- Release: cooper
- Summary: Building from the head of cpython 3.7 branch
- License: PSFL
- URL: https://github.com/python/cpython
- Source0: Python-3.7.3.tgz
- AutoReq: no
- BuildRequires: openssl-devel libffi-devel zlib-devel
- # Requires:
- %description
- Building the latest and greatest Python
- %prep
- zcat $RPM_SOURCE_DIR/Python-3.7.3.tgz | tar -xvf -
- %build
- # cd cpython
- cd Python-3.7.3
- %configure --enable-optimizations --enable-ipv6 --with-ensurepip=upgrade
- make -j 4
- %install
- # cd cpython
- cd Python-3.7.3
- %make_install -j 4
- %clean
- %{__rm} -rf %{buildroot}
- %files
- /usr/bin/*
- /usr/include/python3.7m/*
- /usr/lib/python3.7/*
- /usr/lib64/*
- /usr/share/man/man1/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement