diff --git a/asciidoc.changes b/asciidoc.changes index 069aeae..7d65d81 100644 --- a/asciidoc.changes +++ b/asciidoc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 4 09:21:58 UTC 2017 - olaf@aepfle.de + +- Remove asciidoc version from generated files with asciidoc.version.patch + The version causes unneeded republish of pkgs that make use + of asciidoc + ------------------------------------------------------------------- Sun Oct 1 13:41:40 UTC 2017 - aavindraa@gmail.com diff --git a/asciidoc.spec b/asciidoc.spec index 0574eec..8c9b43e 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -24,6 +24,7 @@ License: GPL-2.0+ Group: Development/Tools/Doc Generators Url: http://asciidoc.org Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: asciidoc.version.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: docbook-xsl-stylesheets @@ -51,6 +52,7 @@ This package contains examples and documents of asciidoc. %prep %setup -q +%patch0 -p1 %build autoreconf -fi diff --git a/asciidoc.version.patch b/asciidoc.version.patch new file mode 100644 index 0000000..5c464c1 --- /dev/null +++ b/asciidoc.version.patch @@ -0,0 +1,47 @@ +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::[] + + + +- ++ + + + {title} +--- a/html5.conf ++++ b/html5.conf +@@ -539,7 +539,7 @@ bodydata= + + +- ++ + + + {title} +--- a/slidy.conf ++++ b/slidy.conf +@@ -68,7 +68,7 @@ text=

|

+ + ifndef::copyright[] + +- ++ + + ifdef::linkcss[] + +--- a/xhtml11.conf ++++ b/xhtml11.conf +@@ -531,7 +531,7 @@ cellspacing="0" cellpadding="4"> + + + +- ++ + + + {title}