Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-yaswfp for openSUSE:Factory 
checked in at 2025-06-20 16:49:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yaswfp (Old)
 and      /work/SRC/openSUSE:Factory/.python-yaswfp.new.31170 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yaswfp"

Fri Jun 20 16:49:33 2025 rev:2 rq:1286876 version:0+git.1411687316.2a2cc6c

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yaswfp/python-yaswfp.changes      
2021-06-01 10:35:56.920658484 +0200
+++ /work/SRC/openSUSE:Factory/.python-yaswfp.new.31170/python-yaswfp.changes   
2025-06-20 16:51:12.092707456 +0200
@@ -1,0 +2,10 @@
+Thu Jun 19 09:34:27 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------
+Fri Jun 13 12:51:05 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-yaswfp.spec ++++++
--- /var/tmp/diff_new_pack.yvXT9k/_old  2025-06-20 16:51:12.844738557 +0200
+++ /var/tmp/diff_new_pack.yvXT9k/_new  2025-06-20 16:51:12.844738557 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yaswfp
 #
-# Copyright (c) 2021 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,22 +16,25 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define pkg_version 0.9.3
+%bcond_without libalternatives
 Name:           python-yaswfp
 Version:        0+git.1411687316.2a2cc6c
 Release:        0
 Summary:        Yet Another SWF Parser
-License:        GPL-3.0
-URL:            http://github.com/facundobatista/yaswfp
+License:        GPL-3.0-only
+Group:          Development/Libraries/Python
+URL:            https://github.com/facundobatista/yaswfp
 Source:         yaswfp-%{version}.tar.xz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       alts
 BuildArch:      noarch
-Group:          Development/Libraries/Python
-
 %python_subpackages
 
 %description
@@ -41,25 +44,23 @@
 %setup -q -n yaswfp-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/swfparser
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
 
-%post
-%python_install_alternative swfparser
-
-%postun
-%python_uninstall_alternative swfparser
+%pre
+%python_libalternatives_reset_alternative swfparser
 
 %files %{python_files}
 %doc README.rst
 %license COPYING
 %python_alternative %{_bindir}/swfparser
-%{python_sitelib}/*
+%{python_sitelib}/yaswfp
+%{python_sitelib}/yaswfp-%{pkg_version}*-info
 

Reply via email to