diff --git a/build-compare.changes b/build-compare.changes index 83f134e..7908e83 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 23 07:31:09 UTC 2016 - olaf@aepfle.de + +- Ignore checksums in ruby checksums.yaml (bnc#916047) + ------------------------------------------------------------------- Tue Mar 8 18:00:40 UTC 2016 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index 8b61203..ac25057 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -16,12 +16,14 @@ # +%define version_unconverted 20160323T083206.9c58265 + Name: build-compare Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20160308T194108.4a952dd +Version: 20160323T083206.9c58265 Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index f100be0..8d1215f 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -695,6 +695,17 @@ check_single_file() sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "old/$file" sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "new/$file" ;; + /usr/lib*/ruby/gems/*/cache/checksums.yaml) + for f in "old/$file" "new/$file" + do + sed -i ' + s/^\( metadata.gz:\) \([a-z0-9]\{40\}\)$/\1 metadata_sha1_sum/ + s/^\( data.tar.gz:\) \([a-z0-9]\{40\}\)$/\1 data.tar_sha1_sum/ + s/^\( metadata.gz:\) \([a-z0-9]\{128\}\)$/\1 metadata_sha512_sum/ + s/^\( data.tar.gz:\) \([a-z0-9]\{128\}\)$/\1 data.tar_sha512_sum/ + ' "$f" + done + ;; esac ftype=`/usr/bin/file old/$file | sed 's@^[^:]\+:[[:blank:]]*@@'`