diff --git a/build-compare.changes b/build-compare.changes index ee347af..393d880 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 22 13:24:19 UTC 2010 - coolo@novell.com + +- ignore texlive's fmt files as discussed with werner + ------------------------------------------------------------------- Mon Sep 20 19:24:10 UTC 2010 - aj@suse.de diff --git a/build-compare.spec b/build-compare.spec index fb102a3..26f018c 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -24,7 +24,7 @@ Group: Development/Tools/Building AutoReqProv: on Summary: Build Result Compare Script Version: 2009.10.14 -Release: 22 +Release: 23 Source1: COPYING Source2: same-build-result.sh Source3: rpm-check.sh diff --git a/rpm-check.sh b/rpm-check.sh index 52bb489..c83ae04 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -279,8 +279,7 @@ check_single_file() # deprecated-list is randomly ordered, sort it for comparison case $f in */deprecated-list.html) - sort $f > ${f}.sort - mv ${f}.sort $f + sort -o $f $f ;; esac done @@ -294,8 +293,7 @@ check_single_file() */fonts.scale|*/fonts.dir|*/encodings.dir) for f in old/$file new/$file; do # sort files before comparing - sort $f > $f.tmp - mv $f.tmp $f + sort -o $f $f done ;; /var/adm/perl-modules/*) @@ -335,20 +333,9 @@ check_single_file() done ;; /var/lib/texmf/web2c/*/*fmt) - # same of these are gzip compressed - for f in old/$file new/$file; do - fftype=`/usr/bin/file $f | cut -d: -f2-` - case $fftype in - *gzip\ compressed\ data*) - gunzip -cd $f > $f.tmp - mv $f.tmp $f - ;; - *) - ;; - esac - # date is of variable length, e.g. 2009.7.21 - sed -i -e 's|(format=[a-z]*tex 20..\.[0-9]*\.[0-9]*)|(format=luatex 2009.1.1)|' $f - done + # binary dump of latex formats, we can ignore them for good + echo "difference in $file ignored." + return 0 ;; */libtool) for f in old/$file new/$file; do