From 9cc4aa0d64396fcfc6ad1e6692f1291645e8be1e6f8e0a65676baaa487599863 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 5 Apr 2012 08:31:42 +0000 Subject: [PATCH] Accepting request 112577 from home:RedDwarf:branches:openSUSE:Tools - Handle gtk-doc documentation OBS-URL: https://build.opensuse.org/request/show/112577 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=129 --- build-compare.changes | 5 +++++ rpm-check.sh | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index d112cd2..7986ebd 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 4 18:25:48 UTC 2012 - reddwarf@opensuse.org + +- Handle gtk-doc documentation + ------------------------------------------------------------------- Thu Mar 8 21:44:36 UTC 2012 - reddwarf@opensuse.org diff --git a/rpm-check.sh b/rpm-check.sh index c33d597..0fc7dca 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -366,12 +366,13 @@ check_single_file() sed -i -e 's|built by abuild@[a-z0-9]* on ... ... [0-9]* [0-9]*:[0-9][0-9]:[0-9][0-9] .* 20[0-9][0-9]|built by abuild@build42 on Thu May 6 11:21:17 UTC 2010|' $f done ;; - /usr/share/doc/kde/HTML/*/*/index.cache|/usr/share/doc/kde/HTML/*/*/*/index.cache) - # various kde packages + /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">%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