Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fritzconnection for 
openSUSE:Factory checked in at 2026-06-01 18:06:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fritzconnection (Old)
 and      /work/SRC/openSUSE:Factory/.python-fritzconnection.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fritzconnection"

Mon Jun  1 18:06:57 2026 rev:14 rq:1356320 version:1.15.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-fritzconnection/python-fritzconnection.changes
    2026-02-17 18:14:27.817723840 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fritzconnection.new.1937/python-fritzconnection.changes
  2026-06-01 18:08:11.856735577 +0200
@@ -1,0 +2,12 @@
+Fri Apr 10 11:59:40 UTC 2026 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives/update-alternatives and provide flavoured binaries
+- Drop fritzconnection package, no longer needed
+
+-------------------------------------------------------------------
+Thu Apr  9 18:21:48 UTC 2026 - Andreas Schneider <[email protected]>
+
+- Create a fritzconnection package for the script files in /usr/bin
+- Build python31x-fritzconnection packages to be used by other python projects
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-fritzconnection.spec ++++++
--- /var/tmp/diff_new_pack.U3Zvv5/_old  2026-06-01 18:08:12.964781529 +0200
+++ /var/tmp/diff_new_pack.U3Zvv5/_new  2026-06-01 18:08:12.968781695 +0200
@@ -16,7 +16,11 @@
 #
 
 
-%global pythons python3
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 Name:           python-fritzconnection
 Version:        1.15.1
 Release:        0
@@ -34,9 +38,16 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-lxml
 Requires:       python-requests
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
+# hopefully temporary, we can make it cleaner as soon as version bumps
+Conflicts:      python3-fritzconnection
 BuildArch:      noarch
-Obsoletes:      python310-fritzconnection < 1.9.0
-Obsoletes:      python39-fritzconnection < 1.9.0
 %python_subpackages
 
 %description
@@ -55,6 +66,15 @@
 %install
 export LC_ALL=C.utf-8
 %pyproject_install
+%python_clone -a %{buildroot}%{_bindir}/fritzcall
+%python_clone -a %{buildroot}%{_bindir}/fritzconnection
+%python_clone -a %{buildroot}%{_bindir}/fritzhomeauto
+%python_clone -a %{buildroot}%{_bindir}/fritzhosts
+%python_clone -a %{buildroot}%{_bindir}/fritzmonitor
+%python_clone -a %{buildroot}%{_bindir}/fritzphonebook
+%python_clone -a %{buildroot}%{_bindir}/fritzstatus
+%python_clone -a %{buildroot}%{_bindir}/fritzwlan
+%python_group_libalternatives fritzconnection fritzcall fritzhomeauto 
fritzhosts fritzmonitor fritzphonebook fritzstatus fritzwlan
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -64,17 +84,26 @@
 # https://github.com/kbr/fritzconnection/issues/154
 %pytest -k 'not (test_terminate_thread_on_failed_reconnection or 
test_restart_failed_monitor)'
 
+%post
+%python_install_alternative fritzconnection fritzcall fritzhomeauto fritzhosts 
fritzmonitor fritzphonebook fritzstatus fritzwlan
+
+%postun
+%python_uninstall_alternative fritzconnection
+
+%pre
+%python_libalternatives_reset_alternative fritzconnection
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.md
-%{_bindir}/fritzcall
-%{_bindir}/fritzconnection
-%{_bindir}/fritzhomeauto
-%{_bindir}/fritzhosts
-%{_bindir}/fritzmonitor
-%{_bindir}/fritzphonebook
-%{_bindir}/fritzstatus
-%{_bindir}/fritzwlan
+%python_alternative %{_bindir}/fritzcall
+%python_alternative %{_bindir}/fritzconnection
+%python_alternative %{_bindir}/fritzhomeauto
+%python_alternative %{_bindir}/fritzhosts
+%python_alternative %{_bindir}/fritzmonitor
+%python_alternative %{_bindir}/fritzphonebook
+%python_alternative %{_bindir}/fritzstatus
+%python_alternative %{_bindir}/fritzwlan
 %{python_sitelib}/fritzconnection
 %{python_sitelib}/fritzconnection-%{version}.dist-info
 

Reply via email to