Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package txt2tags for openSUSE:Factory checked in at 2025-07-06 17:06:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/txt2tags (Old) and /work/SRC/openSUSE:Factory/.txt2tags.new.1903 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "txt2tags" Sun Jul 6 17:06:55 2025 rev:11 rq:1290183 version:3.9 Changes: -------- --- /work/SRC/openSUSE:Factory/txt2tags/txt2tags.changes 2024-04-03 17:22:33.398233625 +0200 +++ /work/SRC/openSUSE:Factory/.txt2tags.new.1903/txt2tags.changes 2025-07-06 17:09:48.327661675 +0200 @@ -1,0 +2,6 @@ +Mon Jun 23 05:36:40 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Use pyproject macros to build and install. +- Explicitly list files and directories under python_sitelib in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ txt2tags.spec ++++++ --- /var/tmp/diff_new_pack.KY17tI/_old 2025-07-06 17:09:49.427707189 +0200 +++ /var/tmp/diff_new_pack.KY17tI/_new 2025-07-06 17:09:49.431707354 +0200 @@ -1,7 +1,7 @@ # # spec file for package txt2tags # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2013,2019 Christoph Junghans <jungh...@votca.org> # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: txt2tags Version: 3.9 Release: 0 @@ -26,7 +25,9 @@ Group: Productivity/Text/Convertors URL: https://txt2tags.org/ Source: https://github.com/txt2tags/txt2tags/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires: python-setuptools Requires(post): update-alternatives @@ -48,10 +49,10 @@ %autosetup %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/txt2tags sed -i '1s/env python/python3/' %{buildroot}%{python3_sitelib}/txt2tags.py chmod +x %{buildroot}%{python3_sitelib}/txt2tags.py @@ -70,6 +71,7 @@ %doc CHANGELOG.md README.md %license COPYING %python_alternative %{_bindir}/txt2tags -%{python_sitelib}/txt2tags* -%pycache_only %{python_sitelib}/__pycache__ +%{python_sitelib}/txt2tags.py +%{python_sitelib}/txt2tags-%{version}.dist-info +%pycache_only %{python_sitelib}/__pycache__/txt2tags.*.pyc