import python-lit-13.0.0-1.el9

This commit is contained in:
CentOS Sources 2021-12-07 12:54:45 -05:00 committed by Stepan Oksanichenko
parent 658733658a
commit d08feafa83
3 changed files with 11 additions and 8 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/lit-12.0.1.tar.gz
SOURCES/lit-13.0.0.tar.gz

View File

@ -1 +1 @@
24fc9809ac99e341613ed73c5a7468144cbff0d8 SOURCES/lit-12.0.1.tar.gz
44848e7d1a32d53d1ae99142305f3d9c4d7ea80d SOURCES/lit-13.0.0.tar.gz

View File

@ -6,9 +6,9 @@
%global with_python2 1
%endif
#%%global rc_ver 1
%global lit_version 13.0.0
#global rc_ver 1
#%%global post_ver 1
%global baserelease 2
%bcond_without check
@ -17,14 +17,14 @@
%{!?py2_install: %global py2_install %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot}}}
Name: python-%{srcname}
Version: 12.0.1
Release: %{?rc_ver:0.}%{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
Version: %{lit_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
BuildArch: noarch
License: NCSA
Summary: Tool for executing llvm test suites
URL: https://pypi.python.org/pypi/lit
Source0: %{pypi_source %{srcname} %{version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}}}
Source0: %{pypi_source %{srcname} %{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}}}
# for file check
%if %{with check}
@ -62,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}}%{?post_ver:.post%{post_ver}} -p4
%autosetup -n %{srcname}-%{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}} -p4
%build
%py3_build
@ -107,6 +107,9 @@ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python2_sitelib}/%{srcna
%endif
%changelog
* Tue Oct 12 2021 Timm Bäder <tbaeder@redhat.com> - 13.0.0-1
- Release 13.0.0
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 12.0.1-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688