- 2015.02.04

- Handle ruby gem files, they are tar archives (bnc#916047)
- Remove Creator: and CreationDate: tags from .ps files (bnc#915952)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=165
This commit is contained in:
Olaf Hering 2015-02-04 16:13:15 +00:00 committed by Git OBS Bridge
parent f2c6521bf3
commit 72c12e67f0
3 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 4 15:53:05 UTC 2015 - olaf@aepfle.de
- 2015.02.04
- Handle ruby gem files, they are tar archives (bnc#916047)
- Remove Creator: and CreationDate: tags from .ps files (bnc#915952)
-------------------------------------------------------------------
Tue Feb 3 11:34:39 UTC 2015 - olaf@aepfle.de

View File

@ -20,7 +20,8 @@ Name: build-compare
Summary: Build Result Compare Script
License: GPL-2.0+
Group: Development/Tools/Building
Version: 2015.02.03
Url: https://github.com/openSUSE/build-compare
Version: 2015.02.04
Release: 0
Source1: COPYING
Source2: same-build-result.sh

View File

@ -547,6 +547,14 @@ check_single_file()
echo "$file and $oldfn are same"
return 0
;;
*.ps)
for f in "old/$file" "new/$file"; do
sed -i -e '
/^%%CreationDate:[[:blank:]]/d
/^%%Creator:[[:blank:]]groff[[:blank:]]version[[:blank:]]/d
' "$f"
done
;;
*pdf)
# PDF files contain a unique ID, remove it
# Format of the ID is:
@ -648,6 +656,13 @@ check_single_file()
return 1
fi
;;
POSIX\ tar\ archive)
mv old/$file{,.tar}
mv new/$file{,.tar}
if ! check_single_file ${file}.tar; then
return 1
fi
;;
cpio\ archive)
mv old/$file{,.cpio}
mv new/$file{,.cpio}