Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-langtable for
openSUSE:Factory checked in at 2026-08-27 18:50:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-langtable (Old)
and /work/SRC/openSUSE:Factory/.python-langtable.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-langtable"
Thu Aug 27 18:50:02 2026 rev:17 rq:1373654 version:0.0.71
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-langtable/python-langtable.changes
2026-06-29 17:29:24.984099145 +0200
+++
/work/SRC/openSUSE:Factory/.python-langtable.new.1265/python-langtable.changes
2026-08-27 18:50:10.928083281 +0200
@@ -1,0 +2,6 @@
+Tue Aug 25 15:38:34 UTC 2026 - Matej Cepl <[email protected]>
+
+- Rewrite to use modern packaging macros (%pyproject_* instead of
+ %python_{build,install}).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-langtable.spec ++++++
--- /var/tmp/diff_new_pack.HagyAy/_old 2026-08-27 18:50:12.321131383 +0200
+++ /var/tmp/diff_new_pack.HagyAy/_new 2026-08-27 18:50:12.325131521 +0200
@@ -39,16 +39,16 @@
Group: System/Localization
URL: https://github.com/mike-fabian/langtable
Source0:
https://github.com/mike-fabian/langtable/releases/download/%{version}/langtable-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{pythons}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: libxml2-tools
BuildRequires: python-rpm-macros
-BuildRequires: python3-base
+BuildArch: noarch
%if %{without data}
Requires: %{literalpython}-langtable-data = %{version}
%endif
-BuildArch: noarch
%python_subpackages
%description
@@ -69,7 +69,7 @@
%autosetup -n langtable-%{version}
%build
-%python_build
+%pyproject_wheel
%install
@@ -79,14 +79,13 @@
mv langtable/data/* %{buildroot}/%{_datadir}/langtable/data
%else
# Main package
- %python_install
+ %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_expand rm -rf %{buildroot}%{$python_sitelib}/langtable/data
%endif
# Main package
%if %{without data}
-
%check
(cd langtable; python3 langtable.py)
python3 test_cases.py
@@ -100,8 +99,8 @@
%files %{python_files}
%license COPYING unicode-license.txt
%doc README ChangeLog
-%{python_sitelib}/*
-
+%{python_sitelib}/langtable
+%{python_sitelib}/langtable-%{version}*-info
%else
# Data package