Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package torrentinfo for openSUSE:Factory 
checked in at 2025-06-14 16:17:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/torrentinfo (Old)
 and      /work/SRC/openSUSE:Factory/.torrentinfo.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "torrentinfo"

Sat Jun 14 16:17:33 2025 rev:5 rq:1285536 version:1.8.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/torrentinfo/torrentinfo.changes  2024-05-28 
17:30:00.850631633 +0200
+++ /work/SRC/openSUSE:Factory/.torrentinfo.new.19631/torrentinfo.changes       
2025-06-14 16:17:52.094611404 +0200
@@ -1,0 +2,5 @@
+Fri Jun 13 12:00:45 UTC 2025 - Nico Krapp <nico.kr...@suse.com>
+
+- convert to pip based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ torrentinfo.spec ++++++
--- /var/tmp/diff_new_pack.ywwWQO/_old  2025-06-14 16:17:52.690635994 +0200
+++ /var/tmp/diff_new_pack.ywwWQO/_new  2025-06-14 16:17:52.690635994 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package torrentinfo
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2009 Pascal Bleser <g...@unixtech.be>
 # Copyright (c) 2024 Andreas Stieger <andreas.stie...@gmx.de>
 #
@@ -18,6 +18,7 @@
 #
 
 
+%define pythons python3
 Name:           torrentinfo
 Version:        1.8.7
 Release:        0
@@ -31,9 +32,13 @@
 Patch0:         torrentinfo-fix_man.patch
 # PATCH-FIX-UPSTREAM torrentinfo-fix_tests_py3.patch
 Patch1:         torrentinfo-fix_tests_py3.patch
-BuildRequires:  python3-Sphinx
-BuildRequires:  python3-devel
-BuildRequires:  python3-pytest
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 
 %description
@@ -46,11 +51,11 @@
 %autosetup -p1
 
 %build
-python3 setup.py build
+%pyproject_wheel
 make -C doc man
 
 %install
-python3 setup.py install --prefix="%{_prefix}" --root=%{buildroot}
+%pyproject_install
 install -Dm0644 doc/_build/man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 
 %check
@@ -64,5 +69,9 @@
 %license LICENSE
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{ext_man}
-%{python3_sitelib}/*
+%{python3_sitelib}/torrentinfo-%{version}.dist-info
+%if 0%{?suse_version} && 0%{?suse_version} >= 1600
+%{python3_sitelib}/torrentinfo.py
+%pycache_only %{python3_sitelib}/__pycache__/torrentinfo.*
+%endif
 

Reply via email to