Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyVows for openSUSE:Factory 
checked in at 2025-06-04 20:29:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyVows (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyVows.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyVows"

Wed Jun  4 20:29:17 2025 rev:5 rq:1282609 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyVows/python-pyVows.changes      
2020-05-26 17:18:32.695874785 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyVows.new.16005/python-pyVows.changes   
2025-06-04 20:29:23.411063071 +0200
@@ -1,0 +2,6 @@
+Wed Jun  4 08:38:33 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyVows.spec ++++++
--- /var/tmp/diff_new_pack.ndPWu0/_old  2025-06-04 20:29:23.959085775 +0200
+++ /var/tmp/diff_new_pack.ndPWu0/_new  2025-06-04 20:29:23.959085775 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyVows
 #
-# Copyright (c) 2020 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,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without libalternatives
 Name:           python-pyVows
 Version:        3.0.0
 Release:        0
@@ -28,15 +28,17 @@
 BuildRequires:  %{python_module Unidecode}
 BuildRequires:  %{python_module colorama >= 0.3.7}
 BuildRequires:  %{python_module gevent >= 0.13.6}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module preggy >= 0.5.8}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-Unidecode
 Requires:       python-gevent >= 1.2.2
 Requires:       python-preggy >= 1.3.0
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 Recommends:     python-colorama >= 0.3.7
 BuildArch:      noarch
 %python_subpackages
@@ -50,11 +52,11 @@
 
 %build
 export LANG="en_US.UTF-8"
-%python_build
+%pyproject_wheel
 
 %install
 export LANG="en_US.UTF-8"
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pyvows
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -64,13 +66,14 @@
 export PATH=%{buildroot}%{_bindir}:$PATH
 %python_exec pyvows/cli.py -x tests/
 
-%post
-%python_install_alternative pyvows
+%pre
+# removing old update-alternatives entries
+%python_libalternatives_reset_alternative pyvows
 
-%postun
-%python_uninstall_alternative pyvows
+# post and postun macro call is not needed with only libalternatives
 
 %files %{python_files}
 %python_alternative %{_bindir}/pyvows
-%{python_sitelib}/*
+%{python_sitelib}/pyvows
+%{python_sitelib}/py[Vv]ows-%{version}*-info
 

Reply via email to