Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-camelot-py for 
openSUSE:Factory checked in at 2025-06-17 18:23:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-camelot-py (Old)
 and      /work/SRC/openSUSE:Factory/.python-camelot-py.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-camelot-py"

Tue Jun 17 18:23:37 2025 rev:2 rq:1286314 version:0.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-camelot-py/python-camelot-py.changes      
2024-09-17 18:20:36.608936404 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-camelot-py.new.19631/python-camelot-py.changes
   2025-06-17 18:24:30.560012895 +0200
@@ -1,0 +2,5 @@
+Tue Jun 17 09:24:50 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-camelot-py.spec ++++++
--- /var/tmp/diff_new_pack.KKxEN8/_old  2025-06-17 18:24:31.172038343 +0200
+++ /var/tmp/diff_new_pack.KKxEN8/_new  2025-06-17 18:24:31.176038510 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-camelot-py
 #
-# Copyright (c) 2024 SUSE LLC
+# 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
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-camelot-py
 Version:        0.11.0
@@ -24,9 +25,6 @@
 License:        MIT
 URL:            https://github.com/camelot-dev/camelot
 Source:         
https://github.com/camelot-dev/camelot/archive/refs/tags/v%{version}.tar.gz#/camelot-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module chardet >= 3.0.4}
 BuildRequires:  %{python_module click >= 6.7}
 BuildRequires:  %{python_module ghostscript >= 0.7}
@@ -35,17 +33,14 @@
 BuildRequires:  %{python_module openpyxl >= 2.5.8}
 BuildRequires:  %{python_module pandas >= 0.23.4}
 BuildRequires:  %{python_module pdfminer.six >= 20200726}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pypdf >= 3.0.0}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tabulate >= 0.8.9}
-# SECTION test requirements
-BuildRequires:  %{python_module pytest >= 5.4.3}
-BuildRequires:  %{python_module pytest-cov >= 2.10.0}
-BuildRequires:  %{python_module pytest-mpl >= 0.11}
-BuildRequires:  %{python_module typing_extensions}
-# /SECTION
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+BuildRequires:  alts
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-chardet >= 3.0.4
 Requires:       python-click >= 6.7
 Requires:       python-numpy >= 1.13.3
@@ -55,6 +50,12 @@
 Requires:       python-pypdf >= 3.0.0
 Requires:       python-tabulate >= 0.8.9
 BuildArch:      noarch 
+# SECTION test requirements
+BuildRequires:  %{python_module pytest >= 5.4.3}
+BuildRequires:  %{python_module pytest-cov >= 2.10.0}
+BuildRequires:  %{python_module pytest-mpl >= 0.11}
+BuildRequires:  %{python_module typing_extensions}
+# /SECTION
 %python_subpackages
 
 %description
@@ -71,11 +72,8 @@
 %python_clone -a %{buildroot}%{_bindir}/camelot
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%post
-%python_install_alternative camelot
-
-%postun
-%python_uninstall_alternative camelot
+%pre
+%python_libalternatives_reset_alternative camelot
 
 %check
 # Disable tests that require network connection
@@ -89,7 +87,6 @@
 donttest+=" or test_lattice_contour_plot_ghostscript or 
test_joint_plot_ghostscript"
 %pytest -k "not ($donttest)"
 
-
 %files %{python_files}
 %doc README.md
 %license LICENSE

Reply via email to