Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nwdiag for openSUSE:Factory 
checked in at 2025-06-02 22:01:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nwdiag (Old)
 and      /work/SRC/openSUSE:Factory/.python-nwdiag.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nwdiag"

Mon Jun  2 22:01:35 2025 rev:7 rq:1281974 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nwdiag/python-nwdiag.changes      
2022-07-21 11:33:44.642968492 +0200
+++ /work/SRC/openSUSE:Factory/.python-nwdiag.new.16005/python-nwdiag.changes   
2025-06-02 22:01:38.803923946 +0200
@@ -1,0 +2,5 @@
+Mon Jun  2 14:49:06 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-nwdiag.spec ++++++
--- /var/tmp/diff_new_pack.Qcrkk9/_old  2025-06-02 22:01:39.279943688 +0200
+++ /var/tmp/diff_new_pack.Qcrkk9/_new  2025-06-02 22:01:39.283943854 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nwdiag
 #
-# 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,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%global skip_python2 1
 Name:           python-nwdiag
 Version:        3.0.0
 Release:        0
@@ -26,13 +24,15 @@
 Group:          Development/Languages/Python
 URL:            http://blockdiag.com/
 Source:         
https://files.pythonhosted.org/packages/source/n/nwdiag/nwdiag-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-blockdiag >= 1.5.0
 Requires:       python-setuptools
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(post): alts
+Requires(postun): alts
 Suggests:       python-docutils
 Suggests:       python-nose
 Suggests:       python-reportlab
@@ -46,10 +46,10 @@
 %setup -q -n nwdiag-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/packetdiag
 %python_clone -a %{buildroot}%{_bindir}/rackdiag
 %python_clone -a %{buildroot}%{_bindir}/nwdiag
@@ -71,5 +71,8 @@
 %python_alternative %{_bindir}/nwdiag
 %python_alternative %{_bindir}/rackdiag
 %python_alternative %{_bindir}/packetdiag
-%{python_sitelib}/*
+%{python_sitelib}/nwdiag
+%{python_sitelib}/rackdiag
+%{python_sitelib}/packetdiag
+%{python_sitelib}/nwdiag-%{version}*-info
 

Reply via email to