Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-xsl-stylesheets for 
openSUSE:Factory checked in at 2026-07-23 23:09:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
 and      /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-xsl-stylesheets"

Thu Jul 23 23:09:14 2026 rev:114 rq:1367092 version:2.95.40

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes    
    2026-07-20 09:59:42.032857992 +0200
+++ 
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.2004/suse-xsl-stylesheets.changes
      2026-07-23 23:10:05.311751905 +0200
@@ -1,0 +2,7 @@
+Wed Jul 22 08:27:27 UTC 2026 - Thomas Schraitle <[email protected]> - 
2.95.40
+
+- Update 2.95.40
+  * HTML: Check generate.revhistory for d:revhistory in #817
+  * Improve formatting of JSON-LD in #803
+
+-------------------------------------------------------------------

Old:
----
  suse-xsl-2.95.39.tar.bz2

New:
----
  suse-xsl-2.95.40.tar.bz2

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

Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.XcF6i8/_old  2026-07-23 23:10:06.319787301 +0200
+++ /var/tmp/diff_new_pack.XcF6i8/_new  2026-07-23 23:10:06.323787441 +0200
@@ -22,7 +22,7 @@
 %define suse_styles_dir   %{db_xml_dir}/stylesheet
 #
 Name:           suse-xsl-stylesheets
-Version:        2.95.39
+Version:        2.95.40
 Release:        0
 Summary:        SUSE-Branded Stylesheets for DocBook
 License:        GPL-2.0-only OR GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.XcF6i8/_old  2026-07-23 23:10:06.435791374 +0200
+++ /var/tmp/diff_new_pack.XcF6i8/_new  2026-07-23 23:10:06.459792217 +0200
@@ -1,11 +1,11 @@
 <!-- osc service runall -->
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="versionformat">2.95.39</param>
+    <param name="versionformat">2.95.40</param>
     <param name="versionprefix"></param>
     <param name="url">https://github.com/openSUSE/suse-xsl.git</param>
     <param name="scm">git</param>
-    <param name="revision">2.95.39</param>
+    <param name="revision">2.95.40</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">*.tar</param>

++++++ suse-xsl-2.95.39.tar.bz2 -> suse-xsl-2.95.40.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.39/.versionrc 
new/suse-xsl-2.95.40/.versionrc
--- old/suse-xsl-2.95.39/.versionrc     2026-07-17 08:26:31.000000000 +0200
+++ new/suse-xsl-2.95.40/.versionrc     2026-07-22 10:23:51.000000000 +0200
@@ -1,4 +1,4 @@
-version: 2.95.39
+version: 2.95.40
 files: Makefile README.adoc
 changesfile: ChangeLog
 format: (0|[1-9][0-9]*)\.(0|[1-9][0-9]{0,1})\.(0|[1-9][0-9]{0,1})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.39/ChangeLog 
new/suse-xsl-2.95.40/ChangeLog
--- old/suse-xsl-2.95.39/ChangeLog      2026-07-17 08:26:31.000000000 +0200
+++ new/suse-xsl-2.95.40/ChangeLog      2026-07-22 10:23:51.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed Jul 22 08:23:03 UTC 2026 - [email protected]
+
+Update to 2.39.40
+* HTML: Check generate.revhistory for d:revhistory (#817)
+* Improve formatting of JSON-LD (#803)
+
+-------------------------------------------------------------------
 Fri Jul 17 06:24:26 UTC 2026 - [email protected]
 
 Upate to 2.95.39
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.39/Makefile 
new/suse-xsl-2.95.40/Makefile
--- old/suse-xsl-2.95.39/Makefile       2026-07-17 08:26:31.000000000 +0200
+++ new/suse-xsl-2.95.40/Makefile       2026-07-22 10:23:51.000000000 +0200
@@ -11,7 +11,7 @@
 
 SHELL         := /bin/bash
 PACKAGE       := suse-xsl-stylesheets
-VERSION       := 2.95.39
+VERSION       := 2.95.40
 CDIR          := $(shell pwd)
 SUSE_XML_PATH := $(PREFIX)/xml/suse
 DB_XML_PATH   := $(PREFIX)/xml/docbook
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.39/suse2022-ns/xhtml/json-ld.xsl 
new/suse-xsl-2.95.40/suse2022-ns/xhtml/json-ld.xsl
--- old/suse-xsl-2.95.39/suse2022-ns/xhtml/json-ld.xsl  2026-07-17 
08:26:31.000000000 +0200
+++ new/suse-xsl-2.95.40/suse2022-ns/xhtml/json-ld.xsl  2026-07-22 
10:23:51.000000000 +0200
@@ -548,7 +548,8 @@
     </xsl:variable>
     <xsl:variable name="headline" 
select="normalize-space($candidate-headline)"/>
 
-    "headline": "<xsl:value-of select="translate($headline, '&quot;', '')"/>",
+    <xsl:text>    "headline": </xsl:text>
+    <xsl:value-of select="concat('&quot;', translate($headline, '&quot;&#10;', 
''), '&quot;,&#10;')"/>
   </xsl:template>
 
   <xsl:template name="json-ld-name">
