Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package salt-lint for openSUSE:Factory checked in at 2025-03-24 13:27:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/salt-lint (Old) and /work/SRC/openSUSE:Factory/.salt-lint.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "salt-lint" Mon Mar 24 13:27:27 2025 rev:2 rq:1255032 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/salt-lint/salt-lint.changes 2023-06-20 16:47:14.598959354 +0200 +++ /work/SRC/openSUSE:Factory/.salt-lint.new.2696/salt-lint.changes 2025-03-24 13:27:28.699864171 +0100 @@ -1,0 +2,5 @@ +Fri Mar 21 14:04:13 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- follow the salt change in 15.7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ salt-lint.spec ++++++ --- /var/tmp/diff_new_pack.Ql2HGX/_old 2025-03-24 13:27:30.063921006 +0100 +++ /var/tmp/diff_new_pack.Ql2HGX/_new 2025-03-24 13:27:30.063921006 +0100 @@ -1,5 +1,7 @@ # -# Copyright (c) 2022 SUSE LLC +# spec file for package salt-lint +# +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,29 +13,40 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +%if 0%{?suse_version} > 1500 +%global pythons %{primary_python} +%else +%if 0%{?sle_version} >= 150700 +%global pythons python311 +%else +%global pythons python3 +%endif +%endif Name: salt-lint Version: 0.9.2 Release: 0 License: MIT Summary: A command-line utility that checks for best practices in SaltStack -Url: https://github.com/warpnet/salt-lint +URL: https://github.com/warpnet/salt-lint Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/s/salt-lint/salt-lint-%{version}.tar.gz +BuildRequires: %{pythons}-devel +BuildRequires: %{pythons}-setuptools BuildRequires: python-rpm-macros -BuildRequires: python3-devel -BuildRequires: python3-setuptools # SECTION test requirements -BuildRequires: python3-pathspec >= 0.6.0 -BuildRequires: python3-PyYAML -BuildRequires: python3-salt +BuildRequires: %{pythons}-pathspec >= 0.6.0 +BuildRequires: %{pythons}-PyYAML +BuildRequires: %{pythons}-salt # /SECTION BuildRequires: fdupes -Requires: python3 >= 3.6 -Requires: python3-pathspec >= 0.6.0 -Requires: python3-PyYAML -Requires: python3-salt +Requires: %{pythons} >= 3.6 +Requires: %{pythons}-PyYAML +Requires: %{pythons}-pathspec >= 0.6.0 +Requires: %{pythons}-salt BuildArch: noarch %description @@ -214,15 +227,15 @@ %setup -q -n salt-lint-%{version} %build -%python3_build +%python_build %install -%python3_install +%python_install %files %doc *.md %license LICENSE* %{_bindir}/salt-lint -%{python3_sitelib}/salt_lint*egg* -%{python3_sitelib}/saltlint/ +%{python_sitelib}/salt_lint*egg* +%{python_sitelib}/saltlint/