Name: python-lit Version: 0.7.0 Release: 4 BuildArch: noarch License: NCSA Summary: A tool to execute the llvm test suite URL: https://pypi.python.org/pypi/lit Source0: https://files.pythonhosted.org/packages/e5/0c/2f40cd6be5c79e15c5456b2aff6aea2e6196e8c42c0836a4da52d4df8d43/lit-0.7.0.tar.gz BuildRequires: python3-devel python3-setuptools %description python-lit is a tool used by LLVM to execute its test suite. %package -n python3-lit Summary: LLVM lit test runner for Python 3 Requires: python3-setuptools %description -n python3-lit python-lit is a tool used by LLVM to execute its test suite. %prep %autosetup -n lit-%{version}%{?rc_ver:rc%{rc_ver}} -p1 %build %py3_build %install %py3_install sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.py %files -n python3-lit %doc README.txt %{python3_sitelib}/* %{_bindir}/lit %changelog * Mon Oct 26 2020 Ge Wang - 0.7.0-4 - remove python2 * Sat Nov 30 2019 gulining - 0.7.0-3 - Pakcage init