Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package img2pdf for openSUSE:Factory checked 
in at 2026-04-26 21:12:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/img2pdf (Old)
 and      /work/SRC/openSUSE:Factory/.img2pdf.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "img2pdf"

Sun Apr 26 21:12:27 2026 rev:7 rq:1349388 version:0.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/img2pdf/img2pdf.changes  2026-03-18 
16:53:38.848877022 +0100
+++ /work/SRC/openSUSE:Factory/.img2pdf.new.11940/img2pdf.changes       
2026-04-26 21:15:26.515536126 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 06:03:18 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros to build and install.
+- List files and directories explicitly under sitelib.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ img2pdf.spec ++++++
--- /var/tmp/diff_new_pack.AMi7PM/_old  2026-04-26 21:15:27.003555995 +0200
+++ /var/tmp/diff_new_pack.AMi7PM/_new  2026-04-26 21:15:27.007556158 +0200
@@ -24,14 +24,13 @@
 License:        LGPL-3.0-or-later
 URL:            https://gitlab.mister-muffin.de/josch/img2pdf
 Source:         
https://files.pythonhosted.org/packages/source/i/img2pdf/img2pdf-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module flit-core}
+BuildRequires:  %{python_module pip}
 BuildRequires:  ImageMagick
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Pillow
-Requires:       python-pdfrw
 Requires:       python-pikepdf
-Requires:       python-setuptools
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %if "%{python_flavor}" == "%{primary_python}"
@@ -63,10 +62,10 @@
 sed -i -e '/^#!\//, 1d' src/*.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/img2pdf-gui
 %python_clone -a %{buildroot}%{_bindir}/img2pdf
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -89,5 +88,7 @@
 %doc CHANGES.rst README.md
 %python_alternative %{_bindir}/img2pdf
 %python_alternative %{_bindir}/img2pdf-gui
-%{python_sitelib}/*
+%{python_sitelib}/img2pdf.py
+%pycache_only %{python_sitelib}/__pycache__/img2pdf.*.pyc
+%{python_sitelib}/img2pdf-%{version}.dist-info
 

Reply via email to