diff --git a/build-compare.changes b/build-compare.changes index 79001a0..04eed85 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 5 05:05:05 UTC 2020 - olaf@aepfle.de + +- handle oddly named ZIP archives + ------------------------------------------------------------------- Tue Mar 31 09:09:09 UTC 2020 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index 7127249..df29df6 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: 20200331T115051.28bf642 +Version: 20200505T085902.593c795 Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 789e888..ea6de42 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -1047,6 +1047,11 @@ check_single_file() return 1 fi ;; + Zip\ archive\ data,*) + if ! compare_archive "${file}" 'archive_zip' ; then + return 1 + fi + ;; POSIX\ tar\ archive) mv old/$file{,.tar} mv new/$file{,.tar}