Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lit for openSUSE:Factory checked in at 2025-10-16 17:39:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lit (Old) and /work/SRC/openSUSE:Factory/.lit.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lit" Thu Oct 16 17:39:31 2025 rev:7 rq:1311687 version:18.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/lit/lit.changes 2021-04-14 13:05:28.637473017 +0200 +++ /work/SRC/openSUSE:Factory/.lit.new.18484/lit.changes 2025-10-16 17:40:23.904568095 +0200 @@ -1,0 +2,8 @@ +Mon Sep 22 11:09:06 UTC 2025 - Nico Krapp <[email protected]> + +- Update to 18.1.8 + * no upstream changelog +- Switch to using pyproject macros +- use libalternatives on modern openSUSE versions + +------------------------------------------------------------------- Old: ---- lit-0.6.0.tar.gz New: ---- lit-18.1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lit.spec ++++++ --- /var/tmp/diff_new_pack.toBGPK/_old 2025-10-16 17:40:25.496635097 +0200 +++ /var/tmp/diff_new_pack.toBGPK/_new 2025-10-16 17:40:25.508635602 +0200 @@ -14,11 +14,14 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: lit -Version: 0.6.0 +Version: 18.1.8 Release: 0 Summary: A portable tool for executing test suites License: NCSA @@ -26,10 +29,17 @@ URL: http://llvm.org/cmds/lit.html Source0: https://files.pythonhosted.org/packages/source/l/lit/lit-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives Requires(postun): update-alternatives +%endif BuildArch: noarch Provides: lit = %{version} %python_subpackages @@ -41,16 +51,20 @@ as possible/ %prep -%setup -q +%autosetup -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/lit %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative lit + %post %python_install_alternative lit @@ -58,7 +72,8 @@ %python_uninstall_alternative lit %files %{python_files} -%doc README.txt +%doc README.rst %python_alternative %{_bindir}/lit -%{python_sitelib}/* +%{python_sitelib}/lit +%{python_sitelib}/lit-%{version}.dist-info ++++++ lit-0.6.0.tar.gz -> lit-18.1.8.tar.gz ++++++ ++++ 20928 lines of diff (skipped)