@@ -588,12 +589,14 @@
       <xsl:value-of select="$candidate-headline"/>
       <xsl:if test="$productname">
         <xsl:value-of select="concat($json-ld-name-sep,
-          normalize-space($productname), ' ', $productname/@version)"/>
+                                     normalize-space($productname),
+                                     ' ',
+                                     $productname/@version)"/>
       </xsl:if>
     </xsl:variable>
     <xsl:text>"name": "</xsl:text>
     <xsl:value-of select="normalize-space($_name)"/>
-    <xsl:text>",</xsl:text>
+    <xsl:text>",&#10;</xsl:text>
   </xsl:template>
 
   <xsl:template name="json-ld-alternativeheadline">
@@ -611,8 +614,8 @@
     <xsl:variable name="subtitle" 
select="normalize-space($candidate-headline)"/>
 
     <xsl:if test="$subtitle != ''">
-      <xsl:text>  "alternativeHeadline": </xsl:text>
-      <xsl:value-of select="concat('&quot;', $subtitle, '&quot;,')"/>
+      <xsl:text>    "alternativeHeadline": </xsl:text>
+      <xsl:value-of select="concat('&quot;', $subtitle, '&quot;,&#10;')"/>
     </xsl:if>
   </xsl:template>
 
@@ -633,7 +636,8 @@
       </xsl:choose>
     </xsl:variable>
     <xsl:if test="$lang != ''">
-    "inLanguage": "<xsl:value-of select="$lang"/>",
+      <xsl:text>    "inLanguage": </xsl:text>
+      <xsl:value-of select="concat('&quot;', $lang, '&quot;,&#10;')"/>
     </xsl:if>
   </xsl:template>
 
@@ -671,14 +675,15 @@
     </xsl:variable>
 
       <xsl:if test="$description != ''">
-    "description": "<xsl:value-of select="translate($description, '&quot;', 
'')"/>",
+        <xsl:text>    "description": </xsl:text>
+        <xsl:value-of select="concat('&quot;', translate($description, 
'&quot;\', ''), '&quot;,&#10;')"/>
       </xsl:if>
   </xsl:template>
 
   <xsl:template name="json-ld-keywords">
     <xsl:param name="node" select="."/>
     <xsl:variable name="keywords" 
select="$node/d:info/d:keywordset/d:keyword"/>
-    <xsl:variable name="meta_keywords" 
select="$node/d:info/meta[@name='keyword']"/>
+    <xsl:variable name="meta_keywords" 
select="$node/d:info/d:meta[@name='keyword']"/>
 
     <xsl:choose>
       <xsl:when test="($meta_keywords | $keywords)">
@@ -762,23 +767,24 @@
     <xsl:choose>
       <!-- If we don't find any authors, create a default one -->
       <xsl:when test="$type = 'author' and count($rtf-authors/*) = 0">
-    "author": [
-      {
-        "@type": "<xsl:value-of select="$json-ld-fallback-author-type"/>",
-        "name": "<xsl:value-of select="$json-ld-fallback-author-name"/>",
-        "url": "<xsl:value-of select="$json-ld-fallback-author-url"/>"
-      }
-    ],
+        <xsl:text>    "author": [&#10;</xsl:text>
+        <xsl:text>      {&#10;</xsl:text>
+        <xsl:text>        "@type": </xsl:text><xsl:value-of 
select="concat('&quot;', $json-ld-fallback-author-type, '&quot;,&#10;')"/>
+        <xsl:text>        "name": </xsl:text><xsl:value-of 
select="concat('&quot;', $json-ld-fallback-author-name, '&quot;,&#10;')"/>
+        <xsl:text>        "url": </xsl:text><xsl:value-of 
select="concat('&quot;', $json-ld-fallback-author-url, '&quot;&#10;')"/>
+        <xsl:text>      }&#10;</xsl:text>
+        <xsl:text>    ],&#10;</xsl:text>
       </xsl:when>
       <xsl:when test="count($rtf-authors/*) > 0">
