Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qpdf for openSUSE:Factory checked in at 2026-02-24 15:38:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpdf (Old) and /work/SRC/openSUSE:Factory/.qpdf.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qpdf" Tue Feb 24 15:38:08 2026 rev:84 rq:1334535 version:12.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/qpdf/qpdf.changes 2026-02-17 16:37:22.654415543 +0100 +++ /work/SRC/openSUSE:Factory/.qpdf.new.1977/qpdf.changes 2026-02-24 15:38:29.894164102 +0100 @@ -1,0 +2,5 @@ +Mon Feb 16 14:39:55 UTC 2026 - Petr Gajdos <[email protected]> + +- fix build for 15 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpdf.spec ++++++ --- /var/tmp/diff_new_pack.baZOrh/_old 2026-02-24 15:38:31.774242146 +0100 +++ /var/tmp/diff_new_pack.baZOrh/_new 2026-02-24 15:38:31.786242644 +0100 @@ -1,6 +1,7 @@ # # spec file for package qpdf # +# Copyright (c) 2026 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -16,6 +17,12 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without doc +%else +%bcond_with doc +%endif + %define so_version 30 %bcond_without zopfli Name: qpdf @@ -30,7 +37,11 @@ Source2: qpdf.keyring BuildRequires: cmake >= 3.16 BuildRequires: fdupes +%if 0%{suse_version} > 1500 BuildRequires: gcc-c++ +%else +BuildRequires: gcc15-c++ +%endif BuildRequires: pkgconfig BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx-latex @@ -90,14 +101,21 @@ %autosetup -p1 %build +%if 0%{suse_version} == 1500 +export CXX=g++-15 +%endif %global optflags %{optflags} -fexcess-precision=fast %cmake \ -DSHOW_FAILED_TEST_OUTPUT=ON \ -DWERROR=ON \ +%if %{with doc} -DBUILD_DOC=ON \ -DBUILD_DOC_DIST=ON \ -DBUILD_DOC_HTML=ON \ -DBUILD_DOC_PDF=ON \ +%else + -DBUILD_DOC=OFF \ +%endif %if %{with zopfli} -DZOPFLI=ON \ %endif @@ -113,6 +131,7 @@ %install %cmake_install +%if %{with doc} mkdir -m755 -p %{buildroot}%{_docdir}/%{name}/html mkdir -m755 -p %{buildroot}%{_docdir}/%{name}/singlehtml pushd build/manual/doc-dist @@ -120,7 +139,7 @@ cp -a manual-single-page-html/* %{buildroot}%{_docdir}/%{name}/singlehtml/ install -Dm644 qpdf-manual.pdf %{buildroot}%{_docdir}/%{name}/qpdf-manual.pdf popd - +%endif install -D -m 0644 completions/bash/qpdf %{buildroot}%{_datadir}/bash-completion/completions/qpdf install -D -m 0644 completions/zsh/_qpdf %{buildroot}%{_datadir}/zsh/site-functions/_qpdf @@ -140,10 +159,12 @@ %{_datadir}/bash-completion/completions/qpdf %{_datadir}/zsh/site-functions/_qpdf +%if %{with doc} %files doc %doc %{_docdir}/%{name}/html %doc %{_docdir}/%{name}/singlehtml %doc %{_docdir}/%{name}/qpdf-manual.pdf +%endif %files -n libqpdf%{so_version} %license Artistic-2.0 LICENSE.txt
