python-lit/python-lit.spec
2022-06-21 19:53:55 +08:00

45 lines
1.2 KiB
RPMSpec

Name: python-lit
Version: 14.0.3
Release: 1
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/65/0c/94e4da4d1dc0dd55a09257d16dd9c87ed2f8e4747278d78fd4254465d943/lit-14.0.3.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
* Tue Jun 21 2022 houyingchao <houyingchao@h-partners.com> - 14.0.3-1
- Upgrade to version 14.0.3
* Mon Oct 26 2020 Ge Wang<wangge20@huawei.com> - 0.7.0-4
- remove python2
* Sat Nov 30 2019 gulining<gulining1@huawei.com> - 0.7.0-3
- Pakcage init