Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package daps for openSUSE:Factory checked in at 2022-10-19 13:17:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/daps (Old) and /work/SRC/openSUSE:Factory/.daps.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "daps" Wed Oct 19 13:17:22 2022 rev:49 rq:1029782 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/daps/daps.changes 2022-02-22 21:17:43.674281121 +0100 +++ /work/SRC/openSUSE:Factory/.daps.new.2275/daps.changes 2022-10-19 13:17:45.525232268 +0200 @@ -1,0 +2,10 @@ +Mon Oct 17 10:57:24 UTC 2022 - David Anes <david.a...@suse.com> + +* Add patch to build against libxslt 1.1.36+: + - In libxslt >=1.1.35, the XSLT processor changed the resolution + strategy. It gets two template rules (xi:include/@href and + xi:include/@*) with the same priority (0.5). That's why we need + to lower the priority to zero for xi:include/@* + - Added patch "daps-fix-build-against-libxslt-1.1.36+.patch" + +------------------------------------------------------------------- New: ---- daps-fix-build-against-libxslt-1.1.36+.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ daps.spec ++++++ --- /var/tmp/diff_new_pack.cBVvCD/_old 2022-10-19 13:17:46.025233304 +0200 +++ /var/tmp/diff_new_pack.cBVvCD/_new 2022-10-19 13:17:46.029233313 +0200 @@ -28,6 +28,9 @@ URL: https://github.com/openSUSE/daps Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.rpmlintrc + +Patch0: daps-fix-build-against-libxslt-1.1.36+.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -119,10 +122,12 @@ + #-------------------------------------------------------------------------- %prep %setup -q -n %{name}-%{version} +%autopatch -p1 # Correct shebang line as suggested in # https://lists.opensuse.org/opensuse-packaging/2018-03/msg00017.html ++++++ daps-fix-build-against-libxslt-1.1.36+.patch ++++++ >From a58f0f58a318f795bdfe763ea8fc5a5d69ec1cfd Mon Sep 17 00:00:00 2001 From: Tom Schraitle <t...@suse.de> Date: Tue, 11 Oct 2022 08:30:47 +0200 Subject: [PATCH] Fix #676: Add priority=0 in xi:include/@* For libxslt >=1.1.35, the default selection strategy has been changed (see GNOME/libxslt@b0074ee). In libxslt >=1.1.35, the XSLT processor changed the resolution strategy. It gets two template rules (xi:include/@href and xi:include/@*) with the same priority (0.5). That's why we need to lower the priority to zero for xi:include/@* --- daps-xslt/profiling/base-profile.xsl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/daps-xslt/profiling/base-profile.xsl b/daps-xslt/profiling/base-profile.xsl index 819224e5f..474489662 100644 --- a/daps-xslt/profiling/base-profile.xsl +++ b/daps-xslt/profiling/base-profile.xsl @@ -218,7 +218,12 @@ </xsl:attribute> </xsl:template> -<!-- Remove any non-XInclude attributes --> -<xsl:template match="xi:include/@*" mode="profile" /> +<!-- Remove any non-XInclude attributes + + Issue #676: add priority="0" to overwrite default priority of 0.5 -> 0 + The recovery strategy has changed in libxslt >=1.1.35 + See https://www.w3.org/TR/1999/REC-xslt-19991116#conflict +--> +<xsl:template match="xi:include/@*" mode="profile" priority="0" /> </xsl:stylesheet>