Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch-fancy-pypi-readme for 
openSUSE:Factory checked in at 2025-07-10 23:15:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch-fancy-pypi-readme (Old)
 and      /work/SRC/openSUSE:Factory/.python-hatch-fancy-pypi-readme.new.7373 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hatch-fancy-pypi-readme"

Thu Jul 10 23:15:01 2025 rev:8 rq:1291689 version:25.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.changes
    2025-05-03 20:58:06.867455522 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-hatch-fancy-pypi-readme.new.7373/python-hatch-fancy-pypi-readme.changes
  2025-07-10 23:15:18.317181002 +0200
@@ -1,0 +2,5 @@
+Thu Jul 10 12:36:07 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hatch-fancy-pypi-readme.spec ++++++
--- /var/tmp/diff_new_pack.H01q9W/_old  2025-07-10 23:15:18.977208496 +0200
+++ /var/tmp/diff_new_pack.H01q9W/_new  2025-07-10 23:15:18.981208663 +0200
@@ -24,6 +24,7 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-hatch-fancy-pypi-readme%{psuffix}
 Version:        25.1.0
@@ -31,24 +32,24 @@
 Summary:        Fancy PyPI READMEs with Hatch
 License:        MIT
 URL:            https://github.com/hynek/hatch-fancy-pypi-readme
-Source:         
https://files.pythonhosted.org/packages/source/h/hatch-fancy-pypi-readme/hatch_fancy_pypi_readme-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-generators
 BuildRequires:  python-rpm-macros
+Requires:       alts
+Provides:       python-hatch_fancy_pypi_readme = %{version}-%{release}
+BuildArch:      noarch
+%{?python_enable_dependency_generator}
 %if %{with test}
 # SECTION test
 BuildRequires:  %{python_module hatch-fancy-pypi-readme >= %version}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 %endif
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-Provides:       python-hatch_fancy_pypi_readme = %{version}-%{release}
-BuildArch:      noarch
-%{?python_enable_dependency_generator}
 %python_subpackages
 
 %description
@@ -85,11 +86,8 @@
 %pytest --ignore tests/test_end_to_end.py
 %endif
 
-%post
-%python_install_alternative hatch-fancy-pypi-readme
-
-%postun
-%python_uninstall_alternative hatch-fancy-pypi-readme
+%pre
+%python_libalternatives_reset_alternative hatch-fancy-pypi-readme
 
 %if !%{with test}
 %files %{python_files}

Reply via email to