Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pdfarranger for openSUSE:Factory checked in at 2025-02-20 16:38:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pdfarranger (Old) and /work/SRC/openSUSE:Factory/.pdfarranger.new.1873 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdfarranger" Thu Feb 20 16:38:09 2025 rev:12 rq:1247125 version:1.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pdfarranger/pdfarranger.changes 2024-10-17 18:41:35.075895460 +0200 +++ /work/SRC/openSUSE:Factory/.pdfarranger.new.1873/pdfarranger.changes 2025-02-20 16:38:52.646272228 +0100 @@ -1,0 +2,5 @@ +Wed Feb 19 13:37:26 UTC 2025 - ecsos <ec...@opensuse.org> + +- Use pythons so we can build also for Leap with python311. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdfarranger.spec ++++++ --- /var/tmp/diff_new_pack.wphaBF/_old 2025-02-20 16:38:53.782319727 +0100 +++ /var/tmp/diff_new_pack.wphaBF/_new 2025-02-20 16:38:53.786319894 +0100 @@ -1,7 +1,7 @@ # # spec file for package pdfarranger # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2020 Karl Cheng <qantas94he...@gmail.com> # # All modifications and additions to the file contributed by third parties @@ -17,6 +17,12 @@ # +%if 0%{?suse_version} >= 1600 +%define pythons python3 +%else +%define pythons python311 +%endif + Name: pdfarranger Version: 1.11.1 Release: 0 @@ -24,20 +30,20 @@ License: GPL-3.0-only URL: https://github.com/pdfarranger/pdfarranger Source: https://github.com/pdfarranger/pdfarranger/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module base} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: intltool -BuildRequires: python3-devel -BuildRequires: python3-rpm-macros -BuildRequires: python3-setuptools +BuildRequires: python-rpm-macros BuildRequires: update-desktop-files +Requires: %{python_flavor}-cairo +Requires: %{python_flavor}-dateutil >= 2.4.0 +Requires: %{python_flavor}-gobject-Gdk +Requires: %{python_flavor}-pikepdf >= 6 Requires: gtk3 -Requires: python3-cairo -Requires: python3-dateutil >= 2.4.0 -Requires: python3-gobject-Gdk -Requires: python3-pikepdf >= 6 Requires: typelib-1_0-Gtk-3_0 Requires: typelib-1_0-Poppler-0_18 -Recommends: python3-img2pdf >= 0.3.4 +Recommends: %{python_flavor}-img2pdf >= 0.3.4 BuildArch: noarch %description @@ -54,10 +60,10 @@ %autosetup -p1 %build -python3 setup.py build +python%{python_bin_suffix} setup.py build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +python%{python_bin_suffix} setup.py install --prefix=%{_prefix} --root=%{buildroot} %suse_update_desktop_file -r com.github.jeromerobert.pdfarranger Graphics VectorGraphics %find_lang %{name} %{?no_lang_C} %fdupes -s %{buildroot} @@ -66,8 +72,8 @@ %license COPYING %doc README.md %{_bindir}/%{name} -%{python3_sitelib}/%{name} -%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%{python_sitelib}/%{name} +%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info %{_datadir}/applications/com.github.jeromerobert.pdfarranger.desktop %{_mandir}/man1/%{name}.1%{?ext_man} %{_datadir}/%{name}