#23 Update to 14.0.0
Merged 6 months ago by sergesanspaille. Opened 6 months ago by tbaeder.
rpms/ tbaeder/python-lit rawhide  into  rawhide

file modified
+9 -10
@@ -1,13 +1,10 @@ 

- %global srcname lit

- 

- 

- %global lit_version 13.0.1

+ %global lit_version 14.0.0

  #global rc_ver 1

  #%%global post_ver 1

  

  %bcond_without check

  

- Name: python-%{srcname}

+ Name: python-lit

  Version: %{lit_version}%{?rc_ver:~rc%{rc_ver}}

  Release: 1%{?dist}

  BuildArch: noarch
@@ -15,13 +12,12 @@ 

  License: NCSA

  Summary: Tool for executing llvm test suites

  URL: https://pypi.python.org/pypi/lit

- Source0: %{pypi_source %{srcname} %{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}}}

+ Source0: %{pypi_source lit %{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}}}

  

  # for file check

  %if %{with check}

  BuildRequires: llvm-test

  %endif

- 

  BuildRequires: python3-devel

  BuildRequires: python3-setuptools

  
@@ -37,7 +33,7 @@ 

  lit is a tool used by the LLVM project for executing its test suites.

  

  %prep

- %autosetup -n %{srcname}-%{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}} -p4

+ %autosetup -n lit-%{lit_version}%{?rc_ver:rc%{rc_ver}}%{?post_ver:.post%{post_ver}} -p4

  

  %build

  %py3_build
@@ -46,20 +42,23 @@ 

  %py3_install

  

  # Strip out #!/usr/bin/env python

- sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/%{srcname}/*.py

+ sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/lit/*.py

  

  %if %{with check}

  %check

  %{__python3} lit.py tests

  %endif

  

- %files -n python3-%{srcname}

+ %files -n python3-lit

  %license LICENSE.TXT

  %doc README.txt

  %{python3_sitelib}/*

  %{_bindir}/lit

  

  %changelog

+ * Wed Mar 02 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1

+ - Update to 14.0.0

+ 

  * Fri Feb 04 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1

  - Update to LLVM 13.0.1

  

no initial comment

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Looks good to me and thank you for removing this srcname and making things more explicit. That helps a lot.

Pull-Request has been merged by sergesanspaille

6 months ago
Metadata