Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-seqdiag for openSUSE:Factory 
checked in at 2025-06-12 15:54:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-seqdiag (Old)
 and      /work/SRC/openSUSE:Factory/.python-seqdiag.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-seqdiag"

Thu Jun 12 15:54:28 2025 rev:7 rq:1285101 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-seqdiag/python-seqdiag.changes    
2022-06-04 23:27:29.284783238 +0200
+++ /work/SRC/openSUSE:Factory/.python-seqdiag.new.19631/python-seqdiag.changes 
2025-06-12 15:56:06.728277517 +0200
@@ -1,0 +2,5 @@
+Thu Jun 12 10:44:17 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build and libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-seqdiag.spec ++++++
--- /var/tmp/diff_new_pack.YbN8S3/_old  2025-06-12 15:56:07.264299761 +0200
+++ /var/tmp/diff_new_pack.YbN8S3/_new  2025-06-12 15:56:07.268299927 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-seqdiag
 #
-# Copyright (c) 2022 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,8 +16,7 @@
 #
 
 
-%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without libalternatives
 Name:           python-seqdiag
 Version:        3.0.0
 Release:        0
@@ -27,12 +26,14 @@
 URL:            http://blockdiag.com/
 Source:         
https://files.pythonhosted.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz
 BuildRequires:  %{python_module blockdiag >= 1.5.0}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-blockdiag >= 1.5.0
 Requires:       python-setuptools
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -46,21 +47,19 @@
 %setup -q -n seqdiag-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/seqdiag
 
-%post
-%python_install_alternative seqdiag
-
-%postun
-%python_uninstall_alternative seqdiag
+%pre
+%python_libalternatives_reset_alternative seqdiag
 
 %files %{python_files}
 %license LICENSE
 %doc CHANGES.rst README.rst
 %python_alternative %{_bindir}/seqdiag
-%{python_sitelib}/*
+%{python_sitelib}/seqdiag
+%{python_sitelib}/seqdiag-%{version}*-info
 

Reply via email to