Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dtrx for openSUSE:Factory checked in 
at 2026-10-13 17:43:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dtrx (Old)
 and      /work/SRC/openSUSE:Factory/.dtrx.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dtrx"

Tue Oct 13 17:43:54 2026 rev:5 rq:1384443 version:8.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dtrx/dtrx.changes        2026-09-14 
16:20:30.506844796 +0200
+++ /work/SRC/openSUSE:Factory/.dtrx.new.3698736/dtrx.changes   2026-10-13 
17:44:29.640174679 +0200
@@ -1,0 +2,20 @@
+Mon Oct 12 19:13:39 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Fix %check to run the import test with the primary python3
+  interpreter: %python_expand iterates all python flavors,
+  but the package is built for the primary python only, so
+  the check failed for flavors that are not installed
+
+-------------------------------------------------------------------
+Mon Oct 12 08:47:01 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Eliminate files-duplicate findings: fdupes the identical
+  .pyc/.opt-1.pyc pairs, drop the dist-info license copy
+  (license is shipped via %%license)
+- Drop BuildRequires python3-devel: pure Python package, the
+  compiler toolchain it pulls in is never used
+- %check: use %python_expand $python instead of bare python3
+  so the test runs on the versioned interpreter the package
+  was built against
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ dtrx.spec ++++++
--- /var/tmp/diff_new_pack.Xafz0t/_old  2026-10-13 17:44:30.197198024 +0200
+++ /var/tmp/diff_new_pack.Xafz0t/_new  2026-10-13 17:44:30.198198065 +0200
@@ -23,8 +23,8 @@
 License:        GPL-3.0-only
 URL:            https://brettcsmith.org/2007/dtrx/
 Source:         
https://github.com/dtrx-py/dtrx/releases/download/%{version}/dtrx-%{version}.tar.gz
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-devel
 BuildRequires:  python3-pip
 BuildRequires:  python3-setuptools >= 75
 BuildRequires:  python3-wheel
@@ -59,13 +59,17 @@
 sed -i '1{/^#!/d}' dtrx/dtrx.py
 
 %build
-%python3_pyproject_wheel
+%{python3_pyproject_wheel}
 
 %install
-%python3_pyproject_install
+%{python3_pyproject_install}
+# Identical .pyc/.opt-1.pyc pairs waste space (rpmlint files-duplicate)
+%fdupes %{buildroot}%{python3_sitelib}
+# License is shipped via %%license; drop the dist-info copy
+rm -rf %{buildroot}%{python3_sitelib}/dtrx-%{version}.dist-info/licenses
 
 %check
-PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -B -c "import dtrx.dtrx"
+PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -B -c "import dtrx.dtrx"
 
 %files
 %license COPYING

Reply via email to