-    "<xsl:value-of select="$type"/>": [
+        <xsl:text>    </xsl:text>
+        <xsl:value-of select="concat('&quot;', $type, '&quot;: [&#10;')"/>
       <xsl:for-each select="$rtf-authors/*">
         <xsl:variable name="person">
           <xsl:choose>
             <xsl:when test="d:personname">
               <xsl:call-template name="person.name">
-            <xsl:with-param name="node" select="."/>
-          </xsl:call-template>
+                <xsl:with-param name="node" select="."/>
+              </xsl:call-template>
             </xsl:when>
             <xsl:when test="d:orgname">
               <xsl:value-of select="d:orgname"/>
@@ -792,21 +798,31 @@
           </xsl:choose>
         </xsl:variable>
         <xsl:variable name="uri" select="normalize-space(d:uri)"/>
-        {
-        "@type": "<xsl:value-of select="$json-type"/>",
-        "name": "<xsl:value-of select="$person"/>"<xsl:if test="$uri">,
-        "url": "<xsl:value-of select="normalize-space(d:uri)"/>"
+        <xsl:text>      {&#10;</xsl:text>
+        <xsl:text>        "@type": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $json-type, '&quot;,&#10;')"/>
+        <xsl:text>        "name": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $person, '&quot;')"/>
+        <xsl:if test="$uri">
+          <xsl:text>,&#10;</xsl:text>
+          <xsl:text>        "url": </xsl:text>
+          <xsl:value-of select="concat('&quot;', normalize-space(d:uri), 
'&quot;')"/>
         </xsl:if>
-        <xsl:if test="not(d:orgname) and ./d:affiliation/d:orgname">,
-          "affiliation": {
-          "@type": "Corporation",
-          "name": "<xsl:value-of select="./d:affiliation/d:orgname"/>"
-          }
+        <xsl:if test="not(d:orgname) and ./d:affiliation/d:orgname">
+          <xsl:text>,&#10;</xsl:text>
+          <xsl:text>        "affiliation": {&#10;</xsl:text>
+          <xsl:text>          "@type": "Corporation",&#10;</xsl:text>
+          <xsl:text>          "name": </xsl:text>
+          <xsl:value-of select="concat('&quot;', ./d:affiliation/d:orgname, 
'&quot;&#10;')"/>
+          <xsl:text>        }&#10;</xsl:text>
         </xsl:if>
         <!--, "role": "Writer"-->
-        }<xsl:if test="position() != last()">,&#10;      </xsl:if>
+        <xsl:text>      }</xsl:text>
+        <xsl:if test="position() != last()">
+          <xsl:text>,&#10;</xsl:text>
+        </xsl:if>
       </xsl:for-each>
-    ],
+      <xsl:text>&#10;    ],&#10;</xsl:text>
       </xsl:when>
       <!-- Do we need an xsl:otherwise? -->
     </xsl:choose>
@@ -967,8 +983,8 @@
 
     <xsl:choose>
       <xsl:when test="$date-created != ''">
-        <xsl:text>&#10;    "dateCreated": </xsl:text>
-        <xsl:value-of select="concat('&quot;', $date-created, '&quot;,')"/>
+        <xsl:text>    "dateCreated": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $date-created, 
'&quot;,&#10;')"/>
       </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="log.message">
@@ -982,8 +998,8 @@
     </xsl:choose>
     <xsl:choose>
       <xsl:when test="$date-modified != ''">
-        <xsl:text>&#10;    "dateModified": </xsl:text>
-        <xsl:value-of select="concat('&quot;', $date-modified, '&quot;,')"/>
+        <xsl:text>    "dateModified": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $date-modified, 
'&quot;,&#10;')"/>
       </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="log.message">
@@ -997,8 +1013,8 @@
     </xsl:choose>
     <xsl:choose>
       <xsl:when test="$date-published != ''">
