Hello community, here is the log from the commit of package build-compare for openSUSE:Factory checked in at 2014-08-21 17:24:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/build-compare (Old) and /work/SRC/openSUSE:Factory/.build-compare.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "build-compare" Changes: -------- --- /work/SRC/openSUSE:Factory/build-compare/build-compare.changes 2014-07-25 09:08:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.build-compare.new/build-compare.changes 2014-08-21 17:24:51.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jul 29 15:07:04 UTC 2014 - johannesoberm...@gmx.de + +- Remove numbered anchors from all Docbook / HTML files (bnc#889629). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpm-check.sh ++++++ --- /var/tmp/diff_new_pack.9UCIgI/_old 2014-08-21 17:24:52.000000000 +0200 +++ /var/tmp/diff_new_pack.9UCIgI/_new 2014-08-21 17:24:52.000000000 +0200 @@ -136,8 +136,22 @@ return 0 } + +strip_numbered_anchors() +{ + # Remove numbered anchors on Docbook / HTML files. + # This should be save since we remove them from old and new files. + # A trailing </a> or </div> tag will stay also on both files. + for f in old/$file new/$file; do + sed -i -e 's%<[ ]*a[ ]\+name[^<]*[0-9]\+[^<]*%%g' \ + -e 's%<[ ]*a[ ]\+href[^<]*#[^<]*[0-9]\+[^<]*%%g' \ + -e 's%<[^<]*id="ftn\.[^<]*[0-9]\+[^<]*%%g' $f + done +} + + check_single_file() -{ +{ local file="$1" case $file in *.spec) @@ -267,9 +281,11 @@ # Generated on Sat Aug 14 2010 16:49:48 for libssh sed -i -e 's|Generated on ... ... [0-9]* 20[0-9][0-9] [0-9]*:[0-9][0-9]:[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |' $f done + strip_numbered_anchors ;; /usr/share/javadoc/*.html |\ /usr/share/javadoc/*/*.html|/usr/share/javadoc/*/*/*.html) + strip_numbered_anchors # There are more timestamps in html, so far we handle only some primitive versions. for f in old/$file new/$file; do # Javadoc: @@ -283,7 +299,7 @@ # deprecated-list is randomly ordered, sort it for comparison case $f in */deprecated-list.html) - sort -o $f $f + sort -o $f $f ;; esac done @@ -369,13 +385,7 @@ /usr/share/doc/kde/HTML/*/*/index.cache|/usr/share/doc/kde/HTML/*/*/*/index.cache|\ /usr/share/gtk-doc/html/*/*.html|/usr/share/gtk-doc/html/*/*.devhelp2) # various kde and gtk packages - for f in old/$file new/$file; do - sed -i -e 's%name="id[0-9]*"\([> ]\)%name="id424242"\1%g' $f - sed -i -e 's%name="[a-z]*\.id[0-9]*"%name="ftn.id111111"%g' $f - sed -i -e 's%\.html#id[0-9]*"\(/\)\?>%.html#id424242"\1>%g' $f - sed -i -e 's%href="#\([a-z]*\.\)\?id[0-9]*"\([> ]\)%href="#\1id0000000"\2%g' $f - sed -i -e 's%id="\([a-z]*\.\)\?id[0-9]*"\([> ]\)%id="\1id0000000"\2%g' $f - done + strip_numbered_anchors ;; */created.rid) # ruby documentation @@ -389,6 +399,7 @@ for f in old/$file new/$file; do sed -i -e 's%<td>[A-Z][a-z][a-z] [A-Z][a-z][a-z] [0-9]\+ [0-9]\+:[0-9]\+:[0-9]\+ +0000 201[0-9]</td>%<td>Mon Sep 20 19:02:43 +0000 2010</td>%g' $f done + strip_numbered_anchors ;; */Linux*Env.Set.sh) # LibreOffice files, contains: -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org