diff --git a/build-compare.changes b/build-compare.changes index 862275f..93673e1 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 9 06:48:22 UTC 2016 - olaf@aepfle.de + +- Ignore /etc/ld.so.cache + ------------------------------------------------------------------- Tue Nov 8 08:06:30 UTC 2016 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index 5ecdaab..3f057ea 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20161108T125335.60cbc96 +Version: 20161109T074834.ab7f1f0 Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index b217372..34827c5 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -735,10 +735,14 @@ check_single_file() sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "old/$file" sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "new/$file" ;; + */ld.so.cache) + # packaged by libguestfs + return 0 + ;; */etc/hosts) # packaged by libguestfs - sed -i '/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "old/$file" - sed -i '/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "new/$file" + sed -i 's/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "old/$file" + sed -i 's/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "new/$file" ;; esac