3
0
forked from pool/build-compare

Accepting request 39824 from home:a_jaeger:branches:build-compare-test

Copy from home:a_jaeger:branches:build-compare-test/build-compare via accept of submit request 39824 revision 7.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/39824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=63
This commit is contained in:
Andreas Jaeger 2010-05-11 17:13:33 +00:00 committed by Git OBS Bridge
parent 11ecc541c9
commit 7174ddb15c
2 changed files with 31 additions and 4 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue May 11 12:51:51 UTC 2010 - aj@suse.de
- Improve kde index.cache handling as suggested by Cristian Morales
Vega in bnc#604049.
-------------------------------------------------------------------
Tue May 11 07:12:09 UTC 2010 - aj@suse.de
- Handle deprecated-list.html generated by javadoc.
- Handle doxygen docu.
- Handle /etc/sendmail.cf as well.
- Improve texi2html regexp to handle qemu.
-------------------------------------------------------------------
Mon May 10 12:27:16 UTC 2010 - aj@suse.de

View File

@ -333,10 +333,10 @@ check_single_file()
done
;;
/usr/share/doc/packages/*/*.html)
# texi2html output, e.g. in kvm, indent
# texi2html output, e.g. in kvm, indent, qemu
for f in old/$file new/$file; do
sed -i -e "s|^<!-- Created on .*, 20.. by texi2html .\...$|<!-- Created on August 7, 2009 by texi2html 1.82|" $f
sed -i -e 's|^ This document was generated by <em>Autobuild</em> on <em>.*, 20..</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html .\...</em></a>.$| This document was generated by <em>Autobuild</em> on <em>August 7, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.|' $f
sed -i -e 's|^ *This document was generated by <em>Autobuild</em> on <em>.*, 20..</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html .\...</em></a>.$| This document was generated by <em>Autobuild</em> on <em>August 7, 2009</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.|' $f
done
;;
/usr/share/javadoc/*/*.html|/usr/share/javadoc/*/*/*.html)
@ -349,6 +349,13 @@ check_single_file()
# Gjdoc HtmlDoclet:
sed -i -e 's%Generated by Gjdoc HtmlDoclet [0-9,.]*, part of <a href="http://www.gnu.org/software/classpath/cp-tools/" title="" target="_top">GNU Classpath Tools</a>, on .*, 20.. [0-9]*:..:.. \(a\|p\)\.m\. GMT.%Generated by Gjdoc.%' $f
sed -i -e 's%<!DOCTYPE html PUBLIC "-//gnu.org///DTD XHTML 1.1 plus Target 1.0//EN"\(.*\)GNU Classpath Tools</a>, on [A-Z][a-z]* [0-9]*, 20?? [0-9]*:??:?? \(a|p\)\.m\. GMT.</p>%<!DOCTYPE html PUBLIC "-//gnu.org///DTD XHTML 1.1 plus Target 1.0//EN"\1GNU Classpath Tools</a>, on January 1, 2009 0:00:00 a.m. GMT.</p>%' $f
# deprecated-list is randomly ordered, sort it for comparison
case $f in
*/deprecated-list.html)
sort $f > ${f}.sort
mv ${f}.sort $f
;;
esac
done
;;
/usr/share/javadoc/*/gjdoc.properties)
@ -356,6 +363,12 @@ check_single_file()
sed -i -e 's|^#[A-Z][a-z]\{2\} [A-Z][a-z]\{2\} [0-9]\{2\} ..:..:.. GMT 20..$|#Fri Jan 01 11:27:36 GMT 2009|' $f
done
;;
/usr/share/doc/packages/*/html/*.html)
# doxygen docu, e.g. in libssh
for f in old/$file new/$file; do
sed -i -e 's|Generated on ... ... [0-9]* [0-9]*:[0-9][0-9]:[0-9][0-9] 20[0-9][0-9] for |Generated on Mon May 10 20:45:00 2010 for |' $f
done
;;
*/fonts.scale|*/fonts.dir|*/encodings.dir)
for f in old/$file new/$file; do
# sort files before comparing
@ -412,7 +425,7 @@ check_single_file()
sed -i -e 's|^# Libtool was configured on host [a-z0-9]*:$|Libtool was configured on host x42:|' $f
done
;;
/etc/mail/*cf)
/etc/mail/*cf|/etc/sendmail.cf)
# from sendmail package
for f in old/$file new/$file; do
# - ##### built by abuild@build33 on Thu May 6 11:21:17 UTC 2010
@ -423,7 +436,7 @@ check_single_file()
# various kde packages
for f in old/$file new/$file; do
sed -i -e 's|<a name="id[0-9]*">|<a name="id424242">|g' $f
sed -i -e 's|<a href="\(.*\)\.html#id[0-9]*">|<a href="\1#id424242">|g' $f
sed -i -e 's|\.html#id[0-9]*">|.html#id424242">|g' $f
done
;;