From 82d3060d19ca2aa3dd36db314b3b73369df39f2dc018ed93c4b19b64710ae657 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 23 Mar 2016 11:33:15 +0000 Subject: [PATCH] Revert "Ignore checksums in ruby checksums.yaml" OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=208 --- build-compare.changes | 5 ----- build-compare.spec | 4 ++-- pkg-diff.sh | 11 ----------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index 7908e83..83f134e 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -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 ac25057..8e16b82 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -16,14 +16,14 @@ # -%define version_unconverted 20160323T083206.9c58265 +%define version_unconverted 20160323T093838.30201bd Name: build-compare Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20160323T083206.9c58265 +Version: 20160323T093838.30201bd Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 8d1215f..f100be0 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -695,17 +695,6 @@ 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:]]*@@'`