- Remove asciidoc version from generated files with asciidoc.version.patch The version causes unneeded republish of pkgs that make use of asciidoc OBS-URL: https://build.opensuse.org/request/show/531118 OBS-URL: https://build.opensuse.org/package/show/Publishing/asciidoc?expand=0&rev=24
48 lines
2.0 KiB
Diff
48 lines
2.0 KiB
Diff
Avoid version number in generated files.
|
|
Output will be identical between versions.
|
|
In case the output changes, build-compare will catch it.
|
|
--- a/html4.conf
|
|
+++ b/html4.conf
|
|
@@ -460,7 +460,7 @@ endif::[]
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset={encoding}">
|
|
-<meta name="generator" content="AsciiDoc {asciidoc-version}">
|
|
+<meta name="generator" content="AsciiDoc">
|
|
<meta name="description" content="{description}">
|
|
<meta name="keywords" content="{keywords}">
|
|
<title>{title}</title>
|
|
--- a/html5.conf
|
|
+++ b/html5.conf
|
|
@@ -539,7 +539,7 @@ bodydata=<td class="tableblock halign-{c
|
|
<html lang="{lang=en}">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset={encoding}">
|
|
-<meta name="generator" content="AsciiDoc {asciidoc-version}">
|
|
+<meta name="generator" content="AsciiDoc">
|
|
<meta name="description" content="{description}">
|
|
<meta name="keywords" content="{keywords}">
|
|
<title>{title}</title>
|
|
--- a/slidy.conf
|
|
+++ b/slidy.conf
|
|
@@ -68,7 +68,7 @@ text=<p>|</p>
|
|
<meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
|
|
ifndef::copyright[<meta name="copyright" content="Copyright © {author}" />]
|
|
<meta name="copyright" content="Copyright © {copyright}" />
|
|
-<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
|
+<meta name="generator" content="AsciiDoc" />
|
|
<meta name="duration" content="{duration}" />
|
|
ifdef::linkcss[]
|
|
<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
|
|
--- a/xhtml11.conf
|
|
+++ b/xhtml11.conf
|
|
@@ -531,7 +531,7 @@ cellspacing="0" cellpadding="4">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang=en}">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
|
|
-<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
|
+<meta name="generator" content="AsciiDoc" />
|
|
<meta name="description" content="{description}" />
|
|
<meta name="keywords" content="{keywords}" />
|
|
<title>{title}</title>
|