|
|
@ -1,18 +1,17 @@
|
|
|
|
%global lit_version 14.0.0
|
|
|
|
%global lit_version 15.0.7
|
|
|
|
#global rc_ver 1
|
|
|
|
#%%global post_ver 0
|
|
|
|
#%%global post_ver 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-lit
|
|
|
|
Name: python-lit
|
|
|
|
Version: %{lit_version}%{?rc_ver:~rc%{rc_ver}}
|
|
|
|
Version: %{lit_version}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
License: NCSA
|
|
|
|
License: NCSA
|
|
|
|
Summary: Tool for executing llvm test suites
|
|
|
|
Summary: Tool for executing llvm test suites
|
|
|
|
URL: https://pypi.python.org/pypi/lit
|
|
|
|
URL: https://pypi.python.org/pypi/lit
|
|
|
|
Source0: %{pypi_source lit %{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}}}
|
|
|
|
Source0: %{pypi_source lit %{lit_version}%{?post_ver:.post%{post_ver}}}
|
|
|
|
|
|
|
|
|
|
|
|
# for file check
|
|
|
|
# for file check
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
@ -33,7 +32,7 @@ Requires: python3-setuptools
|
|
|
|
lit is a tool used by the LLVM project for executing its test suites.
|
|
|
|
lit is a tool used by the LLVM project for executing its test suites.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n lit-%{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}} -p4
|
|
|
|
%autosetup -n lit-%{lit_version}%{?post_ver:.post%{post_ver}} -p4
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -46,7 +45,7 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.p
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__python3} lit.py tests
|
|
|
|
%{__python3} lit.py -v tests
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-lit
|
|
|
|
%files -n python3-lit
|
|
|
@ -59,6 +58,18 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.p
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 14.0.0-1
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 14.0.0-1
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 17 2023 Konrad Kleine <kkleine@redhat.com> - 15.0.7-1
|
|
|
|
|
|
|
|
- Update to 15.0.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 06 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.6-1
|
|
|
|
|
|
|
|
- Update to 15.0.6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 22 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.1-1
|
|
|
|
|
|
|
|
- Update to 15.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 20 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.0-1
|
|
|
|
|
|
|
|
- Update to 15.0.0
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
|
|
|
* Wed Apr 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
|
|
|
- Update to 14.0.0
|
|
|
|
- Update to 14.0.0
|
|
|
|
|
|
|
|
|
|
|
|