From c2901887b4fde76ab865ad2a68ae17d2d3461b8def70d7cf58e64fa40214193b Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 4 Feb 2015 18:08:42 +0000 Subject: [PATCH] - Remove more javadoc references (bnc#916161) OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=167 --- build-compare.changes | 5 +++++ rpm-check.sh | 18 +++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/build-compare.changes b/build-compare.changes index e375ad8..8ae358d 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 4 17:57:27 UTC 2015 - olaf@aepfle.de + +- Remove more javadoc references (bnc#916161) + ------------------------------------------------------------------- Wed Feb 4 15:53:05 UTC 2015 - olaf@aepfle.de diff --git a/rpm-check.sh b/rpm-check.sh index 9c6cf93..8942197 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -427,7 +427,22 @@ check_single_file() # There are more timestamps in html, so far we handle only some primitive versions. for f in old/$file new/$file; do # Javadoc: - sed -i -e "s,^,^," $f + # + # + # + sed -i -e ' + /^/{ + : next + n + /^<\/head>/{ + b end_head + } + s/^\(\)/\1 some-date-removed-by-build-compare \5/ + s/^// + b next + } + : end_head + ' $f sed -i -e 's|^$||' $f sed -i -e 's|||' $f # Gjdoc HtmlDoclet: @@ -718,3 +733,4 @@ if test "$ret" = 0; then echo "RPM content is identical" fi exit $ret +# vim: tw=666 ts=2 et