python-lit/python-lit.spec
2023-12-11 09:36:16 +08:00

57 lines
1.4 KiB
RPMSpec

Name: python-lit
Version: 17.0.6
Release: 1
BuildArch: noarch
License: NCSA
Summary: A tool to execute the llvm test suite
URL: https://pypi.python.org/pypi/lit
Source0: %{pypi_source lit}
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}
%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.rst
%{python3_sitelib}/*
%{_bindir}/lit
%changelog
* Fri Dec 8 2023 zhoujing <zhoujing106@huawei.com> - 17.0.6-1
- Upgrade to version 17.0.6
* Wed May 31 2023 Ge Wang <wang__ge@126.com> - 16.0.5-1
- Upgrade to version 16.0.5
* Thu Feb 9 2023 Chenxi Mao <chenxi.mao@suse.com> - 15.0.7-1
- Upgrade to version 15.0.7
* Fri Dec 23 2022 Chenxi Mao <chenxi.mao@suse.com> - 15.0.6-1
- Upgrade to version 15.0.6
* 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