From 989da4c3e3d3bc926fa1788d7b84648c35a052c270db853810af3534dcda6b69 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 22 Sep 2010 13:34:16 +0000 Subject: [PATCH] Accepting request 48800 from home:coolo:branches:openSUSE:Factory Thanks, looks fine. OBS-URL: https://build.opensuse.org/request/show/48800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=83 --- build-compare.changes | 5 +++++ rpm-check.sh | 23 +++++------------------ 2 files changed, 10 insertions(+), 18 deletions(-) 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/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