forked from pool/build-compare
- 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:
parent
f2c6521bf3
commit
72c12e67f0
@ -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
|
Tue Feb 3 11:34:39 UTC 2015 - olaf@aepfle.de
|
||||||
|
|
||||||
|
@ -20,7 +20,8 @@ Name: build-compare
|
|||||||
Summary: Build Result Compare Script
|
Summary: Build Result Compare Script
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Version: 2015.02.03
|
Url: https://github.com/openSUSE/build-compare
|
||||||
|
Version: 2015.02.04
|
||||||
Release: 0
|
Release: 0
|
||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
Source2: same-build-result.sh
|
Source2: same-build-result.sh
|
||||||
|
15
rpm-check.sh
15
rpm-check.sh
@ -547,6 +547,14 @@ check_single_file()
|
|||||||
echo "$file and $oldfn are same"
|
echo "$file and $oldfn are same"
|
||||||
return 0
|
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)
|
||||||
# PDF files contain a unique ID, remove it
|
# PDF files contain a unique ID, remove it
|
||||||
# Format of the ID is:
|
# Format of the ID is:
|
||||||
@ -648,6 +656,13 @@ check_single_file()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
POSIX\ tar\ archive)
|
||||||
|
mv old/$file{,.tar}
|
||||||
|
mv new/$file{,.tar}
|
||||||
|
if ! check_single_file ${file}.tar; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
cpio\ archive)
|
cpio\ archive)
|
||||||
mv old/$file{,.cpio}
|
mv old/$file{,.cpio}
|
||||||
mv new/$file{,.cpio}
|
mv new/$file{,.cpio}
|
||||||
|
Loading…
Reference in New Issue
Block a user