import python-lit-0.11.0-1.module+el8.4.0+8598+a071fcd5

This commit is contained in:
CentOS Sources 2020-12-16 16:10:49 +00:00 committed by Andrew Lukoshko
parent 84132935d3
commit 306f176a5c
3 changed files with 12 additions and 6 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/lit-0.11.0rc1.tar.gz
SOURCES/lit-0.11.0.post1.tar.gz

View File

@ -1 +1 @@
81fdd584b1ff3624d8b4879c2a7d6254dd1372a0 SOURCES/lit-0.11.0rc1.tar.gz
67956574b4009f3268dd46afd4a9f529e91ca447 SOURCES/lit-0.11.0.post1.tar.gz

View File

@ -6,8 +6,9 @@
%global with_python2 1
%endif
%global rc_ver 1
%global baserelease 0.1
#%%global rc_ver 1
%global post_ver 1
%global baserelease 1
%bcond_without check
@ -23,7 +24,7 @@ BuildArch: noarch
License: NCSA
Summary: Tool for executing llvm test suites
URL: https://pypi.python.org/pypi/lit
Source0: https://files.pythonhosted.org/packages/be/39/44e2e9c977a4beb2d60566736b78bbbd7d194034a89f409fb867e48bd167/lit-0.11.0rc1.tar.gz
Source0: %{pypi_source %{srcname} %{version}%{?post_ver:.post%{post_ver}}}
# for file check
%if %{with check}
@ -61,7 +62,7 @@ lit is a tool used by the LLVM project for executing its test suites.
%endif
%prep
%autosetup -n %{srcname}-%{version}%{?rc_ver:rc%{rc_ver}} -p4
%autosetup -n %{srcname}-%{version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}} -p4
%build
%py3_build
@ -90,12 +91,14 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python2_sitelib}/%{srcna
%endif
%files -n python3-%{srcname}
%license LICENSE.TXT
%doc README.txt
%{python3_sitelib}/*
%{_bindir}/lit
%if 0%{?with_python2}
%files -n python2-%{srcname}
%license LICENSE.TXT
%doc README.txt
%{python2_sitelib}/*
%if %{undefined with_python2}
@ -104,6 +107,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python2_sitelib}/%{srcna
%endif
%changelog
* Thu Oct 29 2020 sguelton@redhat.com - 0.11.0-1
- 0.11.0 final release
* Thu Sep 17 2020 sguelton@redhat.com - 0.11.0-0.1.rc1
- 0.11.0 rc1 Release