-        <xsl:text>&#10;    "datePublished": </xsl:text>
-        <xsl:value-of select="concat('&quot;', $date-published, '&quot;,')"/>
+        <xsl:text>    "datePublished": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $date-published, 
'&quot;,&#10;')"/>
       </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="log.message">
@@ -1012,8 +1028,7 @@
     </xsl:choose>
   </xsl:template>
 
-  <xsl:template name="json-ld-publisher">
-    "sameAs": [
+  <xsl:template name="json-ld-publisher">    "sameAs": [
           "https://www.facebook.com/SUSEWorldwide/about";,
           "https://www.youtube.com/channel/UCHTfqIzPKz4f_dri36lAQGA";,
           "https://twitter.com/SUSE";,
@@ -1068,21 +1083,21 @@
     <xsl:variable name="meta-series" 
select="$node/d:info/d:meta[@name='series'][1]"/>
     <xsl:variable name="candidate-series">
       <xsl:choose>
-        <xsl:when test="$json-ld-seriesname != ''">
-          <xsl:value-of select="$json-ld-seriesname"/>
-        </xsl:when>
         <xsl:when test="$meta-series">
           <xsl:value-of select="$meta-series"/>
         </xsl:when>
+        <xsl:when test="$json-ld-seriesname != ''">
+          <xsl:value-of select="$json-ld-seriesname"/>
+        </xsl:when>
         <xsl:otherwise/>
       </xsl:choose>
     </xsl:variable>
 
-    <xsl:if test="$candidate-series != ''">
-     "isPartOf": {
-      "@type": "CreativeWorkSeries",
-      "name": "<xsl:value-of select="normalize-space($candidate-series)"/>"
-    },
+    <xsl:if test="count($candidate-series) > 0">
+      <xsl:text>    "isPartOf": {&#10;</xsl:text>
+      <xsl:text>      "@type": "CreativeWorkSeries",&#10;</xsl:text>
+      <xsl:text>      "name": </xsl:text><xsl:value-of 
select="concat('&quot;', normalize-space($candidate-series), '&quot;&#10;')"/>
+      <xsl:text>    },&#10;</xsl:text>
     </xsl:if>
   </xsl:template>
 
@@ -1124,9 +1139,9 @@
       https://www.suse.com/releasenotes/x86_64/<PRODUCT>/<RELEASE>/
     -->
     <xsl:if test="$productid = 'sles' or $productid = 'sled'">
-    "releaseNotes": "<xsl:value-of
-      select="concat('https://www.suse.com/releasenotes/x86_64/',
-                     $productid, '/', $release, '/')"/>",
+      <xsl:text>    "releaseNotes": </xsl:text>
+      <xsl:value-of  
select="concat('&quot;https://www.suse.com/releasenotes/x86_64/',
+                     $productid, '/', $release, '/&quot;,&#10;')"/>
     </xsl:if>
   </xsl:template>
 
@@ -1143,26 +1158,28 @@
       </xsl:call-template>
     </xsl:variable>
 
