diff --git a/build-compare.changes b/build-compare.changes index 8f85f3e..6b0d74e 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -3,11 +3,6 @@ Fri Mar 5 09:46:01 UTC 2010 - aj@suse.de - Handle more man files. -------------------------------------------------------------------- -Fri Dec 25 09:03:44 UTC 2009 - aj@suse.de - -- Handle Mono files. - ------------------------------------------------------------------- Sun Dec 13 12:59:16 UTC 2009 - aj@suse.de diff --git a/rpm-check.sh b/rpm-check.sh index 502db46..f380c3f 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -238,14 +238,14 @@ check_single_file() sed -i -e "s,Release:.*$release1,Release: @RELEASE@," old/$file sed -i -e "s,Release:.*$release2,Release: @RELEASE@," new/$file ;; -# *.dll|*.exe) -# # we can't handle it well enough -# if ! cmp -s old/$file new/$file; then -# echo "mono $file differs" -# return 1 -# fi -# return 0 -# ;; + *.dll|*.exe) + # we can't handle it well enough + if ! cmp -s old/$file new/$file; then + echo "mono $file differs" + return 1 + fi + return 0 + ;; *.a) echo "$file is .a" flist=`ar t new/$file` @@ -415,21 +415,6 @@ check_single_file() ftype=`/usr/bin/file old/$file | cut -d: -f2-` case $ftype in - (*PE32\ executable\ for\ MS\ Windows\ *\ Mono/.Net\ assembly*) - echo "PE32 Mono/.Net assembly: $file" - if [ -x /usr/bin/monodis ] ; then - monodis --output=${file1} old/$file - monodis --output=${file2} new/$file - if ! cmp -s ${file1} ${file2}; then - echo "$file differs ($ftype)" - diff -u ${file1} ${file2} - return 1 - fi - else - echo "cannot compare, no monodis installed" - return 1 - fi - ;; *executable*|*LSB\ shared\ object*) objdump -d --no-show-raw-insn old/$file | filter_disasm > $file1 if ! test -s $file1; then