diff --git a/build-compare.changes b/build-compare.changes index d09a72a..79001a0 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 31 09:09:09 UTC 2020 - olaf@aepfle.de + +- gtk-doc: filter version info from html files + ------------------------------------------------------------------- Fri Jan 10 19:16:29 UTC 2020 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index 014f92e..7127249 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20200115T165709.b82e1e5 +Version: 20200331T115051.28bf642 Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 7231c45..789e888 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -438,6 +438,20 @@ normalize_file() /usr/share/gtk-doc/html/*/*.devhelp2) # various kde and gtk packages strip_numbered_anchors + for f in old/$file new/$file; do + sed -i -e ' + /^/{ + : next + n + /^<\/head>/{ + b end_head + } + s/^// + b next + } + : end_head + ' $f + done ;; /usr/share/doc/packages/*/*.html|\ /usr/share/doc/packages/*/*/*.html|\