From d9327c64876286b7bc5de2147c06d2659d02c8d90f9b816ad0b50118d78d36ce Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 5 Feb 2015 08:33:57 +0000 Subject: [PATCH] One more javadoc variant, remove old sed commands for javadoc OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=168 --- rpm-check.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rpm-check.sh b/rpm-check.sh index 8942197..820b8e9 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -429,6 +429,8 @@ check_single_file() # Javadoc: # # + # + # # sed -i -e ' /^/{ @@ -438,13 +440,14 @@ check_single_file() b end_head } s/^\(\)/\1 some-date-removed-by-build-compare \5/ + t next + s/^\(\)/\1 some-date-removed-by-build-compare \3/ + t next s/^// b next } : end_head ' $f - sed -i -e 's|^$||' $f - sed -i -e 's|||' $f # Gjdoc HtmlDoclet: sed -i -e 's%Generated by Gjdoc HtmlDoclet [0-9,.]*, part of GNU Classpath Tools, on .*, 20.. [0-9]*:..:.. \(a\|p\)\.m\. GMT.%Generated by Gjdoc.%' $f sed -i -e 's%, on [A-Z][a-z]* [0-9]*, 20?? [0-9]*:??:?? \(a|p\)\.m\. GMT.

%, on January 1, 2009 0:00:00 a.m. GMT.

%' $f