Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-curlylint for openSUSE:Factory checked in at 2025-06-04 20:30:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-curlylint (Old) and /work/SRC/openSUSE:Factory/.python-curlylint.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-curlylint" Wed Jun 4 20:30:02 2025 rev:5 rq:1282795 version:0.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-curlylint/python-curlylint.changes 2025-05-26 18:41:45.655107273 +0200 +++ /work/SRC/openSUSE:Factory/.python-curlylint.new.16005/python-curlylint.changes 2025-06-04 20:30:21.217459131 +0200 @@ -1,0 +2,5 @@ +Wed Jun 4 14:26:00 UTC 2025 - Nico Krapp <nico.kr...@suse.com> + +- Migrate to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-curlylint.spec ++++++ --- /var/tmp/diff_new_pack.1RlLTR/_old 2025-06-04 20:30:21.945489319 +0200 +++ /var/tmp/diff_new_pack.1RlLTR/_new 2025-06-04 20:30:21.945489319 +0200 @@ -16,6 +16,7 @@ # +%bcond_without libalternatives Name: python-curlylint Version: 0.13.1 Release: 0 @@ -26,8 +27,10 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-attrs >= 17.2.0 Requires: python-click >= 6.5 Requires: python-parsy >= 1.1.0 @@ -48,7 +51,7 @@ HTML templates linting for Jinja, Nunjucks, Django templates, Twig, Liquid. %prep -%setup -q -n curlylint-%{version} +%autosetup -p1 -n curlylint-%{version} %build %pyproject_wheel @@ -61,11 +64,11 @@ %check %pytest -%post -%python_install_alternative curlylint +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative curlylint -%postun -%python_uninstall_alternative curlylint +# post and postun macro call is not needed with only libalternatives %files %{python_files} %doc README.md