- Ignore checksums in ruby checksums.yaml (bnc#916047)
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=207
This commit is contained in:
parent
9f7118010d
commit
1604b82501
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
11
pkg-diff.sh
11
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:]]*@@'`
|
||||
|
Loading…
Reference in New Issue
Block a user