-    "about": [
-      <xsl:value-of select="$tasks"/>
-      <xsl:if test="normalize-space($webpages) != ''">
-          <xsl:if test="normalize-space($tasks) != ''">
-            <xsl:text>,&#10;</xsl:text>
-          </xsl:if>
-        <xsl:value-of select="$webpages"/>
+    <xsl:text>    "about": [&#10;</xsl:text>
+    <xsl:value-of select="$tasks"/>
+    <xsl:if test="normalize-space($webpages) != ''">
+      <xsl:if test="normalize-space($tasks) != ''">
+        <xsl:text>,&#10;</xsl:text>
       </xsl:if>
-    ],
+      <xsl:value-of select="$webpages"/>
+    </xsl:if>
+    <xsl:text>&#10;    ],&#10;</xsl:text>
   </xsl:template>
 
   <xsl:template name="json-ld-task">
     <xsl:param name="node" select="."/>
     <xsl:variable name="tasks" 
select="$node/d:info/d:meta[@name='task']/d:phrase"/>
     <xsl:if test="count($tasks) > 0">
-      <xsl:for-each select="$tasks">{
-        "@type": "Thing",
-        "name": "<xsl:value-of select="normalize-space(.)"/>"
-      }<xsl:if test="position() &lt; last()">
-        <xsl:text>,&#10;      </xsl:text>
+      <xsl:for-each select="$tasks">
+        <xsl:text>      {&#10;</xsl:text>
+        <xsl:text>        "@type": "Thing",&#10;</xsl:text>
+        <xsl:text>        "name": </xsl:text><xsl:value-of 
select="concat('&quot;', normalize-space(.), '&quot;&#10;')"/>
+        <xsl:text>      }</xsl:text>
+        <xsl:if test="position() &lt; last()">
+        <xsl:text>,&#10;</xsl:text>
       </xsl:if>
       </xsl:for-each>
     </xsl:if>
@@ -1197,7 +1214,7 @@
     </xsl:message>-->
 
     <xsl:if test="$productname">
-      <xsl:text>  "mentions": [&#10;</xsl:text>
+      <xsl:text>    "mentions": [&#10;</xsl:text>
       <xsl:for-each select="$productname">
         <xsl:text>      { "@type": "SoftwareApplication",&#10;        "name": 
"</xsl:text>
         <xsl:value-of select="normalize-space(current()/.)"/>
@@ -1209,15 +1226,15 @@
         </xsl:if>
         <xsl:text>&#10;        "applicationCategory": "Operating System",&#10; 
       "operatingSystem": "Linux"</xsl:text>
         <xsl:if test="normalize-space($candidate-arch) != ''">
-          <xsl:text>,&#10;        "processorRequirements": "</xsl:text>
-          <xsl:value-of select="$candidate-arch"/><xsl:text>"</xsl:text>
+          <xsl:text>,&#10;        "processorRequirements": </xsl:text>
+          <xsl:value-of select="concat('&quot;', $candidate-arch, '&quot;')"/>
         </xsl:if>
         <xsl:text>&#10;      }</xsl:text>
         <xsl:if test="position() != last()">
           <xsl:text>,&#10;</xsl:text>
         </xsl:if>
       </xsl:for-each>
-    ],
+      <xsl:text>&#10;    ],&#10;</xsl:text>
     </xsl:if>
   </xsl:template>
 
@@ -1309,11 +1326,16 @@
             <xsl:when test=". = 'pdf'">application/pdf</xsl:when>
           </xsl:choose>
         </xsl:variable>
-        {
-          "@type": "WebPage",
-          "url": "<xsl:value-of select="$url"/>"<xsl:if test="$encodingformat 
!= ''">,
-          "encodingFormat": "<xsl:value-of select="$encodingformat"/>"</xsl:if>
-        }<xsl:if test="position() != last()">, </xsl:if>
+        <xsl:text>        {&#10;</xsl:text>
+        <xsl:text>          "@type": "WebPage",</xsl:text>
+        <xsl:text>          "url": </xsl:text><xsl:value-of 
select="concat('&quot;', $url, '&quot;')"/>
+        <xsl:if test="$encodingformat != ''">
+          <xsl:text>,</xsl:text>
+          <xsl:text>          "encodingFormat": </xsl:text>
+          <xsl:value-of select="concat('&quot;', $encodingformat, '&quot;')"/>
+        </xsl:if>
+        <xsl:text>&#10;        }</xsl:text>
+        <xsl:if test="position() != last()">, </xsl:if>
       </xsl:for-each>
   </xsl:template>
 </xsl:stylesheet>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.39/suse2022-ns/xhtml/titlepage.xsl 
new/suse-xsl-2.95.40/suse2022-ns/xhtml/titlepage.xsl
--- old/suse-xsl-2.95.39/suse2022-ns/xhtml/titlepage.xsl        2026-07-17 
08:26:31.000000000 +0200
+++ new/suse-xsl-2.95.40/suse2022-ns/xhtml/titlepage.xsl        2026-07-22 
10:23:51.000000000 +0200
@@ -68,6 +68,7 @@
 <!-- ============================================================== -->
 <!-- revhistory handling -->
 <xsl:template match="d:revhistory" mode="titlepage.mode">
+  <xsl:if test="number($generate.revhistory) != 0">
     <xsl:variable name="revhistory.text">
       <xsl:call-template name="gentext">
         <xsl:with-param name="key" select="'RevHistory'" />
@@ -186,6 +187,7 @@
         <xsl:copy-of select="$contents" />
       </xsl:otherwise>
     </xsl:choose>
+  </xsl:if>
 </xsl:template>
 
 

Reply via email to