Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-num2words for
openSUSE:Factory checked in at 2025-06-02 22:01:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-num2words (Old)
and /work/SRC/openSUSE:Factory/.python-num2words.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-num2words"
Mon Jun 2 22:01:34 2025 rev:8 rq:1281970 version:0.5.13
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-num2words/python-num2words.changes
2023-12-08 22:31:58.371822012 +0100
+++
/work/SRC/openSUSE:Factory/.python-num2words.new.16005/python-num2words.changes
2025-06-02 22:01:38.211899393 +0200
@@ -1,0 +2,5 @@
+Mon Jun 2 14:47:23 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-num2words.spec ++++++
--- /var/tmp/diff_new_pack.INeVro/_old 2025-06-02 22:01:38.675918637 +0200
+++ /var/tmp/diff_new_pack.INeVro/_new 2025-06-02 22:01:38.679918804 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-num2words
#
-# Copyright (c) 2023 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,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-num2words
Version: 0.5.13
Release: 0
@@ -25,12 +24,14 @@
Group: Development/Languages/Python
URL: https://github.com/savoirfairelinux/num2words
Source:
https://files.pythonhosted.org/packages/source/n/num2words/num2words-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-docopt >= 0.6.2
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(post): alts
+Requires(postun): alts
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module delegator.py}
@@ -48,10 +49,10 @@
%setup -q -n num2words-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/num2words
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -68,6 +69,7 @@
%files %{python_files}
%doc CHANGES.rst README.rst
%license COPYING
-%{python_sitelib}/*
+%{python_sitelib}/num2words
+%{python_sitelib}/num2words-%{version}*-info
%python_alternative %{_bindir}/